- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 08:35 AM
Can anyone provide information on how I would create a catalog task only when a variable is selected? Currently, there are two tasks that are generated all the time, but only one needs to provision if the other variable is not checked at the catalog request. I think there needs to be a business rule, but not sure how to create it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 08:39 AM
You need to add 'if' activity in your workflow where you can check the variable is checked or not and proceed with task creation accordingly.
Hope so this will helps you.
thank you
Rajesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 09:08 AM
In your catalog you will see the workflow which is attached to catalog item:
You need to open that workflow and in that you need to add 'if' activity. ie.
You need to drag 'if' activity and drop where you want in your workflow. Also you need to add condition in that where you need to check variable is checked or not.
This 'if' activity will show you 'Yes' and 'No' options in workflow, you can redirect the flow according to your conditions.
I hope this will resolve your issue.
Thanks
Rajesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 08:39 AM
You need to add 'if' activity in your workflow where you can check the variable is checked or not and proceed with task creation accordingly.
Hope so this will helps you.
thank you
Rajesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 08:48 AM
Hi Rajesh,
Are you saying to change the if activity in the task condition or write the condition in a business rule?
Michelle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 09:08 AM
In your catalog you will see the workflow which is attached to catalog item:
You need to open that workflow and in that you need to add 'if' activity. ie.
You need to drag 'if' activity and drop where you want in your workflow. Also you need to add condition in that where you need to check variable is checked or not.
This 'if' activity will show you 'Yes' and 'No' options in workflow, you can redirect the flow according to your conditions.
I hope this will resolve your issue.
Thanks
Rajesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 09:29 AM
Rajesh,
This worked perfectly. Thank you.
Michelle