New group creation using Flow designer

Ramakrishna Kom
Tera Contributor

How to set the condition in flow designer, if the user wants to create new group through service catalog and if the flow finds any existing group with the exact name match in sys_user_group table then the RITM state should changes to closed incomplete.

1 ACCEPTED SOLUTION

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Just a quick PoC:

GoranWitchDoc_0-1669239204751.png

first I get the name variable, then I do a lookup records to see if it already exist. 

If the count is bigger then 0 (meaning we found one) then I update the RITM with closed incomplete. otherwise create the group record

View solution in original post

1 REPLY 1

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Just a quick PoC:

GoranWitchDoc_0-1669239204751.png

first I get the name variable, then I do a lookup records to see if it already exist. 

If the count is bigger then 0 (meaning we found one) then I update the RITM with closed incomplete. otherwise create the group record