i would like to ask if there is a way in case Write to Datastore entity fails for some reason to save the error message to PV and display it in interface.
My next question related to this is if we can move the process to different path (end node or other path) in case Write to Datastore entity node fails?
Discussion posts and replies are publicly visible
For the first point, I don't think there is a way to achieve it unless you use this smart service directly on the interface level. There, you will have access to onError parameter that will help you save the output.
Yes, save the error message to a persistent volume (PV) while displaying it in the interface. You can save the error in PV and show it in UI
how to do it please?
You cannot do it. The WTDSE smart service is not capable of it.
1.It is not possible to store the Write to DSE error message from a process model in a pv!
2. For this you can create a subprocess for Write to DSE and call it async in main process or you can follow below design to terminate the process in case the node fails and set the timer delay according to your threshold time.
As other posters said, this is not possible, but if you use the Write Records node you can have the node continue when there is an error and save the results to a process variable: docs.appian.com/.../Write_Records_Smart_Service.html
© 2024 Appian. All rights reserved.