The CreatorCon Call for Content is officially open! Get started here.

Question on Flow Designer

ServiceNow Use6
Tera Guru

Hi,

My requirement is, in an incident table, when i select assignment_group as Cab Approval, it should autopopulate in the assigned_to field automatically.

 

1.jpg

 

2.jpg

 

Regards

Suman P.

2 ACCEPTED SOLUTIONS

@ServiceNow Use6 

Then do this

1) Use Lookup Record on sys_user_grmember with Group = CAB Approval group

AnkurBawiskar_0-1760079260347.png

 

2) then use "Update Record" flow action to update the INCIDENT

a) Use Set Field Values and set Assigned To - Output from earlier step

AnkurBawiskar_1-1760079375799.png

 

 

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

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

View solution in original post

@ServiceNow Use6 

If there are multiple users it will give any 1 when you use "Lookup Record"

You can try to add more specific filter condition or Sort etc to fetch 

AnkurBawiskar_0-1760083106498.png

 

Lookup Records will give you multiple Records

You can check DOCS for both the flow actions what they do

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

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

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@ServiceNow Use6 

sorry question is not clear.

Flow will trigger when Group Changes to CAB Approval

what should happen next?

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

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

Hi @Ankur Bawiskar,

 

It should autopopulate one of the group embers to the assigned_to field.

 

Regards

Suman P.

@ServiceNow Use6 

Then do this

1) Use Lookup Record on sys_user_grmember with Group = CAB Approval group

AnkurBawiskar_0-1760079260347.png

 

2) then use "Update Record" flow action to update the INCIDENT

a) Use Set Field Values and set Assigned To - Output from earlier step

AnkurBawiskar_1-1760079375799.png

 

 

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

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

Hi @Ankur Bawiskar,

 

what if there are multiple users, so it will give us multiple records and we are looking for a single record. Can you please give the logic there.

 

Regarda

Suman P.