Novunex Community

Forum How can I use a value from a JSON as parameter?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #520
    Lilian
    Participant

      Hey,

      is it possible to use a value from a JSON as a parameter, e.g. in a Set or Create activity?
      If it is possible, how can I do this?

      Kind regards,
      Lisa

      #521
      kathy
      Participant

        Hello,

        you can try using: SelectToken(JsonVariable, JsonPath)
        In the end, it should look like this, for example:
        =SelectToken(#[MyVar.JsonAttribute], ‘MyAttribute’)

        You can also find a more detailed description on the JSON functions, when following this link and scrolling down to the section “JSON Functions”: https://novunex.com/docs/general-reference/process/activities/?param=SelectToken#functions

        Best regards,
        Kathy

        • This reply was modified 1 year, 8 months ago by kathy.
      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.