Skip to main content
New Participant
May 10, 2021
Question

Search for Deactivated user

  • May 10, 2021
  • 5 replies
  • 0 views

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.

    5 replies

    stefanhelzle0001
    Brainy
    May 10, 2021

    I tested your code. Works for me. I know that does not really help but at least this is no general issue.

    New Participant
    May 10, 2021

    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
      )

    stefanhelzle0001
    Brainy
    May 10, 2021

    By any chance, could it be that some of these users have no email address assigned?