Interface WorkflowActivity


public interface WorkflowActivity
Represents a workflow activity.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Returns the caption of the workflow activity.
    Optional<? extends Workflow>
    Returns the sub workflow when the workflow activity is a Call Workflow activity and has a sub workflow, otherwise an empty Optional.
    Returns the workflow activity type.
    Optional<? extends UserTask>
    Returns the user task when the workflow activity is a User task activity, and it has an active user task, otherwise an empty Optional.
  • Method Details Link icon

    • getCaption Link icon

      String getCaption()
      Returns the caption of the workflow activity.
    • getType Link icon

      Returns the workflow activity type.
      Returns:
      the state WorkflowActivityType
    • getUserTask Link icon

      Optional<? extends UserTask> getUserTask()
      Returns the user task when the workflow activity is a User task activity, and it has an active user task, otherwise an empty Optional.
    • getSubWorkflow Link icon

      Optional<? extends Workflow> getSubWorkflow()
      Returns the sub workflow when the workflow activity is a Call Workflow activity and has a sub workflow, otherwise an empty Optional.