custom scripts called by event rule #16952
-
Hi, I prepare a custom script, called by an event rule. The first script works. But my second try dosn't work. I want to find out how the data is structured / reverse engineering ;-) . For this I want to write the data in a textfile with json.dumps(data) I got an errormessage (after event: create a device) An exception occurred: `TypeError: Object of type proxy is not JSON serializable. Whats wrong and is there a better way to discover the datastructure for the different event I want to use. ~Frank |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can look at the data through "background tasks". If you are on v4, Admin -> Background Tasks and there search for your task after the script ran. |
Beta Was this translation helpful? Give feedback.
You can look at the data through "background tasks". If you are on v4, Admin -> Background Tasks and there search for your task after the script ran.