AnsweredAssumed Answered

Intermittent Errors Updating List Item and Setting Permissions

Question asked by jeff on May 1, 2018
Latest reply on Oct 25, 2018 by jeff

I have a workflow in which I must both update an item and set the item permissions. Intermittently the workflow throws an ambiguous error (e.g. "An error has occurred in [name of the workflow]"). E.g. an error occurred somewhere in this series of actions...


Series of actions in a Nintex workflow diagram


In this instance, the "Update Action" item was successful, but the item permissions were not set, and the workflow did not proceed beyond this point.

I've tried reversing the order of these actions (set permissions first, then update item) and have tried with and without the "Commit pending changes" action.

I'm speculating that either I'm stepping on my own toes (one action makes the list item unavailable for the other action) or that users are trying to update the item at the same time (making the list item unavailable), but I don't know how to diagnose this further.

Next step is to create a new text field, write something unique to it in the "Update item" action, then use it in conjunction with a "Wait for item update" action and put that in front of the "Set item permissions" action.

Is there a best practice for this?