Package com.mendix.workflows
Interface WorkflowActivity
public interface WorkflowActivity
Represents a workflow activity.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the caption of the workflow activity.Returns the sub workflow when the workflow activity is a Call Workflow activity and has a sub workflow, otherwise an empty Optional.getType()
Returns the workflow activity type.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
-
getCaption
String getCaption()Returns the caption of the workflow activity. -
getType
WorkflowActivityType getType()Returns the workflow activity type.- Returns:
- the state
WorkflowActivityType
-
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
Returns the sub workflow when the workflow activity is a Call Workflow activity and has a sub workflow, otherwise an empty Optional.
-