Ask for approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I have doubt to creat "Ask for Approval " action. Actually, I have created an catalog item and now I am creating flow design to automate approval. So, my requirement is, approvals need to trigger to the owner of the Application based upon the application selected by the user. The application variable type is List collector. For eg. If user selected 3 applications, approvers need to trigger for those 3 owner of an selected application. Kindly guide me step by step to create this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hi @Kanimitha S ,
Since your Application variable is a List Collector, you'll need to loop through each selected application.
A simple approach is:
-
Trigger the flow when the Catalog Item is submitted.
-
Use a For Each action to iterate through the selected applications.
-
For each application, retrieve its Owner.
-
Use the Ask for Approval action and set the approver to that Owner.
-
The loop will create a separate approval for each application's owner.
If you found my solution helpful, please mark it as Helpful and Accept Solution. This helps others in the community find the answer more easily.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Tejas Adhalrao,
I need parallel aprrovals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @Kanimitha S ,
as per your use case similar below : list collector → parallel approval per owner,
they solved it by creating a subflow and removing the wait option, which caused approvals to fire simultaneously.
How to ask for approval in parallel using Flow designer from a list collector
Check if it works out for you..
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Kanimitha S
Try this:
i: Catalog Item Configuration
- Open Service Catalog > Catalog Definitions > Maintain Items and create or edit your Catalog Item.
- In the Variables related list, click New.
- Configure the variable:
- Type: List Collector
- Question: Select Applications
- Name: select_applications
- Type Specifications (Tab): Set the List table to point to your application table (e.g., cmdb_ci_business_app or u_applications).
ii: Create the Flow in Flow Designer
Navigate to Process Automation > Flow Designer and click New Flow.
- Define the Trigger
- Trigger: Service Catalog
- Fetch Catalog Variables
- Add an Action: ServiceNow Core > Get Catalog Variables.
- Submitted Record: Drag and drop the Requested Item Record data pill from the Trigger.
- Catalog Item: Select your Catalog Item name.
- Selected Variables: Move Select Applications from the Available to the Selected list.
- Parse the List Collector (No Script Method)
- Add an Action: ServiceNow Core > Look Up Records.
- Table: Select your Application table (e.g., cmdb_ci_business_app).
- Conditions: Sys ID is one of > Drag the Select Applications data pill from Step 2.
- Add the Loop Logic
- Click Flow Logic > For Each.
- Items: Drag and drop the Application Records list from Step 3.
- Generate the Dynamic Approval (Inside the Loop)
- Click the + icon inside the For Each loop block.
- Add an Action: ServiceNow Core > Ask For Approval.
- Record: Drag and drop the Requested Item Record data pill from your trigger.
- Approval Rules: Choose Approve when: Anyone approves.
- Approver: Click the data pill picker, navigate to Step 4 (For Each) -> Application Record, expand it, and select Owner (or managed_by)
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti