Else if in flow designer

preethigovi
Tera Contributor

Hi Team,

If assignment group is empty in incident i have flow that calls another subflow.

But i wanted to implement logic where if short description has SAP assign to separate group using existing flow designer.

 

Also is there any way to script in the condition of if statement in flow designer

preethigovi_0-1748527404068.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@preethigovi 

you can use a flow variable of type true/false

Then use "Set Flow Variable" flow logic and use script to set it with true/false

Then use this Flow Variable value in IF logic

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@preethigovi 

you can use a flow variable of type true/false

Then use "Set Flow Variable" flow logic and use script to set it with true/false

Then use this Flow Variable value in IF logic

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@preethigovi 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar  Should i write this logic before else if or after checking assignment group empty

preethigovi_0-1748586433526.png