Set properties for the business object

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

Last published at: February 13th, 2025

setBOProperties Step

Description:

This step sets the business object's properties 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 to configure business objects in FlowWright Business Objects to use this step.

 

We must define the configured Business object in the Process Definition. On the Process Designer page, select Actions > Manage Business Objects > Add.

 

Example:

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

  • Create a new process definition named “setBoPropertiesDef” and open it in designer mode.
  • Drag a “setBOProperties” step to the canvas. 
  • Connect the dots between the “Start” and “setBOProperties” steps, as shown above. 
  • Click the “setBOProperties” step to configure its “Required” properties. Provide a name for the step and the name of the business object defined in the process definition. Click the button to set the business object’s values, then click Save. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description. 

 

  • Click the button to set the values for the business object. Click the Add Row button to insert an empty row. Enter the property name and value. Click the Save button. You may add multiple params to the business object by using the Add Row button.  

 

  • The “Logging” configuration is necessary for documentation and to measure workflow progress and percent complete. This is done 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 instance, execute it, and then render the process instance. 

 

  • Click the process step to view the properties > Business Objects. The step should set the business object's properties.

 

 

Definition Sample:

You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into 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 the import. Then, save the definition to confirm the changes. 

Click here to download the sample file.