Description:
This step generates an event with parameters to the event service bus (ESB).
Inputs
- event – select event
- eventParms – select parameters to pass to the event
Returns
- True – step executed successfully
- False – step failed to execute
Usage:
To use this step, configure events in FlowWright event definitions. Navigate to Integrate - Event Service Bus (ESB) page - select ESB menu - Event Definitions page.
Example:
Let’s build and execute the “generateEventDef” example.
- Create a new definition called “generateEventDef”
- Select the definition and click the “design” button
- Drag a “generateEvent” step from the toolbox
- Connect the dots between the start and “generateEvent” step
- Click the “generateEvent” step to configure its “Settings” properties. Provide a name to the step. Select the event from the drop-down list. Click on the button to configure the event parameters.
- Click on the button to configure the event parameters. Click on the (+) sign to add a row. Provide the event parameter and value. Click on SAVE to confirm the changes.
- The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.
- Save the process definition, create a new process instance, and execute. Render the process instance. Click on the process step to view its properties. The step should generate an event with parameters for the event service bus (ESB).
- Navigate to the Integrate - Event Service Bus (ESB) page, select the ESB menu, and view the Events menu. The page renders the events generated by the ESB service, as shown in the image below.
- Expand the event category to view more details.
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.