- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 01:52 AM - edited 11-23-2022 11:04 PM
Hello experts,
I am coverting workflow into flow designer .Need help how add mutiple if condition in catalog task in flow designer in service catalog .As per following screenshort.
Could you help me convert following workflow script into flow designer scritpt
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 02:32 AM
You need to use the get catalog variables action. Then you can do it in two ways either you create two flow variables for the assignment group and the short description, and then do if else statement based on the variables and you can then set the flow variables and use them when you create the task.
The other was is quite similiar to what you have done in your current work, but you use the script editor when you assign the short_description and assignment_group on your task when you are creating it. You just write fd_data. and then it will show you all available triggers/records you have looked up, you then pick the variables anddo it the same way as before.
Best regards,
Sebastian Laursen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 01:58 AM
Hi @Rajveer,
Better to go with Switch instead of using IF for multiple conditions.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 02:05 AM
Hi @Rajveer
In the flow designer set trigger condition as Service catalog.
In the Action Get the catalog variable and using the flow logic action you may create multiple If and else If condition for the particular catalog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 02:32 AM
You need to use the get catalog variables action. Then you can do it in two ways either you create two flow variables for the assignment group and the short description, and then do if else statement based on the variables and you can then set the flow variables and use them when you create the task.
The other was is quite similiar to what you have done in your current work, but you use the script editor when you assign the short_description and assignment_group on your task when you are creating it. You just write fd_data. and then it will show you all available triggers/records you have looked up, you then pick the variables anddo it the same way as before.
Best regards,
Sebastian Laursen