Types of workflow components



The function of workflows is to process the data captured in forms in accordance with your business needs. In AR System, workflows automate your company's processes through the use of active linksfilters, and escalationsWorkflows are created by using workflow components that enable users to define the how the automation should run in a workflow. 

Related topics

The following example illustrates how the workflow objects work together with other AR System application components.

Example

Ramona, an employee, faces issues with her printer and opens a new AR System form to raise a helpdesk ticket. She opens the form and enters her telephone number into the Phone number field, and the following sequence occurs: 

  1. An active link searches the Employee form to retrieve the name, configuration, and location associated with the phone number.
  2. After Ramona enters information into the form and submits it, filters trigger an external paging system integrated with AR System to notify Becky, a service desk agent, that Ramona's printer is not working.
  3. Becky fixes the problem.
  4. Becky changes the status of the request, and a filter notifies Ramona that her problem is solved.

Based on the example, the following figure represents the automated workflow: 221_typesofworkflowcomponents example.png

If the situation had been flagged as an emergency and no one was assigned to the request within an hour, an escalation would have notified all required support personnel, and a filter would have sent Ramona an email message informing her of the status of her request.

Workflow components and process automation

If a workflow definition is triggered and the qualification is met, AR System can take one or more actions.  Workflow components can take any of the following actions to automate processes and ease data entry:

  • Opening new windows for data entry or display.
  • Copying data from other forms or sending data to other forms.
  • Sending messages to users or sending notifications by using email or other methods.
  • Manipulating a form; for example, enabling or disabling fields, or changing menus associated with fields.
  • Running an external process.
  • Managing dialog boxes, which are fields that are displayed to users who are filling out forms.
  • Error checking.
  • Logging information to a file, usually to maintain an audit trail.
  • Running an SQL command.
  • Overriding user-entered values by changing them to values that you specify.
  • Communicating with users by means of onscreen messages or notifications sent by email, or other methods.
  • Running an active link guide or filter guide as a subroutine, which is a predefined sequence of commands.

Workflow components

The following points describe the workflow components and when to use them:

  • Active link—An active link is an action or group of actions performed on the browser. Active links are triggered by user actions in a form. They can be used to perform a variety of tasks, such as giving quick responses during data entry and auto-filling fields. For example, an active link can verify a value entered in the Employee ID field of a request and then pull information from a supporting People form to fill in other fields on the request, such as Requestor Name, Department, and Phone Number, dramatically reducing the time required for support staff to fill out a request.
  • Filter—A filter is an action or group of actions performed on the AR System. Filters are used to enforce business rules and to ensure system and data integrity. As the server processes a request, the filters associated with that form and action evaluate the data in the request. For example, you can verify the values in a completed form by using a filter to compare them against your business rules and return an error if the request violates any of those rules.
  • Escalation—An escalation is an action or group of actions performed on the server at specified times or time intervals. Basically, an escalation is an automated, time-based process that searches for requests that match certain criteria at specified times and takes actions based on the results of the search. For example, an escalation can trigger AR System to notify the next level of management if a problem is not assigned to a technician within one hour of submission.

Collections of workflow components

You can collect active links and filters and run them as procedures. These collections are called active link guides and filter guides.

The workflow components in guides are organized in a processing sequence. Using guides enables you to give a name to a set of workflow operations that accomplish a specific task.

In addition, interactive or navigational active link guides can interact with users by requesting information and then waiting for input. This process enables you to create tasks that guide users through application processes in a way similar to wizards.

An active link guide is a group of active links. Because active link guides run on a browser, they can augment training by leading users through the steps necessary to fill in one or more forms to accomplish a specific task. For example, when an employee clicks a Request Business Cards button on a human resources form, an active link guide might open a business cards form and then display field-by-field input instructions until the card request is complete and ready to submit. Active link guides can also be used as subroutines to accomplish common tasks.

A filter guide is a group of filters that can be used as a subroutine in workflow. Because filter guides run on the server, they cannot be used like active link guides to lead users through a form.

This table summarizes how and where you use filters, active links, and escalations:

Component

Triggered by

Where action is performed

Active link

Events

Browser

Filter

Events

Server

Escalation

Time

Server

Workflow based on events versus time

Filters and active links are triggered by events, such as a user action or a change in the state of some data. Escalations implement time-based business rules.  For example, a filter can notify a support manager whenever a request is submitted with a priority of High or Critical. The submission of the request is the event. Other events that can trigger filters are updating, deleting, and retrieving requests. Actions that can trigger active links include opening or closing a window, displaying a request, clicking a button on a form, pressing Enter when the cursor is in a field, or selecting a menu item.

Escalations are triggered by the passage of time. The trigger or execution option can be absolute time such as every day at 2:00 P.M. or a time interval such as one hour between escalation runs. For example, an escalation can warn a group of users that in one hour their manager will be notified that a problem has been unsolved for too long.

Workflow running on clients versus servers

Active links are executed on the client-side in response to actions that users perform in forms. Filters and escalations are executed on the server. For example, active links can change how a form looks or behaves, validate data entered by users, or use data in a form to find other data for the form. Unless an active link queries the AR System server for information or runs a process on the server, it can complete its operation without sending a request to the server. This capability helps decrease overall network traffic and improves the performance of an application.

Filters and escalations implement business rules by examining newly created or changed requests and taking actions based on the new data and the business rules. For example, if your business wants to avoid handling purchase orders that are not properly approved, you can create a filter that stops AR System from processing such purchase orders after they are submitted to the server and then notifies the requester accordingly.

Actions associated with filters and escalations take place after the transaction is transferred to the server for processing. Then, processing can return to the browser, where more active link actions can take place.

API calls to the server trigger filters but not active links. If a business rule must be run on any input including user input and input from an integrated process using an API, the business logic must be in an active link and a filter.

Where to go from here

Defining workflow to automate processes

Creating-workflow-objects

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*