Managing Automation Server jobs
Updated in 2022.1
The Automation Server is a Windows service dedicated to running automated tasks in Alloy Navigator. The Automation Server runs on the computer where you installed it, it is configured and started separately using the Alloy Automation Server Manager.
The Automation Server runs the following jobs in Alloy Navigator.
-
Outgoing e-mail - for details, see Configuring and controlling outgoing e-mail
-
Alloy Discovery Synchronization jobs - for details, see Integration with Alloy Discovery
-
Active Directory Synchronization jobs - for details, see Integration with Active Directory
-
Mail Connector jobs - for details, see Processing incoming e-mail
-
Archiving jobs - for details, see Archiving unused data
-
Reporting jobs - for details, see Scheduling reports
-
Workflow Triggers - for details, see Configuring Triggers
-
Workflow Scheduled Tasks - for details, see Configuring Scheduled Tasks
-
Recurrent Tickets - for details, see Configuring Create Actions and Managing Recurrent Tickets.
Automation Server properties
In the Services > Automation Server section, at the top, you can view the server properties:
-
Host - the computer name of the machine, which has the registered Automation Server instance installed.
-
Status - the status of the Automation Server, either Stopped or Running.
-
Version - the version of the Automation Server.
NOTE: To start or stop your server, use the Alloy Automation Server Manager on the computer hosting the Automation Server. Alloy Automation Server Manager is available only for Alloy Navigator On-Premises. For details, see Starting and stopping the Automation Server.
Automation Server job list
In the Services > Automation Server section, in the grid, you can view all existing jobs, grouped by type. Each entry in the job list displays basic information about a particular job.
-
Job Type - displays the type of the job: Mail Connector, Recurrent Ticket, Trigger On Condition, etc.
-
Name - displays the job name and the job ID (where available).
NOTE: The auto-generated ID uniquely identifies each workflow item, such as a Trigger or Create Action. For details, Accessing a workflow item or component by its ID.
-
Last Run Status - displays the status, date, and time of the last run of the job. Status can be one of the following:
-
Unknown - the job has not been loaded to the Automation Server yet or its schedule is disabled
-
Running - the job is running at the moment
-
Succeeded - the job was completed successfully
-
Failed - the job failed
-
Next Run Date - displays the date and time of the nearest scheduled job execution or either of the following messages:
-
The job has not started yet - The job is scheduled, but has not been run yet.
-
The job has expired - There are no scheduled executions before the end time defined for the job.
-
The job schedule is disabled - Running the job by schedule is disabled.
-
Queued to run as soon as possible - the job has been forced to run on the remote Automation Server. This message appears when your Automation Server instance is installed on a remote computer which does not belong to the same domain or workgroup as your Settings App. Typically, the remote Automation Server runs “ASAP” jobs within a minute after they were forced.
NOTE: If the Next Run Date value differs from the due time in the job’s schedule, it may take up to a minute for the Next Run Date value to be updated.
-
Enabled - displays whether the job schedule is currently enabled.
You can perform the following tasks here:
-
To view a job's session statistics:
-
Double-click the job. The job window opens.
-
Go to the Sessions tab and view job sessions.
-
To refresh the session records, click Refresh.
-
To clear the session records, click Clear All.
TIP: Alloy Navigator automatically removes old log records after a specified number of days. To change that number, click Settings and enter a new number.
-
-
-
To disable or enable a job:
-
Right-click the job and choose Disable from the pop-up menu.
To enable a disabled job, choose Enable.
-
-
To terminate a non-responding job:
-
Right-click the job and choose Terminate from the pop-up menu.
-
-
To view or modify a job's settings:
-
Double-click the job or select the job in the list and click Open on the Module menu. The job window opens.
-
Modify job settings (e.g., schedule) as needed and click OK.
-
-
To force a job to run:
-
Select the job and click Run on the Module menu.
The job will run regardless of its schedule and its disabled status.
-
-
To refresh the job list:
-
The information displayed in the job list automatically refreshes every ten seconds.
If needed, you can refresh it manually by clicking Refresh (or pressing F5 on the keyboard).
-
Managing High Availability mode
In the Services > Automation Server > High Availability Mode section you can designate any of the two Automation Server instances as primary. To do it, select the required Automation Server and click Set as Primary. As soon as the primary Automation Server is designated, the other server in the two-node group automatically becomes a fail-over instance.
INFO: For instructions on how to set up High Availability mode, see High Availability (HA).
Automatic termination of non-responding tasks
The Automatic Server automatically terminates non-responding jobs after a timeout period of one hour. If needed, you can terminate non-responding jobs manually.