[7.4.4] call transaction with headers

Home Forums Convertigo developers Forums as moved to Stack Overflow. [7.4.4] call transaction with headers

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #164092

    fengclark
    Participant

    Hello,

    I have a question that, when I wanna call a transaction in sequence, I pass “__header_mytoken”.
    This works fine, but now I have to use a header name “a-b-c”, engine refused me to use a variable with name “__header_a-b-c”.

    error :”Name must be normalized.
    Don’t start with number and don’t use non ASCII caracters.”

    Can you help me on this point ?

    Thank you in advance,

    #164093

    Gregory Vorbe
    Moderator

    Hi,

    Indeed, Convertigo does not support hyphens in variables name.
    Take a look at this post to know how to manage hyphens in headers name : https://www.convertigo.com/Forums/reply/92591/
    Main thread of the post: https://www.convertigo.com/Forums/topic/headers-name-that-contains-hyphen-character-in-transaction/
    There is an example project you can download.

    QA&Support

    #164094

    fengclark
    Participant

    Hello,

    This seems to be cool. So I can create a array of String with JS step and pass it to a variable ?

    #164095

    Gregory Vorbe
    Moderator

    Yes! The JS variable must be an array and the transaction’s variable is a Multivalued variable.

    QA&Support

    #164096

    fengclark
    Participant

    Thank you, I’ll try this solution.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.