Set business object properties

Use this step to set properties for the business object within the process.

Last published at: August 29th, 2023

setBOProperties Step

Description:

This step sets the properties for the business object within the process.

 

Inputs

  • boName – name of the business object
  • boProps –  business object properties
 

 

Returns

  • True – step executed successfully
  • False – step failed to execute 
 

 

Usage:

 

 

We need business objects in FlowWright Business objects configuration to use this step.

 

We must define the configured Business object in the Process Definition. On the process designer page, select the Actions—Manage Business Objects—Add menu option.

 

Example:

Let’s build and execute the “setBoPropertiesDef” example.          

  • Create a new definition called “setBoPropertiesDef” 
  • Select the definition and click the “design” button
  • Drag a “setBOProperties” step from the toolbox
  • Connect the dots between the start and “setBOProperties” step
  • Click the “setBOProperties” step to configure its “Settings” properties. Provide a name to the step. Provide the name of the business object configured in the process definition. Click on the button to set the values to the business object. 

 

  • Click on the button to set the values to the business object. Click on the (+) Add row. Provide the property name and the value. 

 

  • 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 the properties - Business Objects. The step should set the BO properties for the business object.

 

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.

Click here to download the sample file.