This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

Hot to access specific value inside a json string object

Hey,

I have following ActionChain task

        name: "parse_payload"
        ref: "st2_viacbs_pack.stpayload"
        parameters:
            payload: "{{payload}}"
        publish:
            output: "{{parse_payload.result|from_json_string}}"
        on-success: "c2"
        on-failure: "c4"

and on output i get:
“published”: {
“output”: “{‘st_enrichment’: ‘false’}”
},

In next task i want to get value of st_enrichment, how i can achieve that ? I tried
{{output.st_enrichment}}
{{output.[st_enrichment]}}
{{output.[‘st_enrichment’]}}
{{output|from_json_string[‘st_enrichment’]}}

But it always return error, that object string doesn’t have st_enrichment or expected token is not valid.