GetWorkflowInstance
Accepts IDs for a workflow instance and a WorkflowInstanceData object containing the information relating to this workflow instance, and returns data related to the instance.
Inputs | Data Type | Description |
---|---|---|
instanceId | GUID |
Accepts the ID for a given WorkflowInstance. |
Outputs | Description | |
---|---|---|
WorkflowInstanceData |
Returns data containing information on the status, start time (in descending order), and other related information on the instance. If the instance no longer exists in the database, it returns a null value. |
Data Contracts
The WorkflowInstanceData object returns WorkflowInstance information, and contains the following properties.
[DataContract]
public class WorkflowInstanceData
{
[DataMember]
public WorkflowInstanceState State;
[DataMember]
public DateTime StartTime;
[DataMember]
public Guid Id;
[DataMember]
public string ScheduleAddress;
}