Workflow Catalog Tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2024 11:29 PM
Use case:- Create 4 catalog tasks whenever a new record is entered in sc_req_item table. The Task 2 will only be created if state of Task 1 is set to Closed Complete and so on for other tasks. But Task 4 must be created with Short Description 'Checkbox is selected' if a checkbox on Task3 is checked. Else Create Task 4 with short description 'Checkbox is unchecked'.
What is the best and most efficient method to do it? I have used workflow but I'm confused with 'if workflow activity script'. Can anybody help me with the script to be used in 'if' workflow activity.
- Labels:
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 06:05 AM
Hi @ShivangiC,
I'd recommend using Flow Designer as it's easier to call out an 'If' Statement and associate a Catalog Item Variable (or any other RITM Field) to call out when and if additional Tasks should generate.
In Flow Designer:
- Get Catalog Variables Flow Step - Pull Variables from the Catalog Item.
- If Flow Action - This is where you can set the trigger for the If Statement/Condition
- Create Catalog Task Flow Step - This is where you can set each Task that should generate.
Thanks,
Josh