Need to Trigger Approvals based on the Selection of Variable on the Catalogue Form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2018 03:23 AM
I have four variables on Catalogue form and each variable have different approval action. If i selected only one varaible, only one Approval task should trigger and if i select only 2 variable,2 approval should trigger. currently all four are triggering every time.
Attached screen shots of Catalogue form and Work Flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2018 03:47 AM
Hi,
remove Four Switch cases, and keep only one switch case on the workflow.
Now in switch case add 4 activities and route it to different approval actions.
This will solve your issue.
thank you.
Hope this is helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2018 04:04 AM
removed four switches.
but when i am using one Switch it is asking for variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2018 05:01 AM
*Disclaimer* I have not used the switch option in the workflow yet, so its possible I am off here.
Why not use "If" statements checking each variable, leading to its own approval and resulting task? Also, with this you should make the form so at least one of the options are required, otherwise the workflow will stall out and not do anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2018 06:20 AM