Automatically trigger an approval process when a non-admin user submits a flow designer

SooraC
Tera Contributor

 

Hello team 👋

I'm trying to give a specific group of people permission to create flow designs, but I want to set up an approval process so that admins can approve or deny the creation before it goes live. I’ve looked into creating a business rule, but I'm not sure which table the logic should be applied to.

 

Any insights would be greatly appreciated! Also, I’ve posted this question in the community before, and I’ll link it here for reference: https://www.servicenow.com/community/developer-forum/alternative-options-for-testing-scheduled-jobs/... 

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@SooraC 

you can use flow designer on that catalog item.

Check the user who submitted the Request is admin or non-admin

For this you can perform Lookup on "sys_user_has_role" table and see if user is admin or non-admin

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@SooraC 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi @Ankur Bawiskar - thank you so much for your response! If I'm understanding correctly, are you recommending that I should create a Process that gets triggered once certain conditions are met?

 

I have attached a  screen shot below for the Process

@SooraC 

you should create a flow and have approval within it and then attach this flow to your catalog item after publishing

Within that flow you can check who is the requester admin or non-admin and based on that have your logic.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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