Depends on one field, other field (lookup select box ) refering a grp , should show the options

VinushaN0004809
Giga Contributor

for a catalog item, Sap system is reference field and approval by is lookup selectbox (referring a grp)
if sap system is A,B,C, then approval by should be particularly 3 grp members need to show as option in approval by field and D,E,F as Sap system then other 3 persons need to show in approval by field ...like this there are 10 set ...how can i implement this

7 REPLIES 7

Mark Manders
Giga Patron

What table are you referencing with 'Sap system' variable? Is it a CMDB table? Then use the 'approval group' field on the record to reference in the (work)flow for approval (create separate approval groups for each unique combination of users).


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

i don't want to do it on workflow...i want to show the grp members on employee center 

Ankur Bawiskar
Tera Patron

@VinushaN0004809 

you can use advance reference qualifier on that Lookup select box variable and use script include for this

Ensure you add this in variable attributes so that you can grab the 1st variable value

ref_qual_elements=variable1Name;

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@VinushaN0004809 

Hope you are doing good.

Did my reply answer your question?

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader