Ask for Approval in Flow Designer has different Approval State Choices than OOTB Approval table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 03:02 PM
Hi All,
I am using Flow designer for approval for My Custom table record in scoped application.
The Ask For Approval action creates a sysapproval_approver record for us.
My Custom Table has only 3 choice options -> Requested, Approved and Rejected which are supposed to be mapped like this:
1. Requested ( sysapproval_approver ) -> Requested (x_custom_table)
2. Approved ( sysapproval_approver ) -> Approved (x_custom_table)
3. Rejected, Cancelled, No Longer Required, Duplicate ( sysapproval_approver ) -> Rejected (x_custom_table)
4. More Information Required ( sysapproval_approver ) -> Notification to the requestor and remain Requested (x_custom_table)
The problem is Flow Designer Approval State choices doesn't contain 'More Information Required' and 'Duplicate', instead contains an additional 'Skipped' choice.
I have attached The State Choices on Approval (sysapproval_approver) and the Approval state choices in Flow Designer’s Ask for Approval
Is this worth the HI ticket or Am I doing something wrong here?
I am pretty new to Flow designer. Appreciate any lead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 09:17 AM
Hi @Vijay Balotia1 , may I ask you why is Ask for Approval implemented this way? If I got it right, the default configuration of this action is to create an approval request using sysapproval_user's choices (default table for approvals), but the output (state) returned references these var__m_sys_hub_action_... tables.
Wouldn't it be better if the state from the output were configured to be from the the choices sent in the approval (in this case the sysapproval_approver's choices)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 08:35 AM
This works great to add the choice in the If statement, however Ask for Approval stalls since it doesn't know what to do with the Revision state/response. How could I update Ask for Approval so it responds to approved, rejected AND revision? I am not sure how to create a new rule or where to start to have an approval action that will look for the 3 states.
Thanks for any insight!