Support Article
Data is wiped when switching to Cancel option
SA-32186
Summary
On launching a service case, and performing a local action, if there is a specific error on screen, and at that moment, if the user tries to switch flow action, for example CACancel, then the work object is reloaded and all the data set using a DT, that was present on clipboard is wiped out.
Error Messages
Not applicable
Steps to Reproduce
1. Log into environment.
2. Click New > Demo Pop. And then click Accept.
3. Click AddTask button and select AddressChange.
4. Type anything in Address Line2 to trigger validation error.
5. From Other action now select 'Cancel this work'.
Root Cause
An issue in the custom application code or rules
Whenever there is error on screen and if user is set any data on clipboard using a DT, which called from flowaction, example Address Change configured as part of Pre-processing ) is called.
Then that data set is lost when we launch other flowaction, example CACancel.
This is happening because of When condition in "Step 1" of ProcessAction activity is becoming true and the work object is reloaded again.
Resolution
Perform the following local-change:
Save (obj-save) the data set using data transform by calling a activity in pre-processing section of FlowAction.
This way user data will not be lost when user launches alternate flowaction when there is error on screen.
Published January 16, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.