Using the Json Parser String Manipulation Method to Retrieve Information - Documentation for Bmc Helix Digital Workplace 22.1

Helps to collect the Json Parser output into a nicely formatted string (which includes <br> tags for new lines). You can then use this string as the content for the Send Email action, which uses STRIPHTML to convert the <br> tags into new lines.

In the OUTPUT MAP section for this Compute Value element, the workflow uses the current value of the Content variable (which begins as empty text), and appends the following string to it:

WO detail key : WO detail value ; <new line>

To collect the Content data, the results of the Json Parser element are processed one by one. If the Json Parser element finds five details, this Compute Value element is triggered five times (one for every detail).

A result is assigned to SingleWODetailsObject, and the key and value is retrieved from it, for example:

"${processContext.SingleWoDetailsObject.key} + " : " + ${processContext.SingleWoDetailsObject.value} + ";  <br>"

The MULTI INSTANCE LOOP section uses the Json Parser output:

For information about the output map and multi instance loop, see the following topics:

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest