UserDialog Use Example
Get user confirmation before deletion
Here we have some freight cost based on order total. Before a record is deleted we want to get the user to confirm that they want to delete the record to make sure the button was not clicked accidentally. The delete button process is set up as below:
With the UserDialog service set up:
When the delete button is clicked the following dialog will pop up:
The message is displayed up top and the bottoms on the bottom. If Yes is click the service will output Continue if No Cancel. The binary decision will then check the output and either continue or stop the process.