Set up bi-directional webhook for the GitLab spoke
Configure a webhook to subscribe to GitLab with a ServiceNow callback URL.
Avant de commencer
- Request Integration Hub subscription
- Activate the GitLab spoke
- Role required: admin
Register GitLab webhook in ServiceNow instance
Register GitLab in ServiceNow to notify the ServiceNow app when certain events occur in GitLab.
Avant de commencer
Procédure
Que faire ensuite
Customize a bi-directional webhook in the GitLab spoke
Create webhook routing policy and subflow as per your requirement in the GitLab spoke.
Avant de commencer
Role required: admin
Pourquoi et quand exécuter cette tâche
The default routing policy in the GitLab WebHook Routing Policies modules triggers the relevant GitLab subflow and notifies the ServiceNow app when certain events occur in GitLab. To use any other fields in your custom subflow and customize conditions in the routing policy, perform these steps.
Procédure
Résultats
Routing policy and subflow are created.