Create a dialogbox in a workflow

He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
w12315007
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Wed Nov 21, 2018 2:26 pm

Create a dialogbox in a workflow

Post by w12315007 » Wed Aug 07, 2019 9:39 am

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
But, the system reply the error: callbackRunProcessDefinition. we didn't know why the dialogbox can't be initialized and showed in this workflow.

jllort
Moderator
Moderator
Posts: 10830
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Create a dialogbox in a workflow

Post by jllort » Fri Aug 09, 2019 7:30 am

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.

w12315007
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Wed Nov 21, 2018 2:26 pm

Re: Create a dialogbox in a workflow

Post by w12315007 » Tue Aug 13, 2019 10:36 am

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.

jllort
Moderator
Moderator
Posts: 10830
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Create a dialogbox in a workflow

Post by jllort » Thu Aug 15, 2019 10:23 am

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.

Post Reply