cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Workflow status not updated

Jump to solution

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.

Labels: (1)
Reply
11 Replies
Workflow Hero

Re: Workflow status not updated

Jump to solution

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

Reply
Workflow Hero

Re: Workflow status not updated

Jump to solution

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.

Reply
Workflow Hero

Re: Workflow status not updated

Jump to solution

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.

0 Kudos
Reply
Workflow Hero

Re: Workflow status not updated

Jump to solution

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.

0 Kudos
Reply
Workflow Hero

Re: Workflow status not updated

Jump to solution

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.

Reply
Workflow Hero

Re: Workflow status not updated

Jump to solution

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!

0 Kudos
Reply
Workflow Hero

Re: Workflow status not updated

Jump to solution

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.

0 Kudos
Reply
Workflow Hero

Re: Workflow status not updated

Jump to solution

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

0 Kudos
Reply
Workflow Hero

Re: Workflow status not updated

Jump to solution

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.. 

Reply