Skip to main content
Nintex Community Menu Bar

Workflow status not updated

  • June 22, 2017
  • 11 replies
  • 41 views

Forum|alt.badge.img+3

I accidentally deleted an item from the list which was associated with a Workflow which would update status field.

Before deletion of the item, the status was approved. 

After i restored the item it reads "Pending for approval" which is the initial status.

How can i correct this? As starting the process all again is not allowed and would raise a lot of questions with multiple approvers involved.

11 replies

Forum|alt.badge.img+13

Does your workflow run on creation or on modification? And does it start conditionally? Can you not just change the status yourself?


Forum|alt.badge.img+14
  • Scholar
  • June 23, 2017

is it your custom status column or workflow's status column?

if former case you should be able to change status by hand.

in the later, you can temporarily add set workflow status action at the very beginning of workflow followed by end workflow action.configure set workflow action to change workflow status to desired status.

let the workflow run so that it resets its status and then remove both actions.


Forum|alt.badge.img+3
  • Author
  • June 29, 2017

It runs on creation as well as modification.

Yes, I can change the status by myself. But, this is all about approvals and who it is approved by. Until and unless it is approved by an authorized/designated person, the request would be invalid. There are multiple levels of approvals involved and restarting the WF/approval process is not an ideal thing people are looking for.


Forum|alt.badge.img+3
  • Author
  • June 29, 2017

it is a custom column and not a WF status column.

Manually changing is not recommended as it would raise a lot of questions again.


Forum|alt.badge.img+14
  • Scholar
  • June 29, 2017

as far as I understood the item has already been approved and this is some exceptional state you need to resolve.

what's the concern then?

so that your name do not appear in version history?

then you have only option let the workflow run with credentials of approver. either let him go through whole process and approve once again, or some kind of 'short way' as I depicted above.


Forum|alt.badge.img+9
  • Novice
  • November 3, 2017

Hi Marian, is there a way that the workflow status code can be changed behind the scenes without having to change the workflow and re-run.. and end the workflow? I'm having the same issue and I only need to change the status on few list items. But I'm not comfortable to change the workflow in Production given that anybody can create/submit a record at any time!


Forum|alt.badge.img+14
  • Scholar
  • November 3, 2017

I'm not aware of any other (easy) way.

but suggested approach doesn't need to end/stop existing running workflow instance(s).

once you change and publish workflow, running instances will become instances of  'previous version', and you can run new current workflow instance in parallel.


Forum|alt.badge.img+14
  • Scholar
  • November 3, 2017

Hi ‌, did you resolved this? can this be marked answered?


Forum|alt.badge.img+9
  • Novice
  • November 3, 2017

I understand that it will be the previous version. I'm talking about new ones created. I ended up applying that solution at midnight just hoping that no ones will create one at that time. I changes workflow status + ended workflow.. 

(Just saying, the application is for nurses and people who work on shifts around the clock and submit items on cell phones, so there is no really specific work hours that I can avoid). I hope in the future that we can find a better way to do this.. 


Forum|alt.badge.img+3
  • Author
  • November 6, 2017

Nope, I had to re-run the Workflow.


Forum|alt.badge.img+14
  • Scholar
  • November 6, 2017

ok.

but as I've explained above, I'm affraid this is only possible way (maybe apart writing some dedicated code)