Skip to main content
Tweeted twitter.com/StackSharePoint/status/832040908623314948
added 540 characters in body
Source Link

I'm having 'fun' trying to prevent a workflow from running on a list item if the workflow has already run. The workflow runs each morning and emails item owners if their item hasn't been updated in over a month. I understand that the workflow updates its own little history with a success message. There's even a new column magically created in the list for each workflow.

To prevent an email being sent every time the workflow runs on items already captured by it (for example one of the workflows checks if an item was last updated within the last one to two months) I wanted to add a condition so that

if this item has a success / completed entry in the workflow history, stop processing the workflow

I'm really struggling to get anywhere with finding the status information within the workflow builder. Is anyone able to shed some light on this please?

Many thanks,
Matthew.

UPDATE: For now I have set up my own columns and hidden them away to record when a workflow has sent out an email or not; which. When the conditions are no longer being met the value of the column is reset accordingly and the process can start over. This works fine but surely there's an easier way of doing this out of the box. I should be able to dip into the workflow history or the item itself and easily assess what has happened as part of a workflow.

I'm having 'fun' trying to prevent a workflow from running on a list item if the workflow has already run. The workflow runs each morning and emails item owners if their item hasn't been updated in over a month. I understand that the workflow updates its own little history with a success message. There's even a new column magically created in the list for each workflow.

To prevent an email being sent every time the workflow runs on items already captured by it (for example one of the workflows checks if an item was last updated within the last one to two months) I wanted to add a condition so that

if this item has a success / completed entry in the workflow history, stop processing the workflow

I'm really struggling to get anywhere with finding the status information within the workflow builder. Is anyone able to shed some light on this please?

Many thanks,
Matthew.

UPDATE: For now I have set up my own columns and hidden them away to record when a workflow has sent out an email or not; which works fine but surely there's an easier way of doing this out of the box.

I'm having 'fun' trying to prevent a workflow from running on a list item if the workflow has already run. The workflow runs each morning and emails item owners if their item hasn't been updated in over a month. I understand that the workflow updates its own little history with a success message. There's even a new column magically created in the list for each workflow.

To prevent an email being sent every time the workflow runs on items already captured by it (for example one of the workflows checks if an item was last updated within the last one to two months) I wanted to add a condition so that

if this item has a success / completed entry in the workflow history, stop processing the workflow

I'm really struggling to get anywhere with finding the status information within the workflow builder. Is anyone able to shed some light on this please?

Many thanks,
Matthew.

UPDATE: For now I have set up my own columns and hidden them away to record when a workflow has sent out an email. When the conditions are no longer being met the value of the column is reset accordingly and the process can start over. This works fine but surely there's an easier way of doing this out of the box. I should be able to dip into the workflow history or the item itself and easily assess what has happened as part of a workflow.

added 540 characters in body
Source Link

I'm having 'fun' trying to prevent a workflow from running on a list item if the workflow has already run. MyThe workflow runs each morning and emails item owners if their item hasn't been updated in over a month. This will email them each day. TheI understand that the workflow updates its own little history with a success message. There's even a new column magically created in the list for each workflow.

To prevent an email being sent every time the workflow runs on items already captured by it (for example one of the workflows checks if an item was last updated within the last one to two months) I wanted to add a condition so that

if this item has a success / completed entry in the workflow history, stop processing the workflow

I'm really struggling to get anywhere with finding the status information within the workflow builder. Is anyone able to shed some light on this please? I'm really struggling to get anywhere with it.

Many thanks,
Matthew.

UPDATE: For now I have set up my own columns and hidden them away to record when a workflow has sent out an email or not; which works fine but surely there's an easier way of doing this out of the box.

I'm having 'fun' trying to prevent a workflow from running on a list item if the workflow has already run. My workflow runs each morning and emails item owners if their item hasn't been updated in over a month. This will email them each day. The workflow updates its own little history with a success message. I wanted to add a condition so that

if this item has a success entry in the workflow history, stop processing the workflow

Is anyone able to shed some light on this please? I'm really struggling to get anywhere with it.

Many thanks,
Matthew.

I'm having 'fun' trying to prevent a workflow from running on a list item if the workflow has already run. The workflow runs each morning and emails item owners if their item hasn't been updated in over a month. I understand that the workflow updates its own little history with a success message. There's even a new column magically created in the list for each workflow.

To prevent an email being sent every time the workflow runs on items already captured by it (for example one of the workflows checks if an item was last updated within the last one to two months) I wanted to add a condition so that

if this item has a success / completed entry in the workflow history, stop processing the workflow

I'm really struggling to get anywhere with finding the status information within the workflow builder. Is anyone able to shed some light on this please?

Many thanks,
Matthew.

UPDATE: For now I have set up my own columns and hidden them away to record when a workflow has sent out an email or not; which works fine but surely there's an easier way of doing this out of the box.

Source Link

Check if workflow has already run

I'm having 'fun' trying to prevent a workflow from running on a list item if the workflow has already run. My workflow runs each morning and emails item owners if their item hasn't been updated in over a month. This will email them each day. The workflow updates its own little history with a success message. I wanted to add a condition so that

if this item has a success entry in the workflow history, stop processing the workflow

Is anyone able to shed some light on this please? I'm really struggling to get anywhere with it.

Many thanks,
Matthew.