Skip to main content


Hello,


Whenever I'm calling this fetch timestamp
siemplify.fetch_timestamp(datetime_format=True, timezone=False)
function after saving the time stamp using
siemplify.save_timestamp(datetime_format=True, timezone=False, new_timestamp=unix_now())
it's working fine but after the loop is running fresh its giving me "1970-01-01 00:00:00+00:00" this time. Any idea why?


Are you testing it in the IDE or in the connectors tab?



@Yair Stern
I'm testing in the IDE



I am fairly positive its fresh run every time there. When you say it works fine after saving, you mean in the same iteration?



@Yair Stern
yes, it's working fine in the same iteration.



Please try the following...:





As mentioned earlier, I am pretty sure that the timestamp is saved per connector instance and the IDE is producing a fresh instance every time you hit the play button


Reply