Flow Designer need to integrate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 10:40 PM
Hi everyone,
I have a requirement :
Need to add payload and ansible AAP template API.
Need to add 3 new catalog tasks
1. Stop Tomcat Instances
URL: https://controller.aapbmylc6irzyfx6.ansiblecloud.redhat.com/api/v2/job_templates/1013/launch/
Payload:
{
"FQDNHostname": <Server_Name>,
"Task": <Task Name>
"ServiceNowEnv": <Env>
}
2.. Upgrade Java jdk to latest version
URL: https://controller.aapbmylc6irzyfx6.ansiblecloud.redhat.com/api/v2/job_templates/1016/launch/
Payload:
{
"FQDNHostname": <Server_Name>,
"Task": <Task Name>
"ServiceNowEnv": <Env>
}
3. Start Tomcat Instances
URL: https://controller.aapbmylc6irzyfx6.ansiblecloud.redhat.com/api/v2/job_templates/991/launch/
Payload:
{
"FQDNHostname": <Server_Name>,
"Task": <Task Name>
"ServiceNowEnv": <Env>
}
Every step should be executed at 3 different tasks; I have made the flow but not sure how to incorporate the above requirements here. Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 11:22 PM
Hi @nupur_goswami
Are you using Ansible Spoke?
If yes, then you can use the "Launch Job Template" Soke action to trigger the ansible jobs.
Chec out the below doc for more details..
https://www.servicenow.com/docs/bundle/xanadu-integrate-applications/page/administer/integrationhub-...
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 11:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2025 11:38 PM
@nupur_goswami
Then please check with your Ansible team to share the API, credential information to trigger the job using REST action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2025 12:59 AM
@J Siva we already have the connection and credentials to Ansible