What is the use of Error event in Email Template : IVK_SendEmail

0
Hi team,   We are using the previous Email Template module currently it is chnaged to Email connector.   In the previous Email Template module can you please confirm what is the use of Error event in IVK_SendEmail. As the Error event will roll back everything but in the the IVK_SendEmail we are commiting the logs and Email status before the error event. Can you please confirm if the below architecture of the IVK_SendEmail is correct or not.      
asked
2 answers
0

Because of the error end event, the microflow will not be completed and therefore the transaction is not successful.  Only after a successful transaction the changes would be committed. This means in this case, everything is rolled back. If this is the required behavior, your microflow is correct.

 

For detailed information about the different options in error handling you can refer to this section in the documentation and there is a nice Learning Path (advanced level)

answered
0

Hi RamaKrishnaDatt Vuppala,

As per my idea, the microflow is correct. The error event is used to define the success factor of the microflow. If the logic fails and we are using the error event to end the error handler flow, the object will automatically rollback and will get the content of your administrator error in the UI. And the transsection of the microflow will also be ended.

answered