Automate
The integration with Automate Plus/Ultimate lets you run Workflows in Automate from JAMS. The Job can then be monitored from the Monitor view within JAMS. This integration does not require enabling it in the JAMS installer. The Workflow in Automate can contain variables. Any available input variables for the Workflow appear as Parameters on the Job.
Before You Begin
- Ensure the Automate REST API has been enabled within the Automate application. See Automate API documentation in the Community Portal for more information.
- Ensure you have the correct port number for accessing the REST API. Otherwise, the default port, 9708, is used.
- Ensure you have the name or Id of the Automate Workflow.
- Install the JAMS Windows Agent if the JAMS Scheduler will not be running the Workflow. See JAMS Agent for Windows.
Creating a Credential
Create a Credential in JAMS that will be used to connect to the Automate server. This Credential contains the Username and Password for authenticating to the Automate REST API. Users must have Inquire and Get Password permissions to this Credential to retrieve Workflows from Automate.
See Working with User Credential Definitions for more information.
Creating an Automate Job in JAMS
Ensure the user creating the definition has permissions to the Credential that is referenced in the Job. If you change the Automate Server or Port fields, the Automate User and Workflow fields will be cleared.
- Click Definitions from the JAMS Shortcuts menu.
- Click a folder where the Job will be saved.
- Click +.
- In the Name field, enter a name for the Job.
- In the Execution Method field, select Automate.
- Click Ok.
- Click the Source tab.
- In the Automate Server field, enter the IP address or server name of the Automate server.
- In the Port field, enter the port for the Automate server. The default is 9708.
- In the Automate User field, select the JAMS Credential that you previously created.
- In the Workflow Name, select or type the Workflow name or Id in Automate that you want to run. If there are Workflows with the same name in different folders, enter the Workflow Id.
- Click the Schedule tab to add schedule items to set when the Job will run.
- Click the Parameters tab to view any variables that are defined on the Automate Workflow. You can override these values, if needed.
- Click the Properties tab.
- In the Execute As field, select a credential to run the Job.
- In the Agent field, select the Agent if the Job will not run on the Scheduler.
- Click Save and Close.