Hi folks,
I'm starting a workflow that has to check a datasource for changes and exceute a IPC event based on the result. (It runs a stored procedure and only has to react if there are results.)
So far I've got the workflow scheduled using the scheduler in Management. This works without an issue.
However: If I'm not mistaken, everytime a workflow is started through the scheduler it is started as a new instance and thus the ProcInstID increases.
I'm not sure of the exact ID range for the ProcInstID or if there is another way to avoid blowing the ID out of proportion.
My initial thought was to have one workflow always running that would just loop indefinitely. I've read that this might cause the state to grow too much. Also if the workflow fails somewhere, it freezes up my process.
For reference, the schedule I need is: Once every 5 minutes during workhours. (So you can see why the ID would increase rapidly!)
Has anyone had a similar situation? Or a different approach?
Thank you in advance for pointers on this topic.
Kind regards,
Alex