Event rules actions #15409
Replies: 3 comments 10 replies
-
You can test it with a simple script like this:
You'll find that the
As far as I can tell, setting Action Data makes no difference. Note that this isn't in the same format as data supplied by manually invoking a script from the web UI (with form parameters), so a script designed to be run like that can't be run as an event triggered script, and vice versa. |
Beta Was this translation helpful? Give feedback.
-
If the event rule is triggered by a Data Source sync, the |
Beta Was this translation helpful? Give feedback.
-
so I am still a little confused. It seems than ANY change to a device results in my script getting triggered, but I thought it was only supposed to trigger if Primary IP was changed. I'm guessing this is why I was so confused to begin with since I thought the scope was limited to just the primary IP itself being updated. I must be missing something very obvious :( Time for a break! |
Beta Was this translation helpful? Give feedback.
-
Hello Community!
![image](https://private-user-images.githubusercontent.com/69692460/312001168-449efbe2-80bc-4d8f-8739-3004f855ad65.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTI4MTYsIm5iZiI6MTczOTU5MjUxNiwicGF0aCI6Ii82OTY5MjQ2MC8zMTIwMDExNjgtNDQ5ZWZiZTItODBiYy00ZDhmLTg3MzktMzAwNGY4NTVhZDY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA0MDgzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViNmI0NWU1NjI5MTZhNDI2NWFiMzI4NDU3YmNkZmYwNWQ2ODhmNTk5YTk2ZDUwMmRhNWFkMjNkMTExZWYxNGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wMFhXYsntSxOZIMPNGZaY2Fo0xS1t78z9gxgtNLzM1I)
I am trying to create an automation through "Event Rules", I would like that when a device with a certain tag is created a "custom script" is executed that makes modifications in the created device, but I am not sure how to pass the value of the device name that has been created to my script to perform the action. I think I should add something to the "Action data" field but I don't know how to do it. Could you help me?
Beta Was this translation helpful? Give feedback.
All reactions