Skip to main content
Question

Issue in lineitems when using it with dynamic fields

  • November 23, 2022
  • 1 reply
  • 38 views

I’m adding line items in dynamic fields by setting a parent_key. So the fields in the inputData is dynamic. I don’t know which field is line item here. 

So while making API execution, I’m passing the bundle.inputData as body. 

 

{
    "hello": "hello",
    "hi": "hello",
    "Field_one": "hello,jayanth,paval",
    "Field_two": "hi,kaethick,charan",
    "Table::Table_One": [
      {
        "Field_one": "hello",
        "Field_two": "hi"
      },
      {
        "Field_one": "jayanth",
        "Field_two": "kaethick"
      },
      {
        "Field_one": "paval",
        "Field_two": "charan"
      }
    ],
    "check": [
      {
        "hello": "hello",
        "hi": "hello"
      }
    ]
  }

 

 

check out the above payload, here the Field_one and Field_two are having aggregated values from lineitem
can someone help me out on this. 

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

shalgrim
Forum|alt.badge.img+8
  • Zapier Staff
  • 406 replies
  • December 2, 2022

Hi Jayanth!

Can you give me a little more detail about the problem you’re facing?

In the payload you’re showing, is that what the inputData currently is or what you want it to be? If it’s what it is, what do you want it to be? 

Thanks!