Legacy Dev Forum Posts

 View Only

Sign Up

Using Input parameter in translation map response fails

  • 1.  Using Input parameter in translation map response fails

    Posted 06-05-2025 18:43

    Gerardo_Rodriguez | 2022-09-01 11:21:43 UTC | #1

    Hi!, Hope someone helps on this: I'm trying to retrieve the WrapUpCode ID for an specifc WrapUp Codename. Using API " # /api/v2/routing/queues/{queueId}/wrapupcodes" , I'm able to get access to every WrapUpcodenames and IDs. My data action is intended findout a specific codename using his ID (input parameter) ... but using it in translation map for response doesn't work as expected, as data action is returning blank result. Please find (configuration response) code below:

    { "translationMap": { "tag": "$.entities[?(@.name == '${input.WrapUpCodeName}')].id" }, "translationMapDefaults": {}, "successTemplate": "{\"WrapUpCodeId\":\"${tag}\"}" }

    Thanks


    Gerardo_Rodriguez | 2022-09-19 16:37:45 UTC | #2

    I answer myself... it is not possible to use contract parameters in the translation map.There is already an idea about it: https://genesyscloud.ideas.aha.io/ideas/OTB-I-224


    system | 2022-10-02 11:49:22 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 16114