I have a process Model where the value of a process variable is being updated internally like status : Success, Error, and so on . I just want to show an error message in an interface to the user if the value is different from Success.
Discussion posts and replies are publicly visible
Do you have a few more details? What is this interface? What does "updated internally" mean? What errors are we talking about?
Actually i am uploading some excel file to upload and validating that excel through PM , RPA is also included. So after validating , status is being updated by RPA internaly.
A simple option could be to assign a user input task to a user in case something goes wrong. Another option is to use a process report to display data about these processes on a reporting dashboard.
Really depends on your use case.
everything is working as expected . The user want to display the error message based on status if status is not SUCESS
OK. Do you consider one of the options I suggested?
Hi , Can you please tell me how to handle exception while "Import Excel to Database" in Process Model.
What do you mean. I think this is managed by the process alert settings.
I just want to show an error message to the user if this smart service throws error
There is nothing like "show alert message" from a process.
A technical error in Appian is not managed by the user. When the process stops, there is nothing you can do to notify the user.
that is if smart service throws an error, in that case I can not display any error message in the interface to the user . did you mean to say that ?
Whilst this is true "out of the box", you can design to meet this requirement. You could set a parallel thread of processing that assumes there will be an error and kill this off when the relevant step you want to monitor succeeds. So: up front, set a pv!value to hold a defaulted "Failed" indicator (which has to be generic as you cannot interrogate the internals of a failed node) and, if successful, overwrite this value (with blank or with a generic "Succeeded" indicator).
I agree to Stewart, but keep in mind that this will not become a "popup" and the only way to do that in process is using a timer event. In my experience the user experience is not great.
What method are you using to start the process model?
user input task
Can you post a screenshot?
© 2022 Appian. All rights reserved.