Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

SCTASK creation upon closure of another SCTASK

Zubair Alam
Tera Contributor

Please help me with this scenario: Thanks.
1) We submit a Request.

2) RITM and SCTASK get generated. 

3) Fulfillment team works on this SCTASK and closes it.

Question: Can another SCTASK be generated to a different fulfillment group upon closure of this first SCTASK under the same RITM? 

All help is greatly appreciated. 

3 REPLIES 3

Sohail Khilji
Kilo Patron

Hi @Zubair Alam ,

 

Yes you can create a following task after the completion of first task you can do this in work flow...

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

@Zubair Alam 

You can also achieve this by flow:

cat_task1.jpg

 

Just remember to select Wait = true on "Create Catalog Task" action - this will pause flow until task is closed (active = false)

cat_task2.jpg

rvranjan_99
Tera Contributor

Hi @Zubair Alam,

I am assuming that you are using flow designer or workflow to create first SCTASK. You can generate another SCTASK after completion of first SCTASK using same.