Question

9
Replies
725
Views
AndreyKo Member since 2014 19 posts
Sberbank
Posted: January 11, 2016
Last activity: March 4, 2016
Closed
Solved

Cancel button

Requirement is to implement Cancel button, which introduces following behaviour:

1) If there are some unsaved changes, confirmation dialogue should be shown

2) If there is some incorrect input user shouldnt be presented with validation messages as he or she cancels input data

3) All unsaved data should be discarded

4) After canceling local\flow action user should be presented with current work item

Scenario 1

1) Run local action

2) Make some changes by editing fields

3) Cancel action by invoking Review action assigned to Cancel button

4) Review harness opened

5) No warning message about unsaved changes

Scenario 2

1) Run local action

2) Make some changes by editing fields

3) Cancel action by invoking Cancel action assigned to Cancel button

4) Confirmation dialogue about unsaved changes is shown

5) Click button with Cancel action assigned

6) Work item is closed

In scenario 1 there is no confirmation message which leads to possible loss of data.

In scenario 2 work item is closed and validation checks may be performed which is unacceptable to end user.

How to implement required behaviour without javascript customization?

Case Management User Interface
Moderation Team has archived post
Share this page LinkedIn