Hi All,Currently we are having a workflow which consists of a task which will be worked by a user. When any updates to the workflow occur from external system, we cannot show the updates to the user in the UI when user has the UI already open since the data cannot be refreshed. We are thinking of either cancelling and creating a new workflow with the latest updates or completing the task using smart service and recreating the task within the same workflow. Any insights on which will be better approach will be useful.
Discussion posts and replies are publicly visible
As I mentioned you can do this check during submit or button action also. Refresh variables can cause performance so try comparing data in a button saveinto and if mismatch is found then show a banner message to re load the form! You can setup variables to show information cards to users when mismatch is found using showwhen.
Generally amongst many options one easy solution is that users are informed that the data is outdated so they can refresh the form or cancel the current form and re open the task!
There is no OOTB information push to the UI in Appian.
Sarathkumar R said:might cause performance issues
... well, it might, or might not. This is something to investigate.
In general, updates pushed into the system from elsewhere are a problem. Making any kind of automated or manual decision based on data that can change at any given time is problematic. But whether this is a problem or not, is a business decision, not a technical one.