Daml Trigger heartbeat example

Can I set the heartbeat for 1 day as well?

Sure but a few ceavets:

  1. That means you have up to 24h delay meaning you won’t fire at 00:00 but at 23:59 depending on when you started your trigger.
  2. It still doesn’t ensure your trigger doesn’t fire more often. Any ACS event for the registered templates as well as completions for commands you sent from your trigger wlll fire the trigger so it doesn’t remove the need to write your trigger such that it doesn’t fire multiple times on the same day.
2 Likes