Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Visibility formatting

    Posted 6 hours ago

    If I want my variable to be visible when it equals order or missing-info, what should the formatting look like? I put it this way, but it was not visible when I did a test.

    Thanks in advance.


    #Scripts

    ------------------------------
    Corey Lanier
    Shaw Industries Group, Inc.
    ------------------------------


  • 2.  RE: Visibility formatting

    Posted 6 hours ago

    Hi,

    Try

    Variable == "Value1" OR Variable == "Value2"



    ------------------------------
    Cheers
    Zubair
    ------------------------------



  • 3.  RE: Visibility formatting

    Posted 5 hours ago

    Hi Corey,

    It looks like you need to compare the variable against both values. Try:

    {{UnifyOrderStatus}} == "order" OR {{UnifyOrderStatus}} == "missing-info"

    In your current expression, "missing-info" isn't being compared to {{UnifyOrderStatus}}, so the condition won't evaluate as expected. If it still doesn't work, I'd also verify the exact value stored in UnifyOrderStatus (including case and any spaces).



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------