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

1
  • a mystery that is very odd!
    – jaw999
    Apr 12, 2018 at 19:12

1 Answer 1

2

Take a look at ProcessInstanceWorkItem:

Represents a user’s pending approval request.

Sample query:

SELECT ActorId FROM ProcessInstanceWorkItem WHERE ProcessInstanceId = '...'
3
  • 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, 2017 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, 2017 at 15:02
  • Still, no one knows!
    – jaw999
    Oct 16, 2017 at 15:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .