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

How to open multiple catalog tasks based on selection of multiple checkbox

JRY
Mega Guru

Hello Team,

I'm trying to open multiple tasks based on multiple selection of checkbox.

Example : I have Request Type : A, B, C this are all check box not drop down, here when i select A then it should create only one Catalog Task if I Select A & B then it should create two catalog task and if I select A, B & C then it should create three catalog task I have tried If condition it didn't work.

I have tried Branch Activity before If Activity it's creating Tasks but when I close all the tasks it's not ending the Workflow. as you can see below 

find_real_file.png

 

Can anyone help me where i went wrong.

 

Thanks,

JRY

1 ACCEPTED SOLUTION

As I previously said, attach the Incomplete to next activity [ Set Values ].

The world works with ServiceNow

View solution in original post

19 REPLIES 19

Vinayak Belgaon
Mega Guru

I believe you wont need to use branch activity as you are checking for conditions, try to add the if condition directly, you can refer the screenshot below.



find_real_file.png

 

Regards

Vinayak

Hi Vinayak,

I have tested but it seems same issue where I was stuck previously as you can see after the close of both the tickets it's not closing the workflow and RITM

 

find_real_file.png

 

Thanks,

JRY

Hello,

 

​The output of ​​Join activity [ Complete and Incomplete ]  attach to​​ Set Values activity. It will complete/end the workflow.

Also your if activity should have two outputs, one for "Yes" and another for "No". If Checkbox is true ie."Yes​"​​, then it will create a catalog task otherwise it will go to "No" transition​ and skip the task creation for that check box​.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Hi Sagar,

I have tried but it's was still stuck same place after closing b0oth the task it's not closing the RITM as you can see below image.

 

find_real_file.png