Close popover
Mohammad Bashir Sidani (MohammadBashir)

MohammadBashir Member since 2016 28 posts
Posted: December 17, 2019
Last activity: January 7, 2020

Trigger Action After Successful Commit

We Have a business requirement to only send email after a case is committed successfully. If for whatever reason the commit fails, we should not send an email.

We have many developments on the case that send emails, some are in flows, some in flow actions, some in activities, etc.

By Default:

1- You can add stages in Pre and Post Stages in flow action. However Sending a notification in the post activity can never guarantee the commit after the post action will pass thus posting notification in the post activity is not an option

2- In flows, we can put send email shape, however the commit happens at the end shape so we can never guarantee that the commit will fail to not send an email.

What we tried to do is the following: Make a trigger with 'committed save' where in the trigger activity we send the notifications.

However to the contrary of the name 'trigger'. Turns out a trigger on committed save will run before the commit. Thus also there is no way to guarantee the commit will pass before sending the email.

Do you know a way to run an activity AFTER a successful commit?

***Moderator Edit-Vidyaranjan: Updated Platform Capability***

***Edited by Moderator Marissa to update SR Details***

Case Management Support Case Exists
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.