Legacy Dev Forum Posts

 View Only

Sign Up

Using an Variable in an expression for queue transfer

  • 1.  Using an Variable in an expression for queue transfer

    Posted 06-05-2025 19:25

    NickCal | 2023-12-13 20:39:19 UTC | #1

    I cannot seem to get this to work. FindQueue(Flow.Email_queue)

    The Variable Flow.Email_queue is correct, but the xfer does tot work.

    Has anyone tried to use an expression with a Variable to xfer to a queue that cna shed some light? regards, Nick --


    NickCal | 2023-12-13 20:58:44 UTC | #2

    I also tried this..... FindQueue(Tostring(Flow.Email_queue)) No joy with that either. Nick --


    zubair | 2023-12-14 06:15:04 UTC | #3

    FindQueue(Flow.VariableName) should work.

    Can you try FindQueue("ReplaceNameOfYourQueue") i.e. use the Name of Queue instead of Variable and see if that works?


    NickCal | 2023-12-14 13:51:02 UTC | #4

    hello and thanks for responding. I did replace the expression with the queue name and that was fine. I ended up discovering what the problem was late last night. After talking with Genesys support they noticed a null on a line past my expression. I found this very odd. As it turns out I had some hidden carriage returns in my statement and Genesys was not liking that. I deleted the extra spaces and returns and, what do you know, it worked !

    I will now always remember to check for anything after my sting to be sure its clear.

    Thank you for your help. Have a great holiday regards, Nick --


    system | 2024-01-14 13:51:35 UTC | #5

    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: 23700