cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Query User Profile - Alternative action?

Jump to solution

Hi!  Is there an alternative to the "Query User Profile" if you don't have access to that action?

Labels: (1)
0 Kudos
Reply
7 Replies
Workflow Hero

Re: Query User Profile - Alternative action?

Jump to solution

Hi Patricia -

It depends on what you're looking for.

For example, if you're looking to find the email or display name, you could just use the "Set Variable" options. I think that would work.

What do you need to do?

Cheers,

Rhia

0 Kudos
Reply
Workflow Hero

Re: Query User Profile - Alternative action?

Jump to solution

Hi Rhia - yes, I'm looking to find the users identified as reviewers and approvers in a column, this information feeds into a state machine to start either a review or an approval workflow.  I hope that makes sense, I'm very new to this!!!

Thanks for getting back to me!

Tricia

0 Kudos
Reply
Workflow Hero

Re: Query User Profile - Alternative action?

Jump to solution

Do you need to get into these user UserProfile data? For example using "Web request" action to call REST API?

Regards,

Tomasz

Regards, Tomasz Poszytek
0 Kudos
Reply
Workflow Hero

Re: Query User Profile - Alternative action?

Jump to solution

Alright! So, let me get the idea here:

Somewhere, you have a list - there is a reviewer column, and an approver column.

In the reviewer column might be "Rhia", and in the approver column, "Patricia".

In your workflow state machine, it sounds like you want to:

a) look at the name sent to it

b) query the list columns to see if the user is a REVIEWER or an APPROVER

c) take action based on that.

Is that right?

Or are you looking to perform some other action?

0 Kudos
Reply
Workflow Hero

Re: Query User Profile - Alternative action?

Jump to solution

Yes!  Have attached screenshots of the template workflow I'm working on.  Perhaps I'm just complicating things and it's better to have separate review and approval workflows?  The intention is to have, for the review cycle "no comments" and "comments submitted" by those identified in the Reviewer column of the document library.  For the approval cycle, "approved" or "rejected with comments", with the end result being either resubmission or the document checked in and status changed to "approved".

0 Kudos
Reply
Workflow Hero

Re: Query User Profile - Alternative action?

Jump to solution

I think one workflow will work fine for this, from what I can see.

So you are doing this right now:

  • QUP for reviewer and approver first & last name;
  • State machine - start at review;
  • Flexi task - change permissions on reject or approve
  • If rejected, notify & end state machine
  • If approved, go to next state
  • Flexi-task - change permissions on reject or approve
  • Both have similar paths after that - to end the workflow.

And you're saying that you don't have access to the QUP?

You don't necessarily need the First & Last name to use it for Flexi-task, if that's what you're trying to get.

If you want to get display name, you can use Set Variable this way:

In this scenario, I look at the column for the row (User Manager), and then I use those little 3 dots to the right, and I have the option to say how I want to display that Person Field -- Display Name, Email Address, Login Name, or User ID Number.

Does that help at all?

Reply
Workflow Hero

Re: Query User Profile - Alternative action?

Jump to solution

Hi Patricia!

Has Rhia's answer helped you to solve your issue? If so, please mark it as correct

If not, please provide us with additional questions.

Regards,

Tomasz

Regards, Tomasz Poszytek
Reply