How do I create an End To End Custom Condition in AAI linking an AutoSys File Watcher job to a CA7 job?
search cancel

How do I create an End To End Custom Condition in AAI linking an AutoSys File Watcher job to a CA7 job?

book

Article ID: 397421

calendar_today

Updated On: 05-13-2025

Products

Automation Analytics & Intelligence

Issue/Introduction

How to create a End To End Condition for a Autosys Filewatcher job linked to a CA7 job

Resolution

1. First you must Authenticate to the API using the swagger page or using another tool.

You can use the POST /api/authentication/login API endpoint below to authenticate.

2. Below is the API call you want to use POST /CustomConditions, once there, click "Try it out"

The screenshot may look a little different in 24.0.1 and earlier as this was just updated in 24.1:

 

3. Below is the payload you would use in the POST, the red parts are what you need to update with the scheduler name and job names.

{
"customConditionType": "jobEndToEndDependency",
"schedulerName": "AutosysSchedulerName",
"jobIdentifier": "ca7_to_autosys_file_watcherJob",
"dependantJobServerName": "CA7_SchedulerName",
"dependantJobIdentifier": "CA7JOB",
"type": "Success"
}


Copy pate the above into the into the box that allows you to specify the JSON you want to use.

Edit the jobs names and scheduler names and click "Execute"

If you get a 200 code the Custom Condition was successfully added.

If there is a problem and error will be displayed.