Unable to successfully install batch package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 07:52 AM - edited 08-24-2023 10:26 AM
I have previously (March 2023) been able to execute a PowerShell script that used the CICD API - Batch Install to install multiple IRM applications automatically on fresh instances. Now (Aug 2023) the script no longer works.
1) I have read the API documentation - https://docs.servicenow.com/bundle/tokyo-api-reference/page/integrate/inbound-rest/concept/cicd-api....
2) I have tried using the REST API Explorer with the following RAW body:
{ "name": "TEST IRM Deployment",
"packages": [
{
"id": "4a3281d053030200d23c9c25911c086f",
"type": "application",
"load_demo_data": false,
"notes": "GRC: Policy and Compliance Management"
}]
}
However I receive the same error message that I am getting from PowerShell.
Unable to successfully install batch package TEST IRM Deployment:Invalid or empty installation plan provided, nothing to install..
I see this message when using the API call sn_cicd/progress, the initial API call indicates a successful call with a pending status. I have tried with only 1 application or with multiple, I have also tried different applications. Nothing changes. I get the error message and nothing is installed.
Please let me know if anyone has any advice on how to successfully perform a batch application install.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 01:19 PM
Hi Will,
Add Below parameter to the packages payload.
"requested_version": "[version of application]",
Thanks,
Sneha Gaba