I am trying to build a snippet that checks current time and sees if it is before 8 AM and after 5 PM.
Keep getting this ’ “13” is not an object"…
def run(params={}):\n
print(params.get(“{{[“Action - 1”].[datetime]}}”)
return {}
I am trying to build a snippet that checks current time and sees if it is before 8 AM and after 5 PM.
Keep getting this ’ “13” is not an object"…
def run(params={}):\n
print(params.get(“{{[“Action - 1”].[datetime]}}”)
return {}
Have you look at the following workflow? This does what you want without using python. That being said, if you want to use python the earlier version of the workflow also has an example of how to use it correctly.