Joget DX Preview Release Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

 
1
0
-1

Hi,

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.

Thanks!

    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      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.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        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.

        Thanks!

        1. Anders

          Hi, did you watch the designing a process tutorial? The Workflow Variables are defined in the process properties as per https://youtu.be/btsE3Zp7wGM?t=25

        2. Anders

          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.

        3. Jogger

          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.

        CommentAdd your comment...
      2.  
        1
        0
        -1

        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.

          CommentAdd your comment...