Skip to main content

Trying to divide fields in a nested structure but handlebar expression is not working

Answered

Comments

2 comments

  • Tom Santiago Principal Technical Writer Community moderator
    Engaged
    Top Contributor
    Celigo University Level 4: Legendary

    Hi Chidi Okwudire,

    I think the problem is caused by your use of wildcards (*) in the handlebars expression. integrator.io doesn't iterate through all of the amounts and quantities in the array when attempting to calculate the expression. You would have to use a preMap hook to perform the operation.

    Tom

    0
  • Chidi Okwudire
    Engaged
    Celigo University Level 1: Skilled

    Hi Tom Santiago,

    Thanks for the clarification!

    0

Please sign in to leave a comment.