Class WorkflowDTO.WatcherStepDTO

Enclosing class:
WorkflowDTO

public static class WorkflowDTO.WatcherStepDTO extends WorkflowDTO.StepDTO<WorkflowDTO.WatcherStepDTO>
A watcher step of the workflow: its recipients are notified by email when the step becomes active, but they cannot approve or deny. Returned by WorkflowDTO.addWatcherStep(String).

The recipients are users, user groups or email addresses; the last of these set wins.

Example:


 workflow.addWatcherStep("Review")
   .withUserGroupWatchers("Managers")
   .withReasons("Status update")
 
See Also: