I need to reactivate all the Deactivated user. I am using getdeactivatedusersby() function but am getting error.
I have used this code: getdeactivatedusersby("email","@",2). but am getting error: "Expression evaluation error at function 'getdeactivatedusersby': Null argument not allowed"
Can someone help what mistake am making.
Discussion posts and replies are publicly visible
I tested your code. Works for me. I know that does not really help but at least this is no general issue.
There seems to be some issue with Appian side then because i cross checked with around 4 people in my organization for none email is working..
I even tried below code its working fine for other field but for email its throwing error:"Expression evaluation error at function 'getdeactivatedusersby': Null argument not allowed"
getdeactivatedusersby( field:"firstName", value: ri!firstName, operator: 1 )
By any chance, could it be that some of these users have no email address assigned?
No stefan..all are active users and been working from long time in Appian
I have seen that by LDAP synchronization, deactivated users lost their email address. Just guessing ...