Support for dirty marking in containers (Dirty Marking API)
Smarttasks can track a user's changes and inform the WorkZone Client form container about it, if the container supports the Dirty Marking API.
To set up the container to support the Dirty Marking API, you need to:
- Set the supportDirtyFlag property to true,
supportDirtyFlag = true
. - Apply the changeDirtyState(isDirty) method. The method will be called with
isDirty = true
, when the smarttask recives some changes. If the changes were deleted or changed back, the same method will be called with the flagisDirty = false
.
WorkZone Process smarttasks support track changes in the following controls:
- Document and Actors multi-selectors
- Comment field
- Answers selectors
- Forward\Reject To\Conditional selectors