The concepts of workflow require that users understand the principals of the application and have the knowledge and capabilities to write [UserCalcs|USERCALC]. It is also important to recognize the needs of your business in order to determine if workflow is applicable.  It may be useful to have SQL knowledge to write Completion Clauses

The set up required to integrate workflow is not complex. Basically, there are two screens required for set up, they are: Define Workflow Actions [IMWA] and Define User Calculations [IMUC]. The difficulty arises mainly from the complexity of the UserCalc and the completion clause. However, not all workflow actions are complicated and it depends on a client's business requirements.

Workflow triggers are initiated when a record is inserted, updated or deleted from the database.  Each [table|WORKFLOW PRODUCTS] that is enabled for workflow will have a [data base trigger|DATA BASE TRIGGER] configured.


* [Tables that Workflow acts on|WORKFLOW PRODUCTS]\\ \\
----
!!!Workflow Action

A workflow action is the result of a key event. Some key events can include a salary/wage increase or hiring/
terminating an employee. These events require specific actions to occur, thereby driving the workflow process.
*Define Workflow Action ([IMWA])
**[Completion Clause|IMWA#Completion Clause]
**[Workflow Logs|IMWA#Workflow Logs]
*[WF Emails That Cannot Be Sent|WF Emails That Cannot Be Sent]
*[Nagging Work Flow Log Emails|NAGGING_WORKFLOW_LOG_EMAILS]
*[Report on Workflow Actions|REPORT_ON_WORKFLOW_ACTIONS]
*[Emailing Batched Workflow Logs|EMAILING_BATCHED_WORKFLOW_LOGS] \\  \\

----
!!!UserCalcs and Workflow

This section should only act as a supplemental aid to the already existing [User Calculations|USERCALC] section. Its intent is to explain some new features that have been developed as a result of the integration
of workflow into system. Please reference the [User Calculations|USERCALC] section for more detail on the
other UserCalc items.

With the integration of workflow into the system, UserCalcs have the ability, in addition to their previous functionality, to allow for workflow action events to occur under specific conditions. Examples of such events include: issuing an email, alerting users of specific tasks and taking the user to that particular screen to complete the task. Workflow action events are only processed through UserCalcs.

A UserCalc is a set of instructions, defined by the user, which trigger specific actions or operations to take place. They are a powerful feature that allows for configuration of the application to a high degree. 

UserCalcs can perform various operations, such as arithmetic calculations, comparisons of different items, date checks and calculations, issue warning messages and workflow action events.  UserCalcs can be simple or quite complex.

The activation of a workflow trigger results in the initiation of a UserCalc. Once the UserCalc is initiated, the workflow action events are called from within the UserCalc.

* [Planning a Work Flow UserCalc|PLANNING A WORK FLOW USERCALC]
* [UserCalc Conventions|USERCALC CONVENTIONS]
* [UserCalc Types|USERCALC TYPES]
* [Defining a WF UserCalc|DEFINE WF USERCALC]
* [Publishing a WF UserCalc|PUBLISHING A WF USERCALC]




----
!!! View Execution Logs & Details 

*View Execution Run Logs ([VMEX])

----
!!!Required Set Up

*[IMST Setup for Workflow|IMST SETUP FOR WF]