Are scheduled workflows reliable? I'm testing out ...
# suiteflow
j
Are scheduled workflows reliable? I'm testing out a few Scheduled WFs in sandbox and it doesn't seem like they run on the schedule I set. However when put the WF in test mode and execute, it seems to work as expected. Additional info: • Scheduled daily • Using saved search as the WF condition Just wondering if I'm better off with a scheduled script. Never seem to have any issues there.
a
Yes I've found scheduled WF to be very reliable. Is your WF in sandbox just running periodically? Or does it never run on a schedule?
j
I have it set up to execute every 30 minutes
a
And does it execute sometimes? Or it just never wokrs?
Do you have a scheduled from date set but the Until Date is BLANK?
message has been deleted
j
Yeah, the until end date is blank. I was going to say it never works.. but one of them just worked. Maybe I just need to do some more testing
a
If you enable logging and keep instance and history then when you look at the WF logs you can see why it didn't work on some of the records
j
workflow logs on the record itself, or is there a place where I can see all logs for the WF?
a
In your workflow make sure Keep Instance and History are set to always and enable logging in checked
message has been deleted
Then on the System Information subtab you can go to Workflow History to see all the times it has run
message has been deleted
Then click on the Log link to see all the actions it took/considered when it ran. (If there is no record there then that means the record you are looking at did not meet the criteria of your saved search you are using to trigger the WF)