Join us on May 14-15, 2019 at Forrester Digital Transformation & Innovation 2019 in Chicago, USA.
I'm new to Joget Workflow and I'm in the process of trying out the Cloud version to come up with a very simple prototype that would generate a workflow of approvers based on the value of a radio button field on the form.
Either in the "Run Process" view or through the actual submission of the form, I'm not able to see the workflow being assigned to the first approver. The process is in the Submit activity and does not progress to the route or the next activity.
My form has a radio button called - Type of Request with 2 values; ProfileChange and LocationChange.
For the scenario of the workflow generated in the attached screen shot below, the option "ProfileChange" was selected and I was expecting the process to be on the HR Admin Approver activity. But, that does not happen.
Any help would be appreciated.
On the tab "Map Activities to Forms", the "Run Process" activity was tied to the form. After I removed the Mapping, the transition happened to the appropriate approval path out of the 2.
Hi, it looks like the transition condition is not met, so the process did not proceed to the desired activity. Did you map the value of your approval form field correctly to your workflow variable? You will need to make sure the exact workflow variable name used in the process matches the one mapped in your form element.
Also, what happens when the condition is not met? You should have Otherwise transitions from your route to handle this flow.
You might want to watch and follow some of the video tutorials at https://www.youtube.com/user/jogetworkflow to get started, especially on designing a process in this case.
Thanks @Anders for looking in the issue and for your suggestion. I had looked at the Youtube videos and the Knowledge Base articles. Some things I could not find out from these videos and articles are:
1) status form variable - is it an implicit / out-of-the-box variable? If not, where to define it? Based on the tutorials, I have understood that it is an implied variable.
2) What are the possible values of the status form variable and where to define? How does the status value of a form changes when it is submitted?
Anyway, to answer your question if the form variable and workflow variables for the transition are same, I think they are same based on the screen shots attached below. So, I'm still clueless as to how to make the transition go to one of the approvers. Right now, the Submit Request activity only is highlighted in yellow, meaning active.
Another easy way to learn is to use the App Generator to generate an approval process as reference, or from any of the apps available in the Joget Marketplace.
My bad. On the tab "Map Activities to Forms", the "Run Process" activity was tied to the form. After I removed the Mapping, the transition happened to the appropriate approval path out of the 2.