Skip to main content
Version: 2.2.3

newChildEntityRecord

This method adds a record to the workflow lower level form table. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb\wwwroot\ws\java\workflow\NewChildEntityRecordRequestType.java
Returnweb\wwwroot\ws\java\workflow\NewChildEntityRecordResponseType.java

Request:

ID #RequiredDescription
WorkflowIDXWorkflow ID #
MainEntityIDXMain form table ID #
ChildRelationshipIDXLower level form table relationship 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
EntityAttributeIDForm table field ID #
FileNameFile name
FileContentContent encoded with Base64

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:workflow">
<soapenv:Header/>
<soapenv:Body>
<urn:newChildEntityRecord>
<!--You may enter the following 6 items in any order-->
<urn:WorkflowID>?</urn:WorkflowID>
<urn:MainEntityID>?</urn:MainEntityID>
<urn:ChildRelationshipID>?</urn:ChildRelationshipID>
<!--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:RelationshipAttribute>
<!--You may enter the following 2 items in any order-->
<urn:RelationshipAttributeID>?</urn:RelationshipAttributeID>
<urn:RelationshipAttributeValue>?</urn:RelationshipAttributeValue>
</urn:RelationshipAttribute>
</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:796760100335</urn:FileContent>
</urn:EntityAttributeFile>
</urn:EntityAttributeFileList>
</urn:newChildEntityRecord>
</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