I’m looking at creating some backend events that are triggered by database updates, I only want it to run if there have been changes, but I also don’t want it to run any more than once every 24hrs.
While running it every time there is a change to the particular tables I’m looking at is possible, as users would be making hundredas of changes in a day, I imagine this would chew up WUs unnecessarily.
Does anyone have any tips on how to set this up, or am I beinging unnecessarily concerned about WUs?
Have a dateUpdated field and have a condition on the trigger such that the trigger only runs when dateUpdated < Current date/time +days -1. When you run the trigger (i.e its more than 24 hours), modify the dateUpdated field to be Current date/time.
There won’t be changes every day, but when there are changes, there will be lots. So running every 24 hrs is unnecessary, but if a change is made in any block of 24hr, then I will want to execute the workflow