hi Team
in my workflow, calling one of the Python script tasks & got the stdout as JSON format.
stdout: ‘{’‘short_description’’: ‘‘host1 is not responding to Ping’’, ‘‘description’’: ‘‘host1 is not
                re
                sponding to Ping’’, ‘‘cmdb_ci.name’’: ‘‘host1’’, ‘‘state’’: ‘‘7’’, ‘‘assignment_group.name’’: ‘‘Wintel
                L1’’}
we need to parse the json values inside the workflow. i have tried to get the description as below
- inc_description: “{{ result().stdout.description }}”
however i got an error - - message: ‘JinjaEvaluationException: There are unresolved variables: result().stdout.description’ 
Please help.
tasks:
                Collecting_info:
                action: arul_automation.GetIncident
                input:
                Incident_Number: “{{ ctx().incident_no }}”
                Field_name: “number,description,short_description”
                next:
                - when: “{{ succeeded() }}”
                publish:
                - inc_description: “{{ result().stdout.description }}”
                - error_message: “{{ result().stderr }}”
                do:
                - noop
                - when: “{{ failed() }}”
                publish:
                - error_message: “Could not get the details for this incidnet {{ ctx().incident_no }}”
                do:
                - noop