A WorkflowToken object represents a specific instance of a workflow in the running, waiting, waiting-signal, canceled, completed or failed state.
You obtain a WorkflowToken object by starting a workflow or by obtaining an existing workflow token by its ID, as the following method signatures show.
public WorkflowToken executeWorkflow(String workflowId, String username, String password, WorkflowTokenAttribute[] attributes); public WorkflowToken getWorkflowTokenForId(String workflowTokenId, String username, String password);
The following table shows the properties of the WorkflowToken object.