IBM BPM: Canceling a data update with SPARK UI

In a previous article, we looked at creating a dialog using the BPM SPARK UI components. Following on from that, I wondered what it would take to add a “cancel” button? This sounds like a trivial addition … click the button and the dialog is disposed. However, we should remember that within a dialog, the fields are mapped to the underlying variables in our human service … and, as such, those variables are immediately changed when the user enters some data. If they subsequently hit the cancel button, the changed values remain changed … and, of course, it wasn’t much of a cancel and would have effectively behaved in exactly the same manner as a submit or OK button.

Fortunately, the solution is straight forward. To illustrate a technique to achieve our goal, a short video was created. Have a look and I hope you find it useful.

View the full article

Please follow and like us:

Leave a Reply

Your email address will not be published. Required fields are marked *

RSS
Follow by Email
Facebook140
Google+
http://bpmania.com/2017/05/canceling-data-update-spark-ui">
Twitter86