Catalog Task creation in Subflow in Flow designer

Naren7
Tera Contributor

Hi All,

i want to create above 60 actions in flow designer , as per the OOB actions limit in flow designer is 50 only.

i  stucked at creation of subflow to create  50 catalog taks in the subflow.

How to create the  tasks in subflow ??

can any one help me out

 

Thank you

 

 

 

 

 

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

So what's the challenge in calling subflow?

you are not able to call it?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

i dont know about subflow.

 

can we create a catalog taks in subflow , if yes  which i need to take as input and out variables

Yes, You can create a Subflow. Please find the steps below to achieve your requirement:

1) For example Input of Subflow will be Requested item record.

2) You do not need a output if the requirement is just to create Catalog Task.

Refer the steps mentioned below:

Click on New and then create a Subflow as show below:

find_real_file.png

Now next step is to define Name of the Subflow say Name it as "Create Task for RITM". Make sure to select to run it as System User as shown below:

find_real_file.png

Now next step is to create or define the input of your Sub Flow as shown below:

find_real_file.png

 

So it will look like below after defining the Requested Item input as below:

 Click on Done once created:

find_real_file.png

Now you can build your flow ,because when you call this Subflow in your Flow it is accepting Requested Item record as a input so you will get the reference of entire RITM record and you can play around with what ever validation you want to build.

Say now I am just creating a Catalog task for this RITM in a Subflow:

1) Select action as "Create Catalog task" and make sure to select Requested Item record as teh input defined in First step as shown below:

Apart from this you can select your catalog item name and variable to be shown on the Catalog task form as shown below:

find_real_file.png

Save and Publish this Subflow first.

 

Now you can call this Sub Flow in your flow as below:

Click on SubFlow and select the flow created above as shown below:

find_real_file.pngSelect RITM record as the input here to make your subflow work properly:

find_real_file.pngResult:

find_real_file.png

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

 

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Please let me know if you are stuck here. For reference sharing some materials below which will help you understand and learn better on this:

https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/flow-designer/concept/subflows.html

https://www.youtube.com/watch?v=S51sa3fWhh4

https://www.youtube.com/watch?v=axuGOnIfiu4

https://developer.servicenow.com/blog.do?p=/post/flow-vs-subflow/

 

Videos are good to learn more in a quicker way.

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke