Set Current Data Object

The Set Current Data Object Field action sets the value of one or more fields in the current data object (entity) or its related objects. This is useful for updating entity fields or relationship fields based on formulas, user input, or workflow logic.

Properties and Explanation

Select Entity Fields: Select one or more entity fields (from a multi-select list) to update. These are the main fields in the current data object that will be set.

Select Relationship field: If the selected entity field is a relationship, specify which field in the related object should be set. This allows you to update a property of a related entity.

Value Expression: Enter the value or formula to assign to the selected fields. You can use the Formula Editor for dynamic calculations or data references.

  • The action determines whether each selected field is a direct entity field or a relationship.

  • For direct fields, the value is set directly.

  • For relationship fields, a new related object is created (if needed), and the specified relationship field is set to the calculated value.

  • Supports both one-to-one and one-to-many relationships.

Full Configuration Example

Below is a screenshot of the Set Current Data Object Field action configuration, showing all properties set for entity fields, relationship field, and value expression:

  • In this example, the action updates both direct and related fields in the data object using the specified value or formula.

  • When the action is triggered, the data object is updated immediately according to your configuration.

Last updated