Uncle Rob
Kilo Patron

A quick tutorial on creating sequential tasks OR creating flow that occurs only after a task is completed.

 

Comments
Rick_Dove
Tera Explorer

Thanks! This was very helpful as I am new to Service Now and have to quickly replicate functionality from a customer's current Change Mgmt application.

 

Is the flow manager able to pull in and order the Tasks dynamically by calling the requested Standard Change Template instead of having to build a workflow to replicate each template?

 

For example:

Change manager creates 100 Change Templates with Tasks... let's call them "ChgTemplate1" (thru ChgTemplate100)
Let's say each template creates the number of tasks in it's name: "ChgTemplate1" creates 1 Task, "ChgTemplate2" creates 2 Tasks, etc thru "ChgTemplate100" creating 100.

 

Would it be possible to build one flow design (let's call it TaskHandler) that would call the selected template and based on that set the sequential order of the Tasks dynamically?

 

Example, a standard change template is selected by the end user.
The change is created and the tasks are created.
The TaskHandler flow is able to work with the number of tasks created (specific to the template selected) and enforce that they be worked in sequential order.

So if ChgTemplate10 is selected by the end user, 10 tasks will be created and The TaskHandler flow will enforce that they be worked sequentially.
If ChgTemplate7 is selected, 7 tasks will be created and the same TaskHandler flow will enforce that they be worked sequentially.

I think I can achieve this with scripting but is it possible with Flow Designer?  Thanks for any insights/guidance.

Version history
Last update:
‎12-26-2022 05:05 AM
Updated by:
Contributors