Policy Automation for B2C Service

Get Involved. Join the Conversation.

Topic

    kate James
    Standard texts
    Topic posted June 6, 2019 by kate JamesRed Ribbon: 250+ Points 
    58 Views, 3 Comments
    Title:
    Standard texts
    Summary:
    Standard texts and Conditional Statements
    Content:

    Hi, 

    I have a new requirement to display the customer's preferred name if it is not empty, but if Null the first name should be displayed

    I am wondering if there is a way to check the preferred name in standard text?

    Currently we use a variable to get user name from the object

    Hi $contacts.name.first,

    What I want

    Hi if($contacts.c$preferredname is NULL)

    I think it might not be doable in Standard text but templates

    Kind regards,

    Kathy

    Version:
    19A

    Comment