Skip to main content
Version: 2.2.2

newWorkflowEditData

This method starts a workflow and edits its data. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb\wwwroot\ws\java\workflow\NewWorkflowEditDataRequestType.java
Returnweb\wwwroot\ws\java\workflow\NewWorkflowEditDataResponseType.java

Request:

ID #RequiredDescription
ProcessIDXProcess ID #
WorkflowTitleXWorkflow title
UserIDUser ID
Customer IDCustomer ID #
ContactCustomer contact name
EntityIDForm table ID #
EntityAttributeIDForm table attribute ID #
EntityAttributeValueForm 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
RelationshipIDRelationship ID #
RelationshipAttributeIDAttribute ID # of the related form table
RelationshipAttributeValueAttribute 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
FileNameFile name (with extension)
FileContentBinary content of the file
AttributeIDAttribute ID #
AttributeValueAttribute 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
StatusMethod execution status. Its value may be:
SUCCESS: Method executed successfully
FAILURE: An error occurred during the method execution
CodeMethod return code
DetailMethod return detail
RecordKeyCode of the record added by the method
RecordIDID # of the record added by the method