Share on ... Google+ Twitter LinkedIn Facebook Pinterest Decision Table There is a solution to avoid if-else code in vTiger. You can use special task that's called “Decision Table”. This task contains of two columns — “Decision” and “Output” where user should put conditions into the first column and use the second one for writing the results. Number one: this row provides environments or fields that you choose to validate incoming information and to write the result. On this screenshot I use environment that i get from website (decision) and I also use static field (output) to write the information in it. Others: this column (2) is for conditions. I check if environment $smownerid: (Users) branch_id) is equal 7889 and if it is then fieldvalue “Ответственный” will be filled with 47 (3). If this condition is false the task “Decision table” will use the condition below. You may add as many conditions as you need. Discussion Real name: E-Mail: Address: Enter your comment. Wiki syntax is allowed: Please fill all the letters into the box to prove you're human. ___ ____ __ __ ____ __ __ / _ \ / __/ / //_/ / __/ / // / / // / _\ \ / ,< _\ \ / _ / /____/ /___/ /_/|_| /___/ /_//_/ Please keep this field empty: Subscribe to comments