JEXL mapping for if then else

2020-03-19 Thread syncope developer
Hello Syncope support -i would like to know how i can add JEXL to the mapping (provision rules) for manipulating the input data using if then else rules? I have multiple if then and elseIf conditions like If ( not empty( value) and value = "xxx") { /** set something1 } else if (value = "yyy") {

Re: JEXL mapping for if then else

2020-03-19 Thread Dmitriy Brashevets
On 2020/03/19 14:33:36, syncope developer wrote: > Hello Syncope support -i would like to know how i can add JEXL to the > mapping (provision rules) for manipulating the input data using if then > else rules? > I have multiple if then and elseIf conditions like > If ( not empty( value) and

Re: JEXL mapping for if then else

2020-03-19 Thread syncope developer
Thanks. Yes ternary works as i mentioned. But i need to have multiple level of else If ... On Thu, Mar 19, 2020 at 10:39 AM Dmitriy Brashevets < dmitriybrashev...@gmail.com> wrote: > > > On 2020/03/19 14:33:36, syncope developer wrote: > > Hello Syncope support -i would like to know how i can