Is there any way in Appian to capture the previous state?I have a form with a couple of dop downs where the user selects different assignees for different tasksI want to able to send an email only to the changed users. Is there any way to compare old user values with new ones to see if changes happen?
Discussion posts and replies are publicly visible
The difference function allows you to compare two lists. Store the old selection to a local and compare it to the new on submit.
I cannot pass local variables to the process model. If i use the difference function the process model is gonna read them as null.
Do you want to explain your current implementation in more detail? I am sure we can find a way to get this working.
Hi elvisb958752 ,Its basically a field level audit, but we need to store them in a local variables first and compare them, when clicked on Submit, just store the difference of the data from local variables into rule input and pass them into PM, that will be the best approach, stefan's answer states the same!
ur answer is the same as Stefan, u need to understand that once u save them locally there is no difference anymore, ur comparing the same value, values never get updated locally, they get updated once u write them to database. I was able to find a solution, but thank u for ur answer.
I was able to come up with a solution. Thank you for your response anyway!