Setting checkbox conditions in workflow

gnunez
Kilo Guru

Hi all,

We have a form for users to request a name change either first name, last name, and/or middle name. On the form the requester has the option to select more than one option, but in the workflow different tasks should trigger based on their selection combo.

For example:

Option 1: First name and/or last name = 1 task

Option 2: First name and/or last name, and middle name = 2 tasks

Option 3: Middle name = 1 task

I tried playing around with IF and switch conditions but no luck. 

If anyone can provide info it will be greatly appreciated!

Thank you!

Grace

1 ACCEPTED SOLUTION

Ok so I built this out how it made sense to me in my own Dev environment and this is what I came up with. Use a Branch statement instead of an If statement. See Screenshot

find_real_file.png

In the Branch here is what I made the condition statements:

find_real_file.png

and

find_real_file.png

 

This worked for me depending on the combination of the 3 name change variables either 2 tasks would go out, or just 1 task would go out.

Hope this helps!

 

-Joel R.

 

View solution in original post

8 REPLIES 8

So they way I got around that is by only having 2 conditions, this will simplify things a lot. One for first and/or last name and the other was for middle name. So when all three check boxes are true then it will initiate two tasks in parallel. See Screenshot of request will all 3 set to true.

find_real_file.png

Workflow:

find_real_file.png

 

You shouldn't need the option of Middle name AND first OR last because you can simply have option 1 and option 2 go off at the same time.

 

Please mark responses as Helpful or Correct Answer, it helps a lot!

Thanks!

-Joel R.

Good idea, thank you! I will just do that because you're right it doesn't make sense to have the third option listed.

Glad I could be of service, good luck! 🙂

Prateek kumar
Mega Sage

Take a look at this:

https://community.servicenow.com/community?id=community_blog&sys_id=d1fde22ddbd0dbc01dcaf3231f961912


Please mark my response as correct and helpful if it helped solved your question.
-Thanks