Neolane - JavaScript API - v6.1.0

Unknown
WorkflowTask

Status of a workflow task.

A ⌐ WorkflowTask is a class that cannot be instanciated and for which there is only one single instance accessible in the workflow activities called task .

Methods
setCompleted Flags the task as finished.
postEvent Activates a transition.
setNextProcessingDate Forces the next date of processing by the task.
doneTransition Returns the "done" transition of the activity.
errorTransition Returns the "error" transition of the activity.
transitionByType Returns the transition corresponding to the given type.
transitionByName Returns the transitions corresponding to the given name.
transitions Returns the list of transitions of the activity.
wait Awaits a signal.
Features
Available in:
  • Workflow

Table of contents

previous page start next page