newChildEntityRecordList
This method adds one or more records to the workflow lower level form table. To use it, it is necessary to follow the standard documented below:
danger
- The web service supports on average the insertion of 100 records per request. However, the capacity of records processed per request will vary depending on server configurations. The number of table columns also impacts processing.
- If it is necessary to use numbers higher than the one mentioned in the previous paragraph, we recommend running tests in the test environment before using the resource in the production environment.
Java class | |
---|---|
Request | web\wwwroot\ws\java\workflow\NewChildEntityRecordListRequestType.java |
Return | web\wwwroot\ws\java\workflow\NewChildEntityRecordListResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
WorkflowID | X | Workflow ID # |
MainEntityID | X | Main form table ID # |
ChildRelationshipID | X | Lower level form table relationship 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 period (.) 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 period (.) 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 |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:workflow">
<soapenv:Header/>
<soapenv:Body>
<urn:newChildEntityRecordList>
<!--You may enter the following 4 items in any order-->
<urn:WorkflowID>?</urn:WorkflowID>
<urn:MainEntityID>?</urn:MainEntityID>
<urn:ChildRelationshipID>?</urn:ChildRelationshipID>
<urn:EntityRecordList>
<!--Zero or more repetitions:-->
<urn:EntityRecord>
<!--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:1487749232293</urn:FileContent>
</urn:EntityAttributeFile>
</urn:EntityAttributeFileList>
</urn:EntityRecord>
</urn:EntityRecordList>
</urn:newChildEntityRecordList>
</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 |