Skip to main content

Create HTTP import mapping with static or dynamic lookup

Comments

3 comments

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

    For more information on how you can use advanced lookups in tandem with response mappings, take a look at this article: Response mapping and advanced lookups.

    0
  • Ricko Borja Technical Support Representative
    Great Answer
    Celigo University Level 4: Legendary

    Confirmed that the Create HTTP import mapping with static or dynamic lookup doesn't include the actual valid handlebar expression by adding single quotes on the "lookup name". The following should have the actual Lookup handlebar syntax:

    • Dynamic lookup: {{lookup '<lookup name>' this}}
    • Static lookup: {{lookup '<lookup name>' this.<Export Field Name>}}

    Just provide the <lookup name> and <Export Field Name> and that should work. The HTTP Lookup Preview might not show the correct details (i.e., "{ASYNCID$0$8$}") though this is just a Preview interpretation. Running the flow would confirm the actual results of the lookup.

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

    Thanks Ricko Borja, I revised the article per your correction.

    Tom

    0

Please sign in to leave a comment.