Skip to main content
ladislavm0002
June 19, 2023
Question

Is it possible to save error from Write to Datastore Entity to PV

  • June 19, 2023
  • 6 replies
  • 0 views

Hello guys,

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?

Thanks

    6 replies

    harshitb6843
    June 19, 2023

    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.

    mallepup3914
    June 19, 2023

    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

    ladislavm0002
    June 19, 2023

    how to do it please?

    June 19, 2023

    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.

    peter.lewis
    Employee
    June 19, 2023

    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