AnsweredAssumed Answered

How to get last time a workflow was run from within a workflow

Question asked by nwlpa on Oct 4, 2017
Latest reply on Oct 4, 2017 by emha

I want to create a site workflow that sends mails based on the values of some fields in a list. I know that I could trigger it on "item changed" if it was a list workflow. But since we are using someting called GetOrganized I'm not "allowed" to make a list workflow on that list. I then need to make a site workflow that runs at some interval. But I only want to send mails on items changed since last time i ran the workflow to avoid sending mails regarding the same item more that once. So how do I get the time of the last time the workflow was run? And even better - can I somehow know if the change was on one of the fields I'm inspecting? I.e. - can I query the item history?



Lars Peter