Documentation Index

Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt

Use this file to discover all available pages before exploring further.

Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Set Property on JSON

Prev Next

Step Details

Introduced in Version9.30.0
Last Modified in Version9.30.0
LocationData > JSON

The Set Property on JSON step sets the value of a property in a JSON string. Use this step when a Flow needs to update a specific property in existing JSON data during execution.




Properties

Parameters

PropertyDescriptionData Type
TypeSelect the data type of the value being set.---
Property NameEnter the name of the JSON property to add or update.---

Inputs

PropertyDescriptionData Type
Json TextSpecify the JSON string where the property value is set including the text.String
ValueSpecify the value to assign to the selected JSON property. The value matches the selected Type.---

Outputs

PropertyDescriptionData Type
SetPropertyonJSON1_OutputReturns the updated JSON string after the property value is set.String

Common Use Cases

Common use cases for Set Property on JSON include:

  • Updating an existing property value in a JSON string during Flow execution.
  • Adding a property to a JSON string when the property does not already exist.
  • Preparing or modifying a JSON payload before sending it to an API.
  • Updating status, user, account, or transaction values in JSON data.
  • Adding values collected from Forms, Rules, or previous Flow steps into an existing JSON object.
  • Standardizing JSON output before passing it to another step or integration.
  • Dynamically changing configuration or request data stored as JSON.