Skip to main content
16-Pearl
October 12, 2022
Solved

Getting time a subscription gets fired

  • October 12, 2022
  • 1 reply
  • 776 views

Hello, community,

 

I would like to capture the time a subscription gets fired. Is there a way to this

 

Regards.

TB

Best answer by Sathishkumar_C

User any of logger statements... that will logged in Script Log.

logger.info("info message: " + new Date());
logger.warn("warn message: " + new Date());
logger.error("error message: " + new Date());

 

Or you can create a stream and call stream entry service in subscription.

1 reply

17-Peridot
October 13, 2022

User any of logger statements... that will logged in Script Log.

logger.info("info message: " + new Date());
logger.warn("warn message: " + new Date());
logger.error("error message: " + new Date());

 

Or you can create a stream and call stream entry service in subscription.