Question
Aflac
US
Last activity: 5 Jul 2023 4:38 EDT
Dirty Check modal Save and Discard buttons don't work as expected when Optional flow action launched
Hello All! We have few optional actions configured for a stage in the case life cycle. When we are in the stage and we have some unsaved changes on the UI (basically dirty flag is set), if we launch any optional flow action, dirty check modal is getting launched to either Discard or Save the changes.
"Clicking on Discard is discarding the changes and lunching the optional flow action as expected." -- EDIT - clicking Discard is closing the modal and launching the flow action as expected but unsaved changes are getting posted to server.
Clicking on Save button is saving the case and closing the window. User has to pick the case again from work list and perform the same steps. When "Close after Save" check box is unchecked, the case is saved and rendered in Review mode instead of launching the flow action. Has any one seen this issue before and found a solution ? Or is this a limitation with the platform ? Disabling dirty check on client side is not an option for us as we still need to show the prompt to the users to save unsaved changes when moving out from the case.
Below are the steps for the Save use case.
Hello All! We have few optional actions configured for a stage in the case life cycle. When we are in the stage and we have some unsaved changes on the UI (basically dirty flag is set), if we launch any optional flow action, dirty check modal is getting launched to either Discard or Save the changes.
"Clicking on Discard is discarding the changes and lunching the optional flow action as expected." -- EDIT - clicking Discard is closing the modal and launching the flow action as expected but unsaved changes are getting posted to server.
Clicking on Save button is saving the case and closing the window. User has to pick the case again from work list and perform the same steps. When "Close after Save" check box is unchecked, the case is saved and rendered in Review mode instead of launching the flow action. Has any one seen this issue before and found a solution ? Or is this a limitation with the platform ? Disabling dirty check on client side is not an option for us as we still need to show the prompt to the users to save unsaved changes when moving out from the case.
Below are the steps for the Save use case.
- Open any assignment which has optional flow actions configured on the stage/case level
- Make the UI dirty by adding/deleting data on the screen
- Pick any optional action from Actions menu
- Dirty popup will be shown either to Discard or Save the changes.
- Click Save to Save button.
Desired Result: Case should be saved with changes made on UI and the optional flow action should be launched Actual Result: With checking or unchecking the save configuration "Close after save", flow action is not launched after Save.
Below are the steps for the Discard use case.
- Open any assignment which has optional flow actions configured on the stage/case level
- Make the UI dirty by adding/deleting data on the screen
- Pick any optional action from Actions menu
- Dirty popup will be shown either to Discard or Save the changes.
- Click Discard button to discard unsaved changes.
Desired Result: Unsaved changes should be discarded and the optional flow action should be launched Actual Result: Flow action is launched properly but unsaved changed are not discarded.
***Edited by Moderator Marije to add Support Case Details***
***Edited by Moderator Marije to add BUG tags***