GoIllini
Scholar

Reassign task via workflow permissions error

Jump to solution

Since there is not a "delegate task" option in 365, I'd like to find another way to reassign a task. Using the task escalation is not an option in my case as I won't always want it escalated to a specific person or timeframe. I want to be able to assign the task to anyone and anytime of my choosing. I get an error, The destination site was unable to process request. The provided credentials might not have access to the site. 

 

My idea was to have a workflow that can manually be executed in the Workflow Task list. I've got it running with elevated permissions.Workflow.jpg

 I have two variables that can be set on workflow initiation.

InitiationVar.JPG

 Update the task's Assigned To field where Task Title = Task Title Var.

UpdateItem.jpg

When I run the workflow, I get an error of The destination site was unable to process request. The provided credentials might not have access to the site. In the connection manager, I'm using the same connection that has successfully been used to create list items in other sites that the user doesn't have access to.

Labels: (1)
0 Kudos
Reply
5 Replies
Garrett
Communicator

Re: Reassign task via workflow permissions error

Jump to solution

Hi @GoIllini 

 

Just to clarify, do you want to "reassign a single Task" or "all Task owned by a user"?

 

I'm able to reassign a single Task with the "Update List Item"

Garrett_0-1660213775305.png

 

Here are the settings.

Garrett_1-1660213916098.png

 

You might ask how to get the ID? Well, just use a "Query List"

Garrett_2-1660214039124.png

 

Cheers

 

 

0 Kudos
Reply
bikhargaya
Novice

Re: Reassign task via workflow permissions error

Jump to solution

I have the same issue. Any tips for solution?

0 Kudos
Reply
GoIllini
Scholar

Re: Reassign task via workflow permissions error

Jump to solution

@Garrett Thank you. I don't know how I missed that update list action. Still trying to get used to the 365 version vs. on-prem. This was much simpler! 

 

@bikhargaya This worked for me. I have one variable called "Delegate Task To" and checked the box for initiation. Therefore, when I manually start the workflow on an item, that variable is shown on the start workflow screen. I just type in the person I want to delegate the task to. A simple one action workflow. 

 

Capture.JPG

 

 

Capture2.JPG

0 Kudos
Reply
SimonMuntz
Nintex How-To Center Expert
Nintex How-To Center Expert

Re: Reassign task via workflow permissions error

Jump to solution
Hi,

Just a note here. The Office 365 Update Items action uses the credentials in the connection to perform the action. Putting the action inside an action set configured with elevated permissions has no affect. If anything it may cause issues. Based on the error the credentials in the connection do not have sufficient permissions on the Task List. Just because the credentials work on other lists does not mean they have permissions on the Task List.
Reply
Garrett
Communicator

Re: Reassign task via workflow permissions error

Jump to solution

Good point @SimonMuntz. Thanks for sharing

0 Kudos
Reply