AnsweredAssumed Answered

Script for validation

Question asked by schmity on Jul 7, 2014
Latest reply on Jul 8, 2014 by philmodjunk


Script for validation


     Trying to write a validation step into a script to determine if it can continue or exit based on several criteria:


     get(accountname) ≠ OPS::Lead or get(accountprivilegesetname) ≠ "MX Supervisor" or "Admin"

     Show custom dialog

     exit script

     end if

     if it matches anyone of the criteria (account name OR privilege set name) , I would like the script to continue.  Can I do this in one if statement like I have or do I need to write it another way with else or else if's.  Trying to keep it simple.