This is a GenAI-powered tool. All generated answers require validation against the provided references.
it’s entirely possible to add a validation step in your Deploy Manager pipeline that checks for an approved ServiceNow ticket before allowing production deployments. Deployment Manager provides robust customization options that would support this requirement.
Here’s how you could implement this:
1. For indicating the ticket number:
You can add a custom field to the pipeline details form. Deployment Manager allows you to create custom tasks with customized input forms, where you could add a field specifically for the ServiceNow ticket number.
2. For making REST API calls to ServiceNow:
Deployment Manager supports the creation of custom tasks that can integrate with external systems. You could create a custom task that makes REST API calls to ServiceNow to verify the ticket status. This would involve:
Creating a custom task definition
Implementing the ServiceNow API connection logic
Fetching the ticket status based on the ticket number entered in the form
3. For showing errors when the ticket status is incorrect:
You can configure your custom validation task to block the deployment process and display an error message when the ServiceNow ticket status doesn’t meet your requirements (e.g., not approved, closed, or invalid).
Implementing this would involve:
Creating a custom task for ServiceNow integration
Modifying your pipeline to include this validation step before production deployment
Ensuring proper authentication and connection between Deployment Manager and ServiceNow
This approach aligns with Deployment Manager’s purpose of supporting customized quality gates and checkpoints specific to your business needs. The custom task functionality is specifically designed for integrations like this, where you need to automate validation against external systems.
@MarijeSchillern The response is correct. If this ask is on Deployment Manager v5, create custom tasks could be used for creation of Custom task. We also support dynamic inputs that will prompt the inputs when the deployment is executing the task. Please see add inputs to custom tasks