...
Creating a Post Process Template Using a Process Flow
Prerequisites
Ensure that:
...
For using a Process Flow in a Template, ensure that you have:
- Created a Process Flow in the Developer's Studio .Published process flow must be using File Source activity with eventContext property true.
...
- 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 in the custom plugin (required if the Process Flow is further calling a Process Flow or Transaction
...
- ).
- Published Process Flow in Adeptia Connect.
To create a Template:
- Go to Configure > Templates > Create Template. The following are the high-level steps that you need to select while creating a Template. For detailed instructions, click /wiki/spaces/AC2/pages/655640.
- Select either File or App from the Template Type drop-down list.
- Select Inbound in the Select direction drop-down list.
- Select the application from the list while defining the Source application.
- Define the source data format for a Template.
- Select the event to be triggered.
- Select the source layout and format of a Template.
- Select Post Process app while defining the Target application.
- Select Process Flow from the Select Process Type drop-down list.
- Select the process flow from the Select Process Flow drop-down list. 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.
- Define the target data format and layout.
- Define the mapping between the fields.
- Click Save and Exit to save the Template.
...