I am using DAML 1.18.0 version. I am using trigger for one of the automation job. I want to know how to pass heartbeat or use heartbeat in DAML Trigger?
P.S. Any sample examples will help.
Thanks
I am using DAML 1.18.0 version. I am using trigger for one of the automation job. I want to know how to pass heartbeat or use heartbeat in DAML Trigger?
P.S. Any sample examples will help.
Thanks
Hi @Pris17
Can you provide more information on what you’re trying to do?
The heartbeat
is just a field you set when defining your trigger Module Daml.Trigger — Daml SDK 2.3.2 documentation, e.g.,
myTrigger = Trigger with
…
heartbeat = Some (minutes 10)
So do we need to pass the value of heartbeat in the command to start the trigger? If yes, how to provide heartbeat details in the command?
No, you need to set the value in your Daml code
Got it. Thanks @cocreature … Let me try and check it.