Post Process
Post Process is available only at the Destination. With the help of Post Process, you can create a Template by either using a Process Flow or Transaction. Following are the steps for using a Post Process:
Creating by Using a Process Flow
Prerequisites
For using a Process Flow in a Template, ensure that you have:
- Created a Process Flow in using File Source activity and set the value of the eventContextEnabled property to true in the Process Designer.
- Written the JavaScript in a
- Process Flow (required for using a Process Flow in a Template) and
- Custom plugin (required if the Process Flow is further calling a Transaction).
- Published Process Flow in Adeptia Connect.
- Ensure that you have created a Transactions using Pre Process as a source.
To create a Template:
- Select Post Process app while defining the Destination application.
- Select Process Flow from the Select Post Process Type.
- Select the process flow from the Select Process Flow. Only published process flow will be populated in the drop-down list.
- Click Add Parameters to add parameters. Define the keys and their values. The specified values will be put in the context of the child flow.
Creating by Using a Transaction
To create a Template by using a Transaction:
- Create a Template using Pre Process application as a Source application.
- After creating a Template, create a Transaction using this Template.
- Now, create a Template using Post Process application as a Destination application.
- Select Post Process app while defining the Destination application.
- Select Transaction from the Select Post Process Type.
- Select the Pre Process Transaction from the Select Transaction. Only Pre Process Transactions will appear in the drop-down list.
- Click Add Parameters to add parameters. Define the keys and their values. The specified values will be put in the context of the child flow.
- Select Post Process app while defining the Destination application.
Click here for detailed instructions on creating a Template using Post Process application.