The CreatorCon Call for Content is officially open! Get started here.

How to trigger Azure DevOps pipeline automatically on Approving the Change Request in ServiceNow.

Drishti jain
Kilo Contributor

When the change request gets created, it requires Approval to proceed. Once approved, ADO pipeline should get triggered automatically.

2 REPLIES 2

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

Steps:

1) Create a REST Message (https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.1)

2) Get credentials from Azure DevOps team.

3) In change Workflow use RUn script activity to trigger this Rest Message right after approvals.

4) If you want it synchronous then make REST Call synchronous or else asychronous.

Thanks,
Ashutosh

Do we have any other way to trigger pipeline using DevOps integration plug in from service now?  what is the usage of that plugin if we cannot use that for triggering pipelines? please suggest