0

I can't find the user reference in ProcessNode or any process related objects. I want to do find/replace for a user leaving the company and re-assign their approval roles.

To clarify, I don't want pending requests, I want the person who would be assigned, were an approval to be launched. For example, if I use the id of a new user who was just add in the process in the screen below but there is no active approval, it returns null. What object contains this relationship?

Thanks. enter image description here

  • a mystery that is very odd! – jaw999 Apr 12 '18 at 19:12
2

Take a look at ProcessInstanceWorkItem:

Represents a user’s pending approval request.

Sample query:

SELECT ActorId FROM ProcessInstanceWorkItem WHERE ProcessInstanceId = '...'
  • To clarify, I don't want pending requests, I want the person who would be assigned, were an approval to be launched. – jaw999 Jun 13 '17 at 14:33
  • To clarify, I don't want pending requests, I want the person who would be assigned, were an approval to be launched. For example, if I use the id of a new user who is in the process but there is no active approval, it returns null. I have edited my question to clarify it. – jaw999 Jun 13 '17 at 15:02
  • Still, no one knows! – jaw999 Oct 16 '17 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.