Forum Discussion

esmail's avatar
esmail
New Contributor
2 years ago
Solved

Json object

I need help to get below output.

"order":{
"0d8351c5-22dd-4e15-95b4-d2808cce70df":"11111111-1111-1111-1111-000000000000",
"ba653ecd-0b8d-4af4-97d0-5d758a37512d":"11111111-1111-1111-1111-000000000001"
}

expected result

"order":{
  {
    "class_id":"0d8351c5-22dd-4e15-95b4-d2808cce70df",
    "order" :"11111111-1111-1111-1111-000000000000"
  },
  {
    "class_id":"ba653ecd-0b8d-4af4-97d0-5d758a37512d",
    "order" :"11111111-1111-1111-1111-000000000001"
  }
}

Thanks for your help.

2 Replies

  • bojanvelevski's avatar
    bojanvelevski
    Valued Contributor

    Hi @koolraul,

    Conditional snap will actually work in your case, if everything is correct. One possible issue that I can see on the screenshot is that the conditional snap and the Pipeline Execute snap are not connected.

    If you want to experiment further, you can try putting the condition in the Pipeline Execute snap, for example:

    $param == 'a' ? "pipeline_a" : "pipeline_b"

    Hope this helps,
    Bojan

  • koolraul's avatar
    koolraul
    New Contributor

    Hi Bojan,

    This one helps. Thanks a lot for your input.

    Bes regards.
    Raul