Approval for requests submitted using Cart

SNLearnAll
Tera Contributor

Developers, when multiple requests of a particular catalog item are submitted using cart, how do you ensure only one approval request goes out to the manager of the requested for user at the request level instead of individual approvals for each RITM?

 

Added twist: What if the requests are for different individual, how do you ensure only one manager approval request goes out to the manager of each of the requested for users at the request level instead of individual approvals for each RITM?

 

PS: I want the use of order guide to be my last resort.

1 REPLY 1

Community Alums
Not applicable

Hi @SNLearnAll ,

Create a Flow Designer flow on the Request table that runs when the request is submitted.

In that flow:

  1. Loop through all RITMs inside the request.

  2. Group RITMs by "Requested For" user (you can use a Script step or data pill filtering).

  3. For each unique "Requested For" user:

    • Get their manager (from the user record).

    • Send one approval to that manager.

    • Store the result somewhere (maybe in a custom approval tracking table or update all related RITMs with a reference).