Description:
The step links business objects used within the workflow instance to the process instance. The process instance can produce a report of all business objects used within the execution.
Inputs
- itemsToLink – list of items to link
Returns
- None
Usage:
Example:
Let’s build and execute the “linkBusinessDataDef” example.
- Create a new process definition called “linkBusinessDataDef”
- Select the definition and click the “design” button
- Drag a “linkBusinessData” step from the toolbox
- Connect the dots between the Start and the “linkBusinessData” step
- Define a few variables/globals to store the data items during execution
- Click on the “linkBusinessData” step to configure its “Settings” properties. Provide a name to the step. Click on the button to link Items to the instance.
- A popup window is displayed as below. Click the Add Row (+) button to insert an empty row. Provide the Item value and the Item Type. You may repeat this to link multiple items to the instance. Click the Save button to confirm.
- Save the process definition. Then, navigate to the Process—Instance page and generate a new process instance.
- On the Process Instance page, select the above process instance from the table and select Execute - With Params menu option. Provide the variable values and click the Execute button.
- The process instance completes successfully. Select the instance to render and click the Items - Business Data menu option.
- The step should link business objects used within the workflow instance.
Definition Sample:
You may download the sample definition(s) from the link here and later import it (drag-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
NOTE: Please verify and complete the process steps for any missing configurations, such as file path references and database connections after import. Then, save the definition to confirm the changes.