Set dynamic properties for a business object

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

Last published at: February 13th, 2025

setBODynamicProperties Step

Description:

This step sets the business object's dynamic properties within the process.

 

Inputs

  • boName – name of the business object
  • boProps –  business object dynamic properties to set
 

 

Returns

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

 

Usage:

 

 

To use this step, we need business objects configured in the FlowWright Business Objects configuration.

 

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 “setBODynamicPropertiesDef” example.          

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

 

  • Click the button to set the business object's values. Click the (+) Add Row button to insert an empty row. Enter the property name and value in the format “cDevBO.” The associated objects and methods are listed below. Click the Save button. You may add multiple property names by using the Add Row button. 

 

  • Upon completion, the dynamic parameters for the business object are provided below for reference. 

 

  • 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, and execute it. Render the process instance. Click the process step to view its properties. The step should dynamically 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: After import, please verify and complete the process steps for any missing configurations, including file path references and database connections. Then, save the definition to confirm the changes. 

Click here to download the sample file.