Skip to main content

Retrieve all items from a JSON array

Retrieve all items from a provided JSON array-formatted text.

This Wrk Action divides. For more information on divides please visit our article explaining Divides.

Application

  • Text

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Array textText in JSON array format that you are looking to retrieve all items fromText (Long)Yes[“item1”, “item2”, “item3”]

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NameDescriptionData TypeRequired?Example
Item valueThe value of the individual item in the given JSON arrayText (Long)Yesitem1

Outcomes

NameDescription
SuccessThis status is selected if items are extracted from the JSON array.
No resultThis status is selected in the event of the following scenarios:The array is empty or has no items in it
Impossible to CompleteThis status is selected in the event of the following scenarios:The input text is not in JSON array formatting and could not be converted.

Requirements

  • N/A