The CompositeActivityUsingJSONInputDemo process demonstrates how to work with the Composite activity palette using input in JSON format in an
ActiveMatrix BusinessWorks™ process.
The process is designed with the following activities:
The following table explains the activities in the process:
Activity
Description
Composite Dependent
A parent object (Account) and its child object (Contact) are created by providing an existing JSON string in the
jsonBody field.
ParseResponseJSON
The ParseResponseJSON activity demonstrates that the output of a Composite activity can be used as an input to another activity.
Composite Batch
The account ID from the parsed JSON file generated by the ParseResponseJSON activity is provided as an input to the Composite Batch activity. The subrequests of this activity are used to perform the following tasks:
Provide JSON input in a subrequest body
Delete the Account object that was created earlier by the Composite Dependent activity