The CreatorCon Call for Content is officially open! Get started here.

How to select multiple check boxes and create multiple task through workflow

Ankit Raj
Tera Contributor

background

when these checkboxes (variable set) A,B and C are selected there should be relevant sc task been created, as per selection some might route to approvals and vice versa.

so I prepared a simple wf using multiple  if statements and worked accordingly.

 

Revised requirements

user should be able to select one or more check-boxes and corresponding 1-3 task should be created depending upon which checkbox is selected

, can some guide the step or it can only be done via script , if yes where to add those.

 

AnkitRaj_2-1714118560973.png

 

AnkitRaj_0-1714118525882.png

2 REPLIES 2

Brad Bowman
Kilo Patron
Kilo Patron

It looks like you can just add a path from the Yes condition of each If activity to the next If activity, leaving everything else as is to allow for following the path of multiple selections.

Sujatha V M
Kilo Patron
Kilo Patron

@Ankit Raj Kindly go ahead with the recommendation from @Brad Bowman  or you can still have the below link for reference and modify it accordingly, 

 

https://www.servicenow.com/community/developer-blog/mini-lab-workflows-playing-with-the-if-activity/...

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.