I have a process with a lot of human interactions, and needed to record the user who closed the process. Ai comment my problem.
Then, in a human activity, in the parameter is user, put the Session.UserId to be recorded. It turns out that when you close a human activity, the user is recorded in the next human activity flow, rather than was finished.
I found it very tin, has anyone experienced this?
That's weird, I created a small test process and I see no such thing. Note that you shouldn't update the activity yourself, the Platform automatically registers the User that was involved in a Human Activity:
Could it perhaps be that by trying to update the Human Activity from the Session.UserId (which, again, isn't needed and shouldn't be done!) you overwrite what the Platform does and end up with what you got?