cancel
Showing results for 
Search instead for 
Did you mean: 
gbiemolt
Nintex Newbie

Update Person/Group field in documentset fails

In a simple workflow (Nintex Workflow for SharePoint 2013) for managing the progress of a dossier (documentset with documents) there are workflows running on the documentset, but also on the individual documents. The proces status (status) and person responsible for the current action (responsible) are properties of the documentset.

The workflow updates the person field Responsible of the Dossier. This is a action the sometimes fails.

Action: Update item in list where id matches txtVar, field responsible to txtEmpty

Where

- txtVar is an id, eg "1"

- txtEmpty is an empty txt variable

On the commit action after this update the workflow sometimes fails with the message 'an error has occurred on workflow 'XXX' '.

Do you have any suggestions / best practices on how to solve this?

0 Kudos
Reply
1 Reply
gbiemolt
Nintex Newbie

Re: Update Person/Group field in documentset fails

I eventually worked around this issue by changing the workflows such that they only modify the item that the workflow is connected to. Instead of documentset workflows modifying documents in the documentset and documents modifying the documentset. Presumably this creates somekind of race condition.

Therefore when working with workflows on document sets that trigger workflow on a document in that documentset, I only change metadata of the item that the workflow is running on / connected to.

0 Kudos
Reply