How to put a Condition to check if assigned to is empty or not if empty then param 1 in Default SLA Flow should be assignment group members?

HARI KISHAN GVS
Mega Sage

Hi Team,

Can anyone please show me how to put a if condition to check assigned to field on the task is empty or not before create a event in Default SLA FLow?

need if condition at highlighted Section to check assigned to is empty or not. if empty parm1 set to Assignment group members.

find_real_file.png

the Operators by defalut does not have is empty. 

find_real_file.png

Please let me know how to acheive this?

Thanks in advance,

Hari Kishan.

1 ACCEPTED SOLUTION

Subrahmanyam2
Giga Guru

Hi Hari,

 

I believe you can leave "Assigned To" is "" while designing, there is not need for is empty.

Create a flow variable with name as "recipients".

And then you may use "Look up records" action from "Servicenow Core" spoke and to identify all group member records.

Go through each of the group member records from prior step using "for each" logic construct and then populate recipients flow variable.

After this you can create event record and populate param1 with the recipients flow variable.

find_real_file.png

find_real_file.png

find_real_file.png

The else block where you need to deal with Assigned to is not empty should be straight forward I guess.

 

Please check if this helps!

 

Thanks and regards,

Subrahmanyam Satti

View solution in original post

3 REPLIES 3

Subrahmanyam2
Giga Guru

Hi Hari,

 

I believe you can leave "Assigned To" is "" while designing, there is not need for is empty.

Create a flow variable with name as "recipients".

And then you may use "Look up records" action from "Servicenow Core" spoke and to identify all group member records.

Go through each of the group member records from prior step using "for each" logic construct and then populate recipients flow variable.

After this you can create event record and populate param1 with the recipients flow variable.

find_real_file.png

find_real_file.png

find_real_file.png

The else block where you need to deal with Assigned to is not empty should be straight forward I guess.

 

Please check if this helps!

 

Thanks and regards,

Subrahmanyam Satti

Hi Subrahmanyam,

Thanks for the help.

in above need one small correction which is in Set flow variables we can use comma(,).

NO need to use +","+. 

it's working only when used only ,

Regards,

Hari Kishan.

Thank you for getting back with the correction!