how to solve this error
Hello Dilmi,
You are trying to update record into table but you forget to set value of Id attribute into record that you use it as input to UpdateUser Action you need to add assignment before action for example like:
if you need to update current logged in user: User.Id = GetUserId()
may be also if you display users into list or table widget and edit one of them then you need to use for example: User.Id = Users.List.Current.Id
You are passing Null value as user identifier for updating record. You need to pass the correct userId to update.
Hi Dilmi Amarasingha,
If you are executing that code in a timer or process GetUserId() will not work.
In that case provide an user explicitly,userid can be an input parameter.
Hope that it helps you,
You are trying to update a record with Null userId, In other words, you're trying to update a user who does not exist.
In the UpdateUser action, you need to make sure the User.Id is filled in:
Hope it helps you.
Thanks.