- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 06:34 AM
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.
the Operators by defalut does not have is empty.
Please let me know how to acheive this?
Thanks in advance,
Hari Kishan.
Solved! Go to Solution.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 11:52 AM
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 11:52 AM
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 01:10 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 07:02 AM
Thank you for getting back with the correction!