Page 1 of 1

Create a dialogbox in a workflow

PostPosted:Wed Aug 07, 2019 9:39 am
by w12315007
Hi, We are going to create a file workflow. we need to popup a dialogbox after a task node. We want to develop this diaogbox like the AboutPopup. So we tested this idea like this in the trasition action after a task node.
1565170099(1).png
1565170099(1).png (17.69 KiB) Viewed 10202 times
But, the system reply the error: callbackRunProcessDefinition. we didn't know why the dialogbox can't be initialized and showed in this workflow.

Re: Create a dialogbox in a workflow

PostPosted:Fri Aug 09, 2019 7:30 am
by jllort
Consider UI works from OpenKM not from the workflow engine point of view. Each task is mapped with a group of form elements, and there's no relation between transaction and form elements. I think you should consider adding in the middle another task to shown form elements.

Re: Create a dialogbox in a workflow

PostPosted:Tue Aug 13, 2019 10:36 am
by w12315007
Thank you for your suggestion. To be extend your idea can meet our requirement,but we neet a dialog box in some respect. we will continue to research some way to realize it.

Re: Create a dialogbox in a workflow

PostPosted:Thu Aug 15, 2019 10:23 am
by jllort
Another aproach might be in the UI create new object in form elements for it. But I do not suggest going in this direction, I think might be very very complex and there's a high % of possible failure.

Another suggestion is using the WF API ( rest web services ) and from there build your own user interface, that probably will be a better solution for you.

Finally if you have a workflow problem, you can choose another WF engine ( outside OpenKM ), use it in the front and OpenKM in this scenario will be an slave ( only for storing an retrieving documents ). I'm talking about a webservices integration.