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 dynamic properties for the business object 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 in FlowWright Business objects configuration.

 

We must define the configured Business object in the Process Definition. Select Actions > Manage Business Objects > Add from the process designer page.

 

Example:

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

  • Create a new definition called “setBODynamicPropertiesDef” and open the definition 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. Provide the name of the business object configured in the process definition. Click the button to set the values for the business object. Click the Save button. 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 to insert an empty row. Provide the property name and the value in this 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. 

 

  • The dynamic parameters for the business object, upon completion, are listed below for reference. 

 

  • 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 instance, and then execute it. Render the process instance. Click the process step to view the properties. The step should dynamically set the business object properties.

 

Definition Sample:

You may download the sample definition(s) from the link here and later import them (drag-and-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.