AnsweredAssumed Answered

set item permissions while using PeoplePicker ItemProperty when run in timer service process

Question asked by netsenthil on Nov 4, 2015
Latest reply on Nov 12, 2015 by netsenthil

Hi,

 

I am encountering a strange issue in production. I might be creating a direct ticket with Nintex or contacting my previous contacts like Aaron Labiosa to fix this. But before that I would like to post and see if anybody has encountered the issue before and resolved it.

 

My Nintex workflow fails to execute and throws a error when executing "set item permissions" action.

I am using the action to set permissions for the workflow list item. I assigning permissions for 2 SharePoint Groups and 2 ItemProperty:peoplepicker fields.

I have added a pause action to have the workflow start from a timer service. when the workflow execution reaches the "set item permission" action it fails. but it adds SharePoint groups but not the users part of the ItemProperty:peoplepicker Fields.

 

I tried another test by removing the pause action to have it run in the worker process. Now it can add both the SharePoint groups and the Itemproperty:peoplepicker Fields.

 

But I cannot use this method as down the workflow execution I have lot of pause and "Set Item Permissions" action to be executed,

Not sure what is the difference between running the workflow in worker process vs timer service which the latter makes the workflow fail

 

Also few days back I had some of the workflow failed when trying to send notification to a user and throwed the below error and it solved automatically

 

"Cannot retrieve the information for application credential key"

 

I am not sure if this might be related to the issue I am experiencing. After few hours of sufing the net I believe that the above issue seems to be related to a one way trust created to another AD and the people picker could not resolve user from the AD to get the user details to send notification. I am not sure if this issue is related to the problem Iam seeing with "Set Item Permission" Action.

 

Please respond ASAP if you have previously encountered this issue before.

Outcomes