Joget Team,

I am trying to simplify my approval forms and hence the final forms. I am having multiple approval levels and currently having issues in getting the results at the end because i am using different approval forms for each level (ex. Level 1 and level 2).

Form Flow:

Case 1: Submit Request - Level 1 approval ("Submit Request" form added as subform)  - Level 2 approval (Level 1 form added as subform)- admin - close request (if request type =a)

Case 2: Submit Request - Level 1 approval ("Submit Request" form added as subform) - admin - close request (if request type=b)

I cannot use case 1 admin form for case 2 as it hold additional level approval which is not required for case 2. But i want to use one form for all the processes so that my final form will have all details based on the selection to display it in the userview for all users and may be for audit purposes. how to achieve this?

For this, I am currently trying to use the "Form section visibility feature". I am successful if I use the visibility options in the same form but not on different forms based on subform field values. 

Example: 

Form1: I am having a field called access_type and it has multiple values based on the select box. In the same form, if i select "value1" section1 is displayed - perfect :)

Form2: I want to use the same variable or field value access_type to display the second level approval section if the request_type is only a.

Please help....

  • No labels

1 Comment

  1. I know this is a very old question but this seems to be the question returned when googling the problem. 

    Here was my solution:

    1. Set the subform field to store in a workflow variable.
    2. Create a hidden field on the main form, and link it to the workflow variable.
    3. Control the section's visibility from the hidden field's ID.

    I hope this helps someone.