Skip to main content

Triggers

Triggers are used to define schedules and submit Jobs based on changes or events in the JAMS environment. After a Trigger is added, JAMS will continuously watch for the specified Trigger condition and then submit the Job.

After the Job has completed, the Trigger is reset and JAMS watches for the next occurrence. The Job will not be submitted until the Trigger condition has been met. You can add Triggers, other than Interval or Recurrence Triggers, to a Job or Folder. Any Triggers set on a Folder will be inherited by that Folder's child Jobs.

You can also reset a File, Remote File, Variable, Email, or Job Completion Trigger with a Fired state. This is useful if the Trigger has been disabled due to reaching the Fast Fire Limit, which is the number of times a Trigger can fire. See Resetting a Trigger.

Any Triggers set on a Folder will be inherited by that Folder's child Jobs.

You can add multiple Trigger conditions to a Job by specifying the same name in the And Group property that is described below. JAMS will look for all the specified Triggers in the same And Group to be met before the Job is scheduled.

note

If you leave the And Group empty, it creates a group with a blank name. All Triggers that have an empty And Group are put into this group and the Job will not run until all Triggers in this group are satisfied.

Triggers are used to automatically schedule Jobs. They can be automatically scheduled to run at specific dates and times, at regular intervals, or in response to dynamic events such as a file arriving on a file system or email arriving in a mailbox. The following types of Triggers are available:

  • Schedule Trigger
  • Job Completion Trigger
  • Interval Trigger
  • File Trigger
  • Remote File Trigger
  • Variable Trigger
  • Email Trigger
  • Recurrence (Same Monitor Entry)
  • Recurrence (New Monitor Entry)
note

Triggers will continue to be active until you disable them from their properties on the Schedule tab. See the tables below for the Enabled option. Canceling a Watch Job in the Monitor does not disable a Trigger. You must disable the Trigger on the Folder or Job.

Running a Job on a Schedule​

You can add a Schedule Trigger to a Folder or Job to set it to automatically run at a set date and time. If you set the Trigger on a Folder, all Jobs in the Folder will inherit the Trigger.

  1. Click Jobs from the main menu.
  2. In the Folder Navigator, click a Folder.
  3. Do one of the following:
  • To set a Folder Trigger, click , and then select Properties.
  • To set a Job Trigger, click a Job, and then click Properties.
  1. Click the Schedules tab.
  2. In the Run this Job section, click ADD.
  3. Select on a schedule.
  4. In the Scheduled Date field, select a date when the Job should run.
  5. In the Scheduled Time field, enter a time when the Job should run.
  6. In the Time Zone field, select the appropriate time zone.
  7. Set any additional Exceptions or Override properties to control the Job as needed. See the table below.
  8. Click Save. The Trigger is listed under the Run this job section on the Schedule tab.

Schedule Trigger Properties​

note

A Schedule Trigger cannot be reset. To stop it from submitting the Job, clear the Enabled checkbox. See Resetting a Trigger for the Trigger types that can be reset.

StatusDescription
EnabledSelect or clear the checkbox to enable or disable the Trigger. When this option is disabled, this Trigger will not cause the Job to run.
ScheduleDescription
Scheduled DateThis property is a natural language date specification for selecting the date the Job should run. You can select a value from the drop-down menu or enter values such as 1st Friday of Month.
Scheduled TimeThis property is the time of day when the Job should start.
Time ZoneThis property is the time zone used for this item.
ExceptionsDescription
Except For DateThis property lists the dates or date specifications when this Job will not run.
Start DateIf this option is defined, the Job will not be scheduled to run until this date.
End DateIf this option is defined, the Job will not be scheduled to run after this date.
Non Workday SchedulingThis property determines if this Job should be scheduled on non-workdays. The following options are available:
  • Schedule – Schedule the Job even though it is a non-workday.
  • Ignore – Ignore the Job and do not schedule it.
  • Defer – Defer the Job until the next specified workday.
OverrideDescription
CalendarThis property specifies the Calendar to use for scheduling. When a Calendar is listed, the Job will have access to the Date Types, such as holidays, in the Calendar.
Execute AsThis property specifies the set of Credentials the Job will execute as when submitted by this Trigger.
AgentThis property specifies the Agent where the Job will execute when the Job is submitted by this Trigger.
Batch QueueThis property specifies the Batch Queue that will be used when this Job is scheduled by this Trigger.
Submit On HoldSelect or clear this checkbox to submit the Job on Hold when it is scheduled by this Trigger. The Job will require manual intervention before it is allowed to run.
CommentThis property specifies a comment that will be added to the entry when it is submitted by this Trigger.

Running a Job after Another Job​

You can add a Job Completion Trigger to a Folder or a Job to set it to automatically run if the monitored Job completes or fails. If you set the Trigger on a Folder, all Jobs in the Folder will inherit the Trigger.

  1. Click Jobs from the main menu.
  2. In the Folder Navigator, click a Folder.
  3. Do one of the following:
  • To set a Folder Trigger, click , and then select Properties.
  • To set a Job Trigger, click a Job, and then click Properties.
  1. Click the Schedules tab.
  2. In the Run this Job section, click ADD.
  3. Select after another Job.
  4. In the Schedule For Date field, enter a date when the Job should run.
  5. In the Scheduled Time field, enter a time when the Job should run.
  6. In the Trigger Job field, click Browse to browse to the Job that will act as the Trigger.
  7. In the Success or Failure field, select Success, Failure, or Any to set the status for the Job that acts as the Trigger.
  8. Set any additional Override properties to control the Job as needed. See the table below.
  9. Click Save. The Trigger is listed under the Run this job section on the Schedule tab.

Job Completion Trigger Properties​

StatusDescription
EnabledSelect or clear this checkbox to enable or disable a Trigger. When this option is disabled, this Trigger will not cause the Job to run.
ScheduleDescription
Schedule For DateThis property specifies the date the Job is scheduled to run. If you do not specify a date, the Job will run today at the time specified in the Scheduled Time property.

Note: If neither property is set, the Job will run immediately if not set in either place.
Scheduled TimeThis property specifies the time of day when the Job is scheduled to run. If you do not specify a time, the Job will run at the current time and on the day specified in the Schedule For Date property.

Note: If neither property is set, the Job will run immediately if not set in either place.
TriggerDescription
Trigger JobThis property specifies the Job which the trigger should watch for.
Success or FailureThis property specifies if the Trigger will watch for a successful or failed completion of the Trigger Job. If Success and Failure conditions have not been set on the Trigger Job, Success will be satisfied by Informational or better completion status, and Failure will be satisfied by Warning or worse completion status. You can also select Any to have JAMS trigger the Job regardless of the final status.
And GroupAll the Triggers in the same "And Group" must fire before the Job is triggered. If you leave the And Group empty, it creates a group with a blank name. All Triggers that have an empty And Group are put into this group and the Job will not run until all Triggers in this group are satisfied.
OverrideDescription
Execute AsThis property specifies the set of credentials the Job will execute as when submitted by this Trigger.
AgentThis property specifies the Agent where the Job will execute when the Job is submitted by this Trigger.
Batch QueueThis property specifies the Batch Queue that will be used when this Job is scheduled by this Trigger.
Submit On HoldSelect or clear this checkbox to submit the Job on Hold when it is scheduled by this Trigger. The Job will require manual intervention before it is allowed to run.
CommentThis property specifies a comment that will be added to the entry when it is submitted by this Trigger.

Running a Job on an Interval​

You can add an Interval Trigger to a Job to set it to automatically run on a set period of time, such as every 15 minutes. Interval Triggers should only be used for Jobs that will run all day, every day. If you need to cancel an Interval Trigger, you need to disable the Trigger on the Job. Canceling the Job in the Monitor will not end the Trigger.

If you need more control on the times that the Job will run, it is recommended to use a recurrence.

note

This option cannot be set at the Folder level.

  1. Click Jobs from the main menu.
  2. In the Folder Navigator, click a Folder.
  3. Click a Job, and then click Properties.
  4. Click the Schedules tab.
  5. In the Run this Job section, click ADD.
  6. Select on an interval.
  7. In the Schedule Interval field, enter the time between each run of the Job.
  8. In the Next Scheduled Time UTC, enter the date and time the Job should run again.
  9. The Always Resubmit checkbox is selected by default for new Interval Triggers, so a new entry is created in the Monitor for each run of the Job. Clear the checkbox to restart the same entry.
  10. In the Base Time field, select EndTime, ScheduledTime, or StartTime to set what time should be used to calculate the next repetition when the Job resubmits.
  11. Set any additional Override properties to control the Job as needed. See the table below.
  12. Click Save. The Trigger is listed under the Run this job section on the Schedule tab.

Interval Trigger Properties​

StatusDescription
EnabledSelect or clear this checkbox to enable or disable a Trigger. When this option is disabled, this Trigger will not cause the Job to run.
IntervalDescription
Schedule intervalThis property specifies when the Job will be scheduled on this interval.
Next Scheduled Time UTCThis property specifies the date and time when this Job is next scheduled to run using UTC. This property is updated after one Job submission if the Always Resubmit option is selected.
Always Resubmit?Select or clear the checkbox to create a new entry for each Job. This option is selected by default for new Interval Triggers. When this option is selected, a new entry is submitted for each interval. When this option is cleared, the existing entry is repeated if the interval is shorter than the retain time.
Base TimeThis property specifies what time should be used to calculate the next repetition when the Job resubmits. Options include:
  • EndTime – The completion time of the entry in the Monitor.
  • ScheduledTime – The time the Job is scheduled to run.
  • StartTime - The actual start time of the Job.
OverrideDescription
Execute AsThis property specifies the set of credentials the Job will execute as when submitted by this Trigger.
AgentThis property specifies the Agent where the Job will execute when the Job is submitted by this Trigger.
Batch QueueThis property specifies the Batch Queue that will be used when this Job is scheduled by this Trigger.
Submit On HoldSelect or clear this checkbox to submit the Job on Hold when it is scheduled by this Trigger. The Job will require manual intervention before it is allowed to run.
CommentThis property specifies a comment that will be added to the entry when it is submitted by this Trigger.

Running a Job based on a File​

You can add a File Trigger to a Folder or a Job to set it to automatically run if the monitored file is present, available, or absent. If you set the Trigger on a Folder, all Jobs in the Folder will inherit the Trigger.

You will need to create a Credential in JAMS that has access to the location of the file that will be monitored. See Credentials for more information.

  1. Click Jobs from the main menu.
  2. In the Folder Navigator, click a Folder.
  3. Do one of the following:
  • To set a Folder Trigger, click , and then select Properties.
  • To set a Job Trigger, click a Job, and then click Properties.
  1. Click the Schedules tab.
  2. In the Run this Job section, click ADD.
  3. Select based on a file.
  4. In the Schedule For Date field, enter a date when the Job should run.
  5. In the Scheduled Time field, enter the time when the Job should run.
  6. In the Credentials field, select the Credentials that have access to the file location.
  7. In the File Name field, enter the file path and the name of the file that will be monitored.
  8. In the File Presence Option field, select Present, Available, or Absent.
  9. In the Recursive field, select or clear the checkbox to have JAMS look in any subfolders for the file.
  10. In the Agent field, select the Agent where the file watch will occur.
  11. In the Any Credential field, leave the checkbox selected to let JAMS use a single file watch for this file even when other Jobs are watching it under different credentials. Clear the checkbox to create a separate file watch that uses only these credentials.
  12. In the Aggregate field, leave the checkbox selected to have JAMS watch for this file in a shared Watcher process, along with the other files being watched using the same credentials. Clear the checkbox to watch for this file in a process of its own.
  13. Set any additional Override properties to control the Job as needed. See the table below.
  14. Click Save. The Trigger is listed under the Run this job section on the Schedule tab.

File Trigger Properties​

StatusDescription
EnabledSelect or clear this checkbox to enable or disable a Trigger. When this option is disabled, this Trigger will not cause the Job to run.
ScheduleDescription
Schedule For DateThis property specifies the date the Job is scheduled to run. If you do not specify a date, the Job will run today at the time specified in the Scheduled Time property.

Note: If neither property is set, the Job will run immediately if not set in either place.
Scheduled TimeThis property specifies the time of day when the Job is scheduled to run. If you do not specify a time, the Job will run at the current time and on the day specified in the Schedule For Date property.

Note: If neither property is set, the Job will run immediately if not set in either place.
TriggerDescription
And GroupAll the Triggers in the same "And Group" must fire before the Job is triggered.

If you leave the And Group empty, it creates a group with a blank name. All Triggers that have an empty And Group are put into this group and the Job will not run until all Triggers in this group are satisfied.
File WatchDescription
CredentialsSelect a set of Credentials for this Trigger. The credentials must have access to the file location.
File NameThis property specifies the file specification to that will be monitored. You can enter the path and file name, such as \\Server\Share\*.txt or C:\WatchFiles\Job1.trg” Wildcards are allowed.
File Presence OptionThis property specifies if the file must be present, absent, or available.
Minimum SizeThis property specifies a minimum acceptable size for the file. This is useful if the file is being written by multiple processes.
RecursiveThis property specifies whether to perform this action recursively (used for directories).
AgentThis property specifies the Agent where the file watch will be performed.
Any CredentialThis property specifies whether JAMS can use a single file watch process for this file when other Jobs are watching it under different credentials. Selected by default.
AggregateThis property specifies whether JAMS watches for this file in a shared Watcher process along with the other files being watched using the same credentials. Selected by default.
OverrideDescription
Execute AsThis property specifies the set of credentials the Job will execute as when submitted by this Trigger.
AgentThis property specifies the Agent where the Job will execute when the Job is submitted by this Trigger.
Batch QueueThis property specifies the Batch Queue that will be used when this Job is scheduled by this Trigger.
Submit On HoldSelect or clear this checkbox to submit the Job on Hold when it is scheduled by this Trigger. The Job will require manual intervention before it is allowed to run.
CommentThis property specifies a comment that will be added to the entry when it is submitted by this Trigger.

Turning Off Aggregation for a File Watch​

By default, JAMS watches for files in a shared process along with other file watches using the same credentials (see Aggregate, above). There are two ways to turn this off, and which one you want depends on how much you want to opt out.

To opt out a single file watch, clear the Aggregate checkbox on that individual File Dependency or File Trigger. That watch then runs in its own dedicated process, and every other file watch continues to be aggregated.

To opt out every file watch on the system, add a Parameter named FileWatchNoAggregates (Data Type: Boolean, Value: True) to the FileWatch job itself, or to a Folder above it. For more information on adding Folder Parameters, see Folders.

note

JAMS does not watch for files from your own Job. When you add a File Dependency or File Trigger, JAMS submits a separate FileWatch job to do the watching, and that job lives in the JAMS system Folders rather than alongside your Job. Adding FileWatchNoAggregates to the Folder that holds your own Jobs therefore has no effect, because the FileWatch job does not inherit from it.

note

Because all FileWatch jobs share the same location, setting FileWatchNoAggregates on a Folder above them turns aggregation off for every file watch in the system. To opt out only some of your file watches, clear the Aggregate checkbox on each one instead.

note

FileWatchNoAggregates overrides the Aggregate checkbox: where it is set True, file watches always run in a dedicated process, even where Aggregate is still selected.

File Watch Log Messages​

Each FileWatch job reports the settings it is using near the top of its log:

Log MessageDescription
AggregateWhether this Dependency or Trigger's Aggregate checkbox was selected.
No AggregatesWhether the FileWatchNoAggregates Parameter is set to True on the FileWatch job or a Folder above it.
Any CredentialWhether this Dependency or Trigger's Any Credential checkbox was selected.

Running a Job Based on a Remote File​

You can add a Remote File Trigger to a Folder or a Job to set it to automatically run when a file is present in, absent from, or available in an Amazon S3 bucket or an Azure Blob Storage container. JAMS polls the container on an interval. If you set the Trigger on a Folder, all Jobs in the Folder will inherit the Trigger.

You will need an Amazon S3 or Azure Blob Connection whose Credential can list the files in the container. For the Connection setup, the permissions required, and how the Trigger behaves, see How Remote File Triggers Work.

  1. Click Jobs from the main menu.
  2. In the Folder Navigator, click a Folder.
  3. Do one of the following:
  • To set a Folder Trigger, click , and then select Properties.
  • To set a Job Trigger, click a Job, and then click Properties.
  1. Click the Schedules tab.
  2. In the Run this Job section, click ADD.
  3. Select based on a remote file.
  4. In the File Name field, enter the file name or wildcard pattern to watch for. Do not include a path.
  5. In the File Presence Option field, select Present, Available, or Absent.
  6. In the Connection field, select the Amazon S3 or Azure Blob Connection.
  7. In the Container field, enter the bucket or container name.
  8. In the Remote Path field, enter the folder within the container to watch.
  9. Set Minimum Size, Minimum File Count, Polling Interval, and Agent as needed. See the table below.
  10. Set any additional Override properties to control the Job as needed.
  11. Click Save. The Trigger is listed under the Run this job section on the Schedule tab.

If the File Name contains / or \, the Web Client shows a warning under the field. The Trigger can still be saved, but the path belongs in Remote Path.

Remote File Trigger Properties​

StatusDescription
EnabledSelect or clear this checkbox to enable or disable a Trigger. When this option is disabled, this Trigger will not cause the Job to run.
ScheduleDescription
Schedule For DateThis property specifies the date the Job is scheduled to run. If you do not specify a date, the Job will run today at the time specified in the Scheduled Time property.
Scheduled TimeThis property specifies the time of day when the Job is scheduled to run. If you do not specify a time, the Job will run at the current time on the day specified in the Schedule For Date property.
TriggerDescription
And GroupAll the Triggers in the same "And Group" must fire before the Job is triggered.

If you leave the And Group empty, it creates a group with a blank name. All Triggers that have an empty And Group are put into this group and the Job will not run until all Triggers in this group are satisfied.
File WatchDescription
File NameThe file name to watch for. The * and ? wildcards are allowed. Matching is case-sensitive.
File Presence OptionPresent, Available, or Absent. The default is Present. See Present, Available, and Absent.
Minimum SizeThe minimum size, in bytes, that each matching file must have to be counted. The default is 0.
ConnectionRequired. The Amazon S3 or Azure Blob Connection to watch. Only these Connection types are listed.
ContainerThe S3 bucket or Azure Blob container. For Amazon S3, leave it empty to use the Connection's bucket. For Azure Blob, a container is required.
Remote PathThe folder within the container. Only files directly inside it are matched; subfolders are not searched. Leave it empty to watch the root of the container.
Minimum File CountThe number of matching files that must exist before the Trigger is satisfied. The default is 1, and the minimum is 1.
Polling IntervalHow often, in seconds, JAMS checks the container. The default is 60, and the minimum is 1.
AgentThe Agent that performs the polling. If it is empty, the Scheduler's default local Agent is used.

Container, Remote Path, and File Name accept the same tokens as the File Trigger.

OverrideDescription
Execute AsThis property specifies the set of credentials the Job will execute as when submitted by this Trigger.
AgentThis property specifies the Agent where the Job will execute when the Job is submitted by this Trigger. This is separate from the File Watch Agent, which only performs the polling.
Batch QueueThis property specifies the Batch Queue that will be used when this Job is scheduled by this Trigger.
Submit On HoldSelect or clear this checkbox to submit the Job on Hold when it is scheduled by this Trigger. The Job will require manual intervention before it is allowed to run.
CommentThis property specifies a comment that will be added to the entry when it is submitted by this Trigger.

When you save an inherited Remote File Trigger from a Job, the change is saved as an override on that Job. The Folder's Trigger is not changed.

In the Monitor, the Schedules tab of an Entry shows a Remote File Trigger read-only, in the Triggered By group when it submitted the Entry and in the Run this Job group otherwise. See Schedules Tab for the fields the drawer shows.

Running a Job based on a Variable​

You can add a Variable Trigger to a Folder or a Job to set it to automatically run when the value of the Variable changes. If you set the Trigger on a Folder, all Jobs in the Folder will inherit the Trigger.

  1. Click Jobs from the main menu.
  2. In the Folder Navigator, click a Folder.
  3. Do one of the following:
  • To set a Folder Trigger, click , and then select Properties.
  • To set a Job Trigger, click a Job, and then click Properties.
  1. Click the Schedules tab.
  2. In the Run this Job section, click ADD.
  3. Select based on a Variable.
  4. In the Schedule For Date field, enter a date when the Job should run.
  5. In the Scheduled Time field, enter a time when the Job should run.
  6. In the Compare Condition field, select an option to set how the Variable will be compared with the changed value.
  7. In the Compare Value field, enter a value that will be used to compare the existing value of the Variable.
  8. In the Variable field, click Browse to select the Variable that will be monitored.
  9. Set any additional Override properties to control the Job as needed. See the table below.
  10. Click Save. The Trigger is listed under the Run this job section on the Schedule tab.

Variable Trigger Properties​

note

A Variable Trigger is evaluated and can run only when the value of the variable has changed, even if the Trigger conditions are currently true. Changing the Job will not cause a Trigger to be evaluated.

StatusDescription
EnabledSelect or clear this checkbox to enable or disable a Trigger. When this option is disabled, this Trigger will not cause the Job to run.
ScheduleDescription
Schedule For DateThe date the Job is scheduled to run. If you do not specify a date, the Job will run today at the time specified in the Scheduled Time property.

Note: If neither property is set, the Job will run immediately if not set in either place.
Scheduled TimeThe time of day when the Job is scheduled to run. If you do not specify a time, the Job will run at the current time and on the day specified in the Schedule For Date property.

Note: If neither property is set, the Job will run immediately if not set in either place.
TriggerDescription
And GroupAll the Triggers in the same “And Group” must fire before the Job is triggered. If you leave the And Group empty, it creates a group with a blank name. All Triggers that have an empty And Group are put into this group and the Job will not run until all Triggers in this group are satisfied.
CompletionDescription
Compare ConditionThis property specifies the type of comparison that should be performed. The available options include changed, equal, less than, greater than, less than equal, greater than equal, not equal, false, or true.
Compare ValueThis property specifies the value used in the condition comparison.
ValueDescription
VariableThis property specifies the JAMS Variable that contains the default value.
OverrideDescription
Submit On HoldSubmits the Job on Hold when it is scheduled by this Trigger. The Job will require manual intervention before it is allowed to run.

Running a Job Based on an Email​

You can add an email Trigger to a Job or a Folder to set it to automatically run based on a monitored email and its properties, such as Subject, From Address, or To Address. If you set the Trigger on a Folder, all Jobs in the Folder will inherit the Trigger.

Graph API​

If you are using Microsoft Graph API, ensure you have created a Connection Store object and a new Credential in JAMS for the email address/mailbox. You can specify this connection in the Mail Server field for the Job. See Connections to Mail Servers for more information.

EWS​

If you are using Microsoft Office 365 Modern Authentication, ensure you have created an EWS Connection Store object and a new Credential in JAMS for the email address/mailbox. You can specify this connection in the Mail Server field for the Job. Only EWS Connections Store objects can be used for Modern Authentication. See Connections to Mail Servers for more information.

  1. Click Jobs from the main menu.
  2. In the Folder Navigator, click a Folder.
  3. Do one of the following:
  • To set a Folder Trigger, click , and then select Properties.
  • To set a Job Trigger, click a Job, and then click Properties.
  1. Click the Schedules tab.
  2. In the Run this Job section, click ADD.
  3. Select based on an email.
  4. In the Schedule For Date field, enter a date when the Job should run.
  5. In the Mail Server field, select the Connection Store item for the mail server.
  6. In the Subject field, enter the text in the subject line that will be used as part of the mail watch Job.
  7. In the From Address field, enter the email address that the mail watch Job will watch for.
  8. In the To Address field, enter the email address that the mail watch Job will watch for.
  9. Set any additional Override properties to control the Job as needed. See the table below.
  10. Click Save. The Trigger is listed under the Run this job section on the Schedule tab.

Mail Trigger Properties​

StatusDescription
EnabledSelect or clear this checkbox to enable or disable a Trigger. When this option is disabled, this Trigger will not cause the Job to run.
ScheduleDescription
Schedule For DateThis property specifies the date the Job is scheduled to run. If you do not specify a date, the Job will run today at the time specified in the Scheduled Time property.

Note: If neither property is set, the Job will run immediately if not set in either place.
Scheduled TimeThis property specifies the time of day when the Job is scheduled to run. If you do not specify a time, the Job will run at the current time and on the day specified in the Schedule For Date property.

Note: If neither property is set, the Job will run immediately if not set in either place.
TriggerDescription
And GroupAll the Triggers in the same "And Group" must fire before the Job is triggered.

If you leave the And Group empty, it creates a group with a blank name. All Triggers that have an empty And Group are put into this group and the Job will not run until all Triggers in this group are satisfied.
Mail ServerDescription
Mail ServerThis property sets the Connection Store object that specifies the mail server to use when receiving e-mail.
Mail CredentialsThis property specifies the Credentials used to access the mail server and the email account that will be monitored. These mail Credentials override the mail Credentials on the Connection Store object. Otherwise, the mail Credentials on the Connection Store object are used.
DispositionDescription
Mark as ReadWhen this option is set to true, the e-mail will be marked as read when the Trigger runs.
Delete E-MailWhen this option is set to true, the e-mail will be deleted from the mail server when the Trigger runs.
Mail SelectionDescription
SubjectThis property specifies the subject of the e-mail that JAMS will watch for to trigger the Job. If the Subject contains the specified text regardless of the capitalization, the criteria for this trigger will be met.
From AddressThis property specifies the from address for the email that JAMS will watch for to trigger the Job.
To AddressThis property specifies an address to look for in the To: field of the email that JAMS will watch for to trigger the Job.
OverrideDescription
Execute AsThis property specifies the set of credentials the Job will execute as when submitted by this Trigger.
AgentThis property specifies the Agent where the Job will execute when the Job is submitted by this Trigger.
Batch QueueThis property specifies the Batch Queue that will be used when this Job is scheduled by this Trigger.
Submit On HoldSelect or clear this checkbox to submit the Job on Hold when it is scheduled by this Trigger. The Job will require manual intervention before it is allowed to run.
CommentThis property specifies a comment that will be added to the entry when it is submitted by this Trigger.

Running a Job Based on a Recurrence (Same Monitor Entry)​

You can add a Recurrence option to a Job to set it to run repeatedly. A recurrence gives you more granular control than an Interval Trigger. For example, you can set a Recurrence option to run the Job every hour from 8am to 5pm. You can also set this to run daily or only on weekdays/workdays.

The same Monitor Entry will be resubmitted, so the number will not change. This is useful to keep the list of Entries in the Monitor view smaller because the same Entry/number is reused.

  1. Click Jobs from the main menu.

  2. In the Folder Navigator, click a Folder.

  3. Click a Job, and then click Properties.

  4. Click the Schedules tab.

  5. In the Run this Job section, click ADD.

  6. Select based on a recurrence (same Monitor Entry).

  7. In the Delay field, enter the time/interval between each recurrence of the Job.

  8. In the EndTime field, enter the time of day when the recurrence is set to end. This value can be left blank to use the default of midnight.

  9. In the BaseTime field, select the value that is used to determine the next recurrence of the Job.

    • EndTime – The completion time of the Entry.
    • ScheduledTime – The Scheduled time of the Job.
    • StartTime – The actual start time of the Job.
  10. Select or clear the Repeat on Error checkbox to set if the Job should continue to repeat after a Job failure.

  11. Click Save. The Trigger is listed under the Run this job section on the Schedule tab.

Recurrence (Same Monitor Entry) Properties​

StatusDescription
EnabledSelect or clear this checkbox to enable or disable a Trigger. When this option is disabled, this Trigger will not cause the Job to run.
RepeatDescription
DelayEnter the time/interval between each recurrence of the Job.
End TimeEnter the time of day when the recurrence is set to end. This value can be left blank to use the default of midnight.
Base TimeSelect the value that is used to determine the next recurrence of the Job.
  • EndTime - The completion time of the Entry.
  • ScheduledTime - The Scheduled time of the Job.
  • StartTime - The actual start time of the Job.
Repeat on ErrorSelect or clear the checkbox to set if the Job should continue to repeat after a Job failure.

Running a Job Based on a Recurrence (New Monitor Entry)​

You can add a Recurrence option to a Job to set it to run repeatedly. A recurrence gives you more granular control than an Interval Trigger. For example, you can set a Recurrence option to run the Job every hour from 8am to 5pm. You can also set this to run daily or only on weekdays/workdays.

A new Monitor Entry will be submitted, so the number will change. This is useful because the Entries may be easier to track because each one has a unique Entry number for each Job execution.

  1. Click Jobs from the main menu.

  2. In the Folder Navigator, click a Folder.

  3. Click a Job, and then click Properties.

  4. Click the Schedules tab.

  5. In the Run this Job section, click ADD.

  6. Select based on a recurrence (new Monitor Entry).

  7. In the Delay field, enter the time/interval between each recurrence of the Job.

  8. In the EndTime field, enter the time of day when the recurrence is set to end. This value can be left blank to use the default of midnight.

  9. In the BaseTime field, select the value that is used to determine the next recurrence of the Job.

    • EndTime – The completion time of the Entry.
    • ScheduledTime – The Scheduled time of the Job.
    • StartTime – The actual start time of the Job.
  10. Select or clear the Resubmit on Error checkbox to set if the Job should continue to resubmit after a Job failure.

  11. Click Save. The Trigger is listed under the Run this job section on the Schedule tab.

Recurrence (New Monitor Entry) Properties​

StatusDescription
EnabledSelect or clear this checkbox to enable or disable a Trigger. When this option is disabled, this Trigger will not cause the Job to run.
RepeatDescription
DelayEnter the time/interval between each recurrence of the Job.
End TimeEnter the time of day when the recurrence is set to end. This value can be left blank to use the default of midnight.
Base TimeSelect the value that is used to determine the next recurrence of the Job.
  • EndTime - The completion time of the Entry.
  • ScheduledTime - The Scheduled time of the Job.
  • StartTime - The actual start time of the Job.
Resubmit on ErrorSelect or clear the checkbox to set if the Job should continue to resubmit after a Job failure.

Resetting a Trigger​

You can reset a File, Remote File, Variable, Email, or Job Completion Trigger that is in the Fired or Disabled state. This is useful if the Trigger has been disabled due to reaching the Fast Fire Limit, which is the number of times a Trigger can fire. For example, you can select the Run this job based on a file option from the Schedule tab, and the Job will run and will be set to the Fired state.

Schedule, Interval, and Recurrence Triggers cannot be reset. When one of these Triggers is selected, the RESET button is unavailable.

  1. Click Jobs from the main menu.

  2. In the Folder Navigator, click a Folder.

  3. Do one of the following:

    • To reset a Folder Trigger, click the Actions menu and then select Properties.
    • To reset a Job Trigger, click a Job, and then click Properties.
  4. Click the Schedules tab.

  5. In the Run this Job section, select the File, Remote File, Variable, Email, or Job Completion Trigger to reset.

  6. Click RESET.

  7. When prompted, click Reset to confirm. The state changes from Fired to Enabled.

note

A Trigger inherited from a parent Folder cannot be reset from the Job or child Folder. Reset it from the Folder where it is defined.