I am getting the following error: There is a problem with task “Update User

I am getting the following error:
There is a problem with task “Update User Profile” in the process “xxx”. The selected user is invalid.
But my user is:
1. deactivated in Appian but I am trying to sync it from Entitlements.
2. Responding to the user() function
3. The 'Update User Profile' node is working correctly for other Users.

Can anyone guide please over the issue?

OriginalPostID-207242

OriginalPostID-207242

  Discussion posts and replies are publicly visible

Parents
  • Hi Rishub,

    Seems you are correct! User function works even for a deactivated user.

    One workaround would be to check if the selected user is active or not, in a script task just before the 'Update User Profile' node. For that you can use isuseractive() function, which is a custom function, to check the selected user. If it returns true(), only then route your process flow to the 'Update User Profile' node.
Reply
  • Hi Rishub,

    Seems you are correct! User function works even for a deactivated user.

    One workaround would be to check if the selected user is active or not, in a script task just before the 'Update User Profile' node. For that you can use isuseractive() function, which is a custom function, to check the selected user. If it returns true(), only then route your process flow to the 'Update User Profile' node.
Children
No Data