- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 08:00 PM
I have an independent table A that contains a 'state' field with some choices, such as 'submitted', 'approved' and 'rejected'. I created a relationship of this table with the Approval table ("sysapproval_approver"). I defined a Flow that when a record in table A is updated to 'submitted' state then it asks the user for approval. An approval record shows up in the UI as related item of the form of table A.
I can approve the related Approval record and the correct state gets updated in table A, but if I reject the Approval record the state would be set to 'not requested', which I found out is the default value for column 'state' in '"sysapproval_approver". I can't understand why approve works flawlessly but reject gives me trouble, any helps?
Approve:
Reject:
Solved! Go to Solution.
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:05 PM
Okay. You just need to update your "Ask for Approval" action here.
For example you need to include both Approve and Reject condition in your Action as shown below:
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:05 PM
Okay. You just need to update your "Ask for Approval" action here.
For example you need to include both Approve and Reject condition in your Action as shown below:
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:06 PM
@john Doe . So just click on "Add another OR condition" as shown in Red above and add a Reject condition and it should be all good.
Do let me know if you are facing an issue here.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:14 PM
Anil is saying the same thing which I have posted before on how you should proceed on this requirement.
Hope this helps. Let us know if you need further help on this.
Regards,
Shloke
Regards,
Shloke