Automate Scripts to Update Custom Fields #9462
-
I have some scripts that are used to update some of the custom fields for Sites/Providers/etc. The input for these scripts depends on the data associated with each Circuit. Is there a way to trigger a script to run when a circuit is updated or a new one is created? It would be really nice to have each field automatically update without having to manually run a script. I assume it is possible but perhaps it is not. My first thought was that webhooks could do this but I am new to this and have never used webhooks. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Sounds like you should be able to use custom validators for this. Attach a validator to a circuit and you'll be able to run your code to modify providers... as you like. Be warned, that might be abusing the custom validation functionality a bit, though :) |
Beta Was this translation helpful? Give feedback.
Sounds like you should be able to use custom validators for this.
Attach a validator to a circuit and you'll be able to run your code to modify providers... as you like. Be warned, that might be abusing the custom validation functionality a bit, though :)