Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#789325
I have created a grid where drop down web control is attached. I want to select any of this option in plan status (suppose draft or propose) to assign next user. Draft means this process again assign itself.
How can i solve this?
Attachments
dynaform.PNG
dynaform.PNG (30.18 KiB) Viewed 3218 times
Capture sa.PNG
Capture sa.PNG (7.01 KiB) Viewed 3218 times
Capture Plan.PNG
Capture Plan.PNG (5.65 KiB) Viewed 3218 times
#789343
In your evaluation rule you need to add the following two conditions for each case respectively:
Code: Select all
//for routing to the same task
@=grid[1]['planStatus'] == 0

//for routing to the parallel gateway
@=grid[1]['planStatus'] == 1
Replace 'grid' and 'planStatus' with id of your grid and the field inside it.

But this will only work for the values in the first row of grid since you are using single evaluation Routing Rule.

Hope this helps.

Best Regards,
Zainab
#789362
If you want a safer condition to avoid any potential errors, use this for your condition to route back to the first task:
Code: Select all
(!isset(@=mygrid) or count(@=mygrid) == 0 or @=mygrid[1]['planStatus'] == '0')
where mygrid is the variable associated with your grid.

In the rapidly evolving world of online sports be[…]

STEPN integrates social networking and games that […]

Cenforce 150 is a medication used to cope with a c[…]

What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]