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.