AllCompositeActivitiesDemo Process

The AllCompositeActivitiesDemo process demonstrates how to work with the Composite activity palette in an ActiveMatrix BusinessWorks™ process.

The process is designed with the following activities:

The following table lists and explains the activities in the process.

Activity Description
Composite Tree This activity demonstrates how to create two objects that have a hierarchical relationship. An Account object is created as a parent and a Contact object is created as a child of the Account object. Note that both the objects are created in one request.
Composite Batch Two independent subrequests are configured in this activity. The two subrequests perform the following tasks:
  1. Update the Account object that was created by the Composite Tree activity.
  2. Use the Salesforce Search Query Builder to search for an object by its name and return the ID, industry, name, and phone.
ParseJSON The output of the SOSL query in the Composite Batch activity is provided as input to the ParseJSON activity. The ParseJSON activity then generates the output in JSON format. This output can be used as an input to the next activity and the fields can be mapped.
Composite Dependent The output of the ParseJSON activity is provided as an input to the Composite Dependent activity. Dependent subrequests are configured in this activity. The subrequests of this activity perform the following tasks:
  1. Create an Opportunity for the Account object that was created by the Composite Tree activity.
  2. Update the Opportunity.
  3. Query the Opportunity by using Salesforce Query Builder.
  4. Delete the Account object returned by the search query in Composite Batch activity. This is the Account object that was created by the Composite Tree activity.
ParseResponseJSON This activity demonstrates that the output of a Composite activity can be used as an input.