Automation Manager

automation

You must have administrator rights to access this feature.

Automations are automated actions created in Automation Manager. An Automation includes a trigger and one or more actions. A trigger is the cause and the action is the effect.

Actions that can be automated include:

  • Send an email notification
  • Create records
  • Edit existing records
  • Verify a field value and display an error message if necessary
  • Perform a calculation and set a field value

Automation Triggers

A trigger is what causes the action to occur. The system comes with 200+ triggers. Some are basic with just a specific trigger, and others are guided, with actions already associated to them.

A basic trigger is available for every parent-level recordset and child-level recordset, including custom versions.

Some triggers include configurable fields. For example, the trigger “After an Asset Type inspection is created” requires you to select the Asset Type for the trigger. Properties can also be set on triggers. The same trigger can be used in various Automations and may be configured in a number of ways.

Guided triggers include actions already associated to them. The system includes guided triggers for common situations where an Automation would be valuable. The following triggers are guided:

  • Assign a task with a specific activity when it is created
  • Close a work order when all related tasks are complete
  • If a request is overdue send a notification
  • If a task is overdue change its priority and send a notification
  • If an Automation fails send a notification
  • If an open task’s due date is before today, update its priority to High and send a notification
  • Notify the fleet shop prior to the next vehicle PM task
  • Notify when a task is completed with no cost
  • Notify when a task’s costs are too high
  • Notify when request with a specific issue is created
  • Repeat a task 30 days after completion
  • Require usage when completing equipment tasks
  • Set a work order priority equal to the highest priority associated open task
  • When a work order’s cost exceeds a certain amount send a notification

You know the trigger is guided if:

  • The name does not start with:
    • Create or edit
    • Send a notification
    • Verify or perform
  • After selecting a trigger, actions blocks are already included in the Automation.

There are three types of triggers:

  • Event-based
  • Scheduled
  • Manual

Event-based triggers are kicked off when the described event occurs in the system. Event-based triggers begin with the key word Create, Send, or Verify and contain the word after or before to describe the timing of when the trigger fires. It is important to appropriately align the timing of a trigger and the corresponding action or actions.

TRIGGER TIMING CORRESPONDING ACTION
Before a record is saved
  • Verify or perform a calculation
  • Set a field value
  • Perform a calculation
After a record is created or edited
  • Create a new record
  • Edit an existing record
  • Send an email notification

Scheduled triggers are kicked off based on the defined schedule. Specify the day and time when the trigger should fire, and the system automatically kicks it off. Scheduled triggers are used to automate actions based on the passage of time—for example, sending an email notification when a task is overdue.

Manual triggers are kicked off when a user clicks the Run Now button in Automation Manager. Manual triggers are used to create or edit records in bulk.  The Automation defines which records should be created or edited and what their values should be.

Scheduled Triggers in Automations

These options are available for Time-Based Triggers:

  • Daily is set time of day to run
  • Weekly is set which days of the week and what time of day to run
  • Monthly is which days of the month and what time of day to run
  • Yearly is which months and what time of day to run. This trigger runs the first of the month.

Usage:

  • Includes option to Run Now to manually run an automation that is scheduled for a different time.
  • When defining the schedule, note other scheduled processes that may be running and schedule during times when less users are in the system.

Manual Triggers in Automations

Manual Triggers are kicked off when a user clicks the Run Now button in Automation Manager. Manual triggers are used to create or edit records in bulk. The Automation defines which records should be created or edited and what their values should be.

In some cases, a user might have an Automation that they want to fire on command. Setting up a Manual Trigger helps solve these scenarios.

Usage:

  • Typically used for one-time or infrequent events.
  • Used for multi-edit functionality to edit many records at once.

For example, set all pavement segments where Street is Highway 20 to a pavement classification of asphalt.

  • All manual automations are expected to complete in 2 minutes or less.  To determine if the automation successfully completed, access the Automation Log.

Automation Actions

Actions are what the Automation does once the trigger fires. Actions can be simple to complex, but all are made of blocks with defined properties. In the interface, when building an Automation there are three panels.

  • The left panel contains all the blocks.
  • The middle panel contains the selected trigger and is the workspace where blocks are placed to build the actions.
  • The right panel displays the properties of the selected item in the workspace. This is where you define what the block does.

There are two types of blocks: action and support.

Action blocks cause an action to take place in the system once a trigger is fired. Action blocks include:

  • Send Email
  • Send Email to Assignments
  • Send Email to Requester
  • Create Task
  • Create Record
  • Set Fields
  • Save Record
  • Error Message
  • Update Record

Support blocks provide assistance in achieving the desired action. They may be used to retrieve records, calculate values, and include conditional logic. Support blocks include:

  • Get Record
  • Aggregate
  • Condition
  • Loop Records

Notification Manager

notification

The Notification Manager allows you to set which notifications are sent to system users based on their role assignments or user account. Each notification can be set globally off or on. Click the Reset button to return the Notification settings to the previous save.

If a user is added to a role, that user automatically gets the notifications setup for that role. Subscriptions based on the user take precedence over any subscription settings for the role the user belongs to. For example, if the user, Chris, is set to receive the New Task Assignment notification as part of a role, Road Dept, but as an individual the Email check box is cleared, Chris will not receive that notification.

Apply a filter to each notification subscriber to better meet the subscriber’s needs. For example, apply a filter to the Material Reorder notification for each subscriber to receive notifications only for the materials they are responsible for ordering.

Cartegraph standard Notifications include:

GIS Integration Synchronization Failure

Notifies subscribers when a GIS Associated recordset fails to synchronize to the GIS server. The subscriber receives an email with information about the association as well as a link to download the most recent synchronization log.

Integration Results

Sent to subscribers on job results for import, export, and integrations based on the notification frequency set on the job.

  • The Subject is overridden by the Integration Results Notification to display if the job succeeded or failed. The subject does not reflect what is set in the Editing Message menu.
  • The Message defined displays in the notification, followed by the details returned by the integration job.
  • Message Fields are disabled for this notification type
  • The Advanced Filter is disabled for subscribers in the Notification Manager.

Material Reorder

Notifies when materials go below the reorder point so materials are reordered before running out.

Sent to subscribers based on one of three events:

  • Decrease adjustment on the material
  • Add a Material log on the Time sheet
  • Update Material log on the Time sheet

New Assigned Task

Sent to subscribers when a Task is assigned to them.

Received New Request

Sent after the Request is saved and applies an advanced filter to block notifications about issues not related to specific users.

Requester—Closed Request

Sent to the Requester notifying their request was closed.

  • Only one email is sent to the Requester even if they made the same request multiple times.
  • Cannot be subscribed to in the Notification Manager.
  • If the profile contains an email address.
  • If the Requester did not unsubscribe on a previous email notification.
  • Is turned on in the Notification Manager.

Requester—Received Request

Sent to the Requester notifying their request was received.

  • Cannot be subscribed to in the Notification Manager.
  • If the profile contains an email address.
  • If the Requester did not unsubscribe on a previous email notification.
  • Is turned on in the Notification Manager.

Scheduled Process Error

Sent to subscribers when a background scheduled process Run Result is Completed with Errors. The notification includes the Process Name and Error details. Refer to About Scheduled Process Log for additional information.

Tasks Completed for Request

Sent when all Tasks associated with a Request are marked as completed or canceled.

Tasks Completed for Work Order

Sent when all Tasks associated with a Work Order are marked as completed or canceled.



SCHEDULE A DEMONSTRATION

An AGL Representative is standing by to assist you.
For sales and technical support, call now!