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.

Two task trigger Based on checkbox selection

poco
Tera Contributor

Hi All 
i have two variables type as check boxes 
A  and B 

if supposed user select both option same time and submit the request it need to be trigger C & D two different tasks need to be trigger 
if user select A option only C task need to be trigger 

if user select B option only D task need to be trigger 

 

1 ACCEPTED SOLUTION

ShrutiK26
Tera Expert

Hi @poco ,

Please try the below approach, you will have to create 2 if condition blocks, for the first condition if the checkbox A is checked then you can create the catalog task, if the result is no , then you can move to the next if condition for checkbox B , so the workflow will look as below

Shruti__K1_4-1731751460078.png

 

 

The condition which you can use for the checkbox A is mentioned below. If true, create the catalog task

Shruti__K1_1-1731751003493.png

Similarly, you can give the condition for the checkbox B if it is checked

Shruti__K1_3-1731751280255.png

 

 

 

View solution in original post

3 REPLIES 3

ShrutiK26
Tera Expert

Hi @poco ,

From the above scenario it seems to be catalog item request. Are you using flow designer ? Also the tasks which you have mentioned as C and D are those parallel tasks or sequential tasks. 

Can you please provide the above details

poco
Tera Contributor

Hi Shruti
 using workflow 
 C&D sequential tasks. 
Actually Before that variable is drop down based if conditions trigger tasks now drop down changed to checkbox  

 

 

ShrutiK26
Tera Expert

Hi @poco ,

Please try the below approach, you will have to create 2 if condition blocks, for the first condition if the checkbox A is checked then you can create the catalog task, if the result is no , then you can move to the next if condition for checkbox B , so the workflow will look as below

Shruti__K1_4-1731751460078.png

 

 

The condition which you can use for the checkbox A is mentioned below. If true, create the catalog task

Shruti__K1_1-1731751003493.png

Similarly, you can give the condition for the checkbox B if it is checked

Shruti__K1_3-1731751280255.png