newWorkflowEditData
This method starts a workflow and edits its data. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web\wwwroot\ws\java\workflow\NewWorkflowEditDataRequestType.java |
Return | web\wwwroot\ws\java\workflow\NewWorkflowEditDataResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
ProcessID | X | Process ID # |
WorkflowTitle | X | Workflow title |
UserID | User ID | |
Customer ID | Customer ID # | |
Contact | Customer contact name | |
EntityID | Form table ID # | |
EntityAttributeID | Form table attribute ID # | |
EntityAttributeValue | Form table attribute value. Notes according to the attribute type: - Number: numeric digits without thousand and decimal separators - Decimal: numeric digits without thousand separator and with dot (.) as decimal separator - Date: YYYY-MM-DD - Time: HH:MM - Boolean: 0 or 1 | |
RelationshipID | Relationship ID # | |
RelationshipAttributeID | Attribute ID # of the related form table | |
RelationshipAttributeValue | Attribute value of related form table. Notes according to the attribute type: - Number: numeric digits without thousand and decimal separators - Decimal: numeric digits without thousand separator and with dot (.) as decimal separator - Date: YYYY-MM-DD - Time: HH:MM - Boolean: 0 or 1 | |
FileName | File name (with extension) | |
FileContent | Binary content of the file | |
AttributeID | Attribute ID # | |
AttributeValue | Attribute value. Notes according to the attribute type: - Numeric: numeric digits without thousand or decimal separators - Currency: numeric digits without thousand separator and with dot (.) as decimal separator - Date: YYYY-MM-DD - Time: HHHH:MM - Boolean: 0 or 1 |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:workflow">
<soapenv:Header/>
<soapenv:Body>
<urn:newWorkflowEditData>
<!--You may enter the following 6 items in any order-->
<urn:ProcessID>?</urn:ProcessID>
<urn:WorkflowTitle>?</urn:WorkflowTitle>
<!--Optional:-->
<urn:UserID>?</urn:UserID>
<!--Optional:-->
<urn:Requester>
<urn:User>
<urn:UserID>?</urn:UserID>
</urn:User>
<urn:Customer>
<!--You may enter the following 2 items in any order-->
<urn:CustomerID>?</urn:CustomerID>
<urn:Contact>?</urn:Contact>
</urn:Customer>
</urn:Requester>
<!--Optional:-->
<urn:EntityList>
<!--Zero or more repetitions:-->
<urn:Entity>
<urn:EntityID>?</urn:EntityID>
<!--Optional:-->
<urn:EntityAttributeList>
<!--Zero or more repetitions:-->
<urn:EntityAttribute>
<!--You may enter the following 2 items in any order-->
<urn:EntityAttributeID>?</urn:EntityAttributeID>
<urn:EntityAttributeValue>?</urn:EntityAttributeValue>
</urn:EntityAttribute>
</urn:EntityAttributeList>
<!--Optional:-->
<urn:RelationshipList>
<!--Zero or more repetitions:-->
<urn:Relationship>
<urn:RelationshipID>?</urn:RelationshipID>
<!--1 or more repetitions:-->
<urn:RelationshipAttributeList>
<!--Zero or more repetitions:-->
<urn:RelationshipAttribute>
<!--You may enter the following 2 items in any order-->
<urn:RelationshipAttributeID>?</urn:RelationshipAttributeID>
<urn:RelationshipAttributeValue>?</urn:RelationshipAttributeValue>
</urn:RelationshipAttribute>
</urn:RelationshipAttributeList>
</urn:Relationship>
</urn:RelationshipList>
<!--Optional:-->
<urn:EntityAttributeFileList>
<!--Zero or more repetitions:-->
<urn:EntityAttributeFile>
<!--You may enter the following 3 items in any order-->
<urn:EntityAttributeID>?</urn:EntityAttributeID>
<urn:FileName>?</urn:FileName>
<urn:FileContent>cid:1366126742479</urn:FileContent>
</urn:EntityAttributeFile>
</urn:EntityAttributeFileList>
</urn:Entity>
</urn:EntityList>
<!--Optional:-->
<urn:AttributeList>
<!--1 or more repetitions:-->
<urn:Attribute>
<urn:AttributeID>?</urn:AttributeID>
<!--Zero or more repetitions:-->
<urn:AttributeValueList>
<urn:AttributeValue>?</urn:AttributeValue>
</urn:AttributeValueList>
</urn:Attribute>
</urn:AttributeList>
</urn:newWorkflowEditData>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
Status | Method execution status. Its value may be: SUCCESS: Method executed successfully FAILURE: An error occurred during the method execution |
Code | Method return code |
Detail | Method return detail |
RecordKey | Code of the record added by the method |
RecordID | ID # of the record added by the method |