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.

Flow designer

VivianaS
Tera Contributor

Im started learning ServiceNow Recently. I need to create a rule in the flow that will create a task after the approval to different vendors(we have 4 different vendeors). I don’t what to create multiple if’s.

 

 

3 REPLIES 3

Kieran Anson
Kilo Patron

Do you need to create 4 tasks per each request, or is it conditional depending on information from the request?

 

You'll likely go down the route of a decision table 

It is conditional on the request . 
Example 

Vendor 1 —>assigned to a specific group—>then create a task 
I have 4 different vendors  and I only to create one task per vendor.

A decision table would be the best option, with the input being the vendor, assuming it's a lookup variable on core_company, and then the output being the task to create OR a subflow to create the task