Utility - Array Replace Values

Overview

The 'Array Replace Values' utility action for Power Automate replaces targeted values found within the JSON array provided or targeted using a JSONPath expression, with the new value specified. 

Credit Count

This is a Utility action and therefore consumes only 0.05 credits per operation (except 1 credit on the free plan). For example, 100 operations will consume 5 credits on a trial and all paid plans.

Parameters

The default 'Array Replace Values' utility action parameters are detailed below:

  • Data: The JSON array or object to evaluate
  • Search Value: The value to locate and replace with the 'Replacement Value', a blank value is treated as white-space
  • Replacement Value: The value to replace the matched values with, a blank value will remove the matched values

Advanced Parameters

The advanced 'Array Replace Values' utility action parameters are detailed below:

  • Path: Select a specific node within the 'Data' using a JSONPath expression

Return Parameters

Action Specific Return Values

  • Result -  The modified JSON array or object

Standard Return Values

  • OperationId - The unique ID assigned to this operation.
  • HttpStatusCode - The HTTP Status code for the response.
  • HttpStatusMessage - The HTTP Status message for the response.
  • Errors - An array of error messages should an error occur.
  • Operation Status - Indicates whether the operation has been completed, has been queued or has failed.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk