GetTaskDetailsUsingStub
Retrieves the details of the task associated with the specified task token.
Syntax
public WorkflowTaskDetail GetTaskDetailsUsingStub( string taskToken )
Parameters
- taskToken
- Type: System.String
Optional. The task token for the task.
Returns
Type: WorkflowTaskDetail
The details of the workflow task associated with the task token.
Remarks
Task tokens can be obtained by using the GetTaskStubsForCurrentUser method. The value of the TaskToken property of the TaskStub object represents the task token for that workflow task.
Example
The following example demonstrates how to use this operation to get the details of a workflow task by using a task token.
Request
The following SOAP request attempts to get the details of the workflow task represented by the specified task token.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:nin="http://nintex.com"> <soap:Header/> <soap:Body> <nin:GetTaskDetailsUsingStub> <nin:taskToken>[#BBBDFF#]</nin:taskToken> </nin:GetTaskDetailsUsingStub> </soap:Body> </soap:Envelope>
Response
The following SOAP response returns the details of the workflow task.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetTaskDetailsUsingStubResponse xmlns="http://nintex.com"> <GetTaskDetailsUsingStubResult> <ItemProperties> <Field> <Name>Title</Name> <DisplayName>Last Name</DisplayName> <Value>Aggregate Record</Value> </Field> <Field> <Name>FirstName</Name> <DisplayName>First Name</DisplayName> <Value/> </Field> <Field> <Name>FullName</Name> <DisplayName>Full Name</DisplayName> <Value/> </Field> <Field> <Name>Email</Name> <DisplayName>Email Address</DisplayName> <Value/> </Field> <Field> <Name>Company</Name> <DisplayName>Company</DisplayName> <Value/> </Field> <Field> <Name>JobTitle</Name> <DisplayName>Job Title</DisplayName> <Value/> </Field> <Field> <Name>WorkPhone</Name> <DisplayName>Business Phone</DisplayName> <Value/> </Field> <Field> <Name>HomePhone</Name> <DisplayName>Home Phone</DisplayName> <Value/> </Field> <Field> <Name>CellPhone</Name> <DisplayName>Mobile Number</DisplayName> <Value/> </Field> <Field> <Name>WorkFax</Name> <DisplayName>Fax Number</DisplayName> <Value/> </Field> <Field> <Name>WorkAddress</Name> <DisplayName>Address</DisplayName> <Value/> </Field> <Field> <Name>WorkCity</Name> <DisplayName>City</DisplayName> <Value/> </Field> <Field> <Name>WorkState</Name> <DisplayName>State/Province</DisplayName> <Value/> </Field> <Field> <Name>WorkZip</Name> <DisplayName>ZIP/Postal Code</DisplayName> <Value/> </Field> <Field> <Name>WorkCountry</Name> <DisplayName>Country/Region</DisplayName> <Value/> </Field> <Field> <Name>WebPage</Name> <DisplayName>Web Page</DisplayName> <Value/> </Field> <Field> <Name>Comments</Name> <DisplayName>Notes</DisplayName> <Value>0</Value> </Field> <Field> <Name>TestFlex</Name> <DisplayName>TestFlexiTaskWorkflow</DisplayName> <Value>In Progress</Value> </Field> <Field> <Name>ID</Name> <DisplayName>ID</DisplayName> <Value>3</Value> </Field> <Field> <Name>ContentType</Name> <DisplayName>Content Type</DisplayName> <Value>Contact</Value> </Field> <Field> <Name>Modified</Name> <DisplayName>Modified</DisplayName> <Value>1/6/2015 3:41 PM</Value> </Field> <Field> <Name>Created</Name> <DisplayName>Created</DisplayName> <Value>1/6/2015 3:41 PM</Value> </Field> <Field> <Name>Author</Name> <DisplayName>Created By</DisplayName> <Value>TestUser</Value> </Field> <Field> <Name>Editor</Name> <DisplayName>Modified By</DisplayName> <Value>TestUser</Value> </Field> <Field> <Name>_UIVersionString</Name> <DisplayName>Version</DisplayName> <Value>1.0</Value> </Field> <Field> <Name>Attachments</Name> <DisplayName>Attachments</DisplayName> <Value>False</Value> </Field> <Field> <Name>Edit</Name> <DisplayName>Edit</DisplayName> <Value/> </Field> <Field> <Name>LinkTitleNoMenu</Name> <DisplayName>Last Name</DisplayName> <Value>Aggregate Record</Value> </Field> <Field> <Name>LinkTitle</Name> <DisplayName>Last Name</DisplayName> <Value>Aggregate Record</Value> </Field> <Field> <Name>DocIcon</Name> <DisplayName>Type</DisplayName> <Value/> </Field> <Field> <Name>ItemChildCount</Name> <DisplayName>Item Child Count</DisplayName> <Value>0</Value> </Field> <Field> <Name>FolderChildCount</Name> <DisplayName>Folder Child Count</DisplayName> <Value>0</Value> </Field> <Field> <Name>AppAuthor</Name> <DisplayName>App Created By</DisplayName> <Value/> </Field> <Field> <Name>AppEditor</Name> <DisplayName>App Modified By</DisplayName> <Value/> </Field> </ItemProperties> </GetTaskDetailsUsingStubResult> </GetTaskDetailsUsingStubResponse> </soap:Body> </soap:Envelope>
See Also
Concepts
Operations
Processing workflow task responses