This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Server Time - Workflow Based Notifications Send Time

Former Member
Former Member
Good day Community,

We have a unique scenario with a clients workflows and thought it might be a good idea to plug into the community to see if anyone has solved this before or has a starter point for the script that we may require.  I'd hope we aren't the first to run into this.

There are two parts to this scenario. Firstly the server has a set time for Daily Digest emails of 9:00 AM.  This also impacts any notification rules, built in the Desktop Client, one that use a Date value within the Define Filter, withholding them until 9:00 AM.  This is perfect, sending these out during the clients business hours.

We have also been building various workflows for this client and have noticed that on one workflow which utilizes the DayFrom() function, with a Date Property. That the workflows built in notifications, the ones on certain Events are triggering between 12:00 AM and 01:15 AM.  This makes sense as the server clocks kicks over to the next day, and the property matches the Define Filter conditions of the trigger, the one set before the workflow State containing the notification settings.  Unlike the Notification Rules, these do not appear to be governed by the Digest message time setting in the Admin Console thus they are sent out immediately once matching.

Could a script in the State Transition trigger resolve this?

Or should we script a Precondition on the State with the notification Action?

One concern we have is that if its a Precondition, would it sit on the server until the specified time frame, or would it be prompting the server constantly to complete that action?  Wouldn't want to bog the server down unnecessarily.

Please let me know if you have any suggestions or thoughts regarding this scenario.

Thanks
Parents
  • Former Member
    Former Member
    Out of curiosity what are those two properties (1247 & 1629)? Are they additional date values on that metadata card?

    From our talks with M-Files it appears that workflows will trigger some random(ish) time between the start of the hour and the end of it. Its not really able to be refined down to a specific minute of that hour, that's likely why your seeing it within 45 minutes of 15:00.

    Thanks for posting that, this is a huge help!
Reply
  • Former Member
    Former Member
    Out of curiosity what are those two properties (1247 & 1629)? Are they additional date values on that metadata card?

    From our talks with M-Files it appears that workflows will trigger some random(ish) time between the start of the hour and the end of it. Its not really able to be refined down to a specific minute of that hour, that's likely why your seeing it within 45 minutes of 15:00.

    Thanks for posting that, this is a huge help!
Children
No Data