Translation IF statement

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Translation IF statement

  • Creator
    Topic
  • #53540
    Kaley Grimes
    Participant

      Has anyone tried or accomplished creating an IF statement within an xlate that looks for multiple values? Up until lately, I have mainly written IF statements to look for one value and then perform an action. However, I have recently encountered a few scenarios where I’ve tried to create a multiple value IF statement and it doesn’t seem to work.

      Would anyone have a suggestion as to what else I can try?

    Viewing 1 reply thread
    • Author
      Replies
      • #78073
        Keith McLeod
        Participant

          There are many ways to accomplish this.

        • #78074
          Jim Kosloskey
          Participant

            Kailey,

            The IF Action has the ability to specify and/or connetors to make compound conditional arguments so that should be possible if you have multiple fields, relationships, etc.

            However, if what you are doing is checking one field to see if it contains one of many values you could use a Table. The table would return a 0 or 1 or y or n

            email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.