webhook condition ignore changes in custom field #14733
powerscooter
started this conversation in
General
Replies: 2 comments
-
I do it so that in the webhook handler I check the username of the action. If the username is the automation username itself, the webhook handler does nothing. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have already considered this, but then Netbox sends unnecessary traffic to my webhook server. Is this possible with the webhook conditions? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I have set up a webhook which sends data to a webhook server when creating or updating a console port.
To see in Netbox if the configuration was successful I have created a custom field which is currently called "SYNC".
If the console server has been configured correctly, a "YES" is written to the field, if there is an error, "Error" is written to the field.
Because I now customise the SYNC field after configuring it via API, I always have an "UPDATE" event. Which causes the webhook to be executed again and again.
Is there a way to ignore changes in a specific custom field?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions