Announcement

Collapse
No announcement yet.

formula operator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • formula operator

    Hello,
    It is work:

    ifThenElse(salutationName == 'Herr', briefanrede='Sehr geehrter Herr ');

    It is not work.

    ifThenElse(salutationName == 'Herr Dr.', briefanrede='Sehr geehrter Herr Dr. ');

    salutationName == 'Herr Dr.' ?????

    Thanks for your help in advance.
    peter

  • #2
    Hello
    Do you have the option 'Herr Dr.' in salutation list in a key (not translation)?
    Hi, This code does not work. Field briefanrede is a text field. ifThenElse(briefanrede == null, ifThenElse(salutationName == 'Herr', briefanrede= 'Sehr


    I tried on the demo (before add 'Herr Dr.' option in salutation list) and it works for me

    Comment


    • #3

      Comment


      • #4
        check for space in the end.


        Code:
        description=salutationName;
        ifThenElse(salutationName=='Herr Dr.', description='no space');
        ifThenElse(salutationName=='Herr Dr. ', description='with space');

        Comment


        • #5

          My formula script works if it is in the entity (therefore no space problem). It does not work in the workflow.

          Comment


          • #6
            oh, we talk about workflow. Could you describe everything, I could to reproduce it.
            Is it Formula in Conditions section or in Entity Action? Full information, please

            Comment


            • #7
              Excuse me.
              I have only tried formula in the workflow and because I have not worked I have further tested and and in the entity it works.
              They are the same formla lines.

              Comment


              • #8
                still can't reproduce

                Comment


                • #9
                  Thanks for your efforts. I will search further.

                  Comment

                  Working...
                  X