Every day 12Am to 4am we should not save the data to external system? What is the time function?

I have a requirement where the activity should not run between the 12am to 4am every day.

Check the system time stamp, if it’s between the morning 12am to 4am then exit the activity.

which function can work to achieve the above requirement?

Can you please help.

Hi @ShaheenS6022,

Please use the following getCurrentTimeOfDayOnlyStamp()>040000 && getCurrentTimeOfDayOnlyStamp()<235959

Thanks,

Sakhib Hussain

Thank You @SakhibHussain

Helped your solution.