Rule-based Engine: rule definition
Rule-based Engine: Glossary
Term | Definition |
Rule | Set of associated triggers, conditions, actions and notifications |
Trigger | Defines action that triggers the execution of rule - when the conditions are evaluated. |
Condition | Is reviewed when rule is triggered. Evaluates whether action should be performed. When more conditions are defined for specific rule, all of them must be met in order for rule to do action. |
Action | Action is something the system does, typically with a print job. Happens when rule is triggered and conditions are met. |
Notification | Information to end user, manager, administrator or external system about successful execution of rule - it was triggered and conditions were met. |
Rule Based Engine: Triggers
Trigger | Description |
| Print Job Reception from user workstation or print server.
|
| Before print job is released to a device managed by SafeQ. |
| Print job delivery to a device managed by SafeQ |
| When user authenticates at a SafeQ Terminal. |
| When user logout at a SafeQ Terminal
|
| When status of user print job has changed
|
Rule Based Engine: Conditions
Job Conditions | ||
| Triggers:
| |
| Triggers:
| |
| Triggers:
| |
| Triggers:
| |
| Triggers:
|
|
| Triggers:
|
|
| Triggers:
|
|
| Triggers:
|
|
| Triggers:
| |
| Triggers:
|
|
| Triggers:
|
|
| Triggers:
| |
| Triggers:
|
|
Job Page Conditions | ||
|
| |
User Status Conditions | ||
| Triggers:
|
|
| Triggers:
| |
Time Conditions | ||
| Triggers:
| |
| Triggers:
|
Rule Based Engine: Actions
Transform Job Operations | ||
| Triggers:
|
|
| Triggers:
|
|
| Triggers:
| |
| Triggers:
| |
| Triggers:
| |
| Triggers:
| |
| Triggers:
|
|
Change processing workflow | ||
| Triggers:
|
|
| Triggers:
| |
| Triggers:
| |
| Triggers:
| User authentication is denied (after successful authentication). |
| Triggers:
|
|
Rule Based Engine: Notifications
General Notification Information | ||
| Triggers:
|
|
| Triggers:
|
|
| Triggers:
| Executes any application, optionally passing some information as parameters. See Using the Rule Definition wizard for more details. Example of input: C:\script.bat [USER_EMAIL] [JOB_STATUS] (This will execute a script.bat located on a C drive with 2 parameters).
|
| Triggers:
|
Please see Rule based engine Client notification - setup and usage for more details. |
Rule Based Engine: Variables
Variable | Description |
[DEVICE_ID] | Internal SafeQ unique ID of the involved device (printer, mfp) |
[DEVICE_IP] | IP Address of the device |
[DEVICE_NAME] | Device Name as configured in SafeQ |
[DEVICE_BACKEND] | Data Delivery Method as configured in SafeQ (e.g., TCP/IP Raw, LPR, IPP) |
[USER] | Owner of the job in the format "Name Surname (login)" |
[USER_NAME] | User's first name from the Identity Database |
[USER_SURNAME] | User's surname from the Identity Database |
[USER_LOGIN] | User's login from the Identity Database |
[USER_EMAIL] | User's email address from the Identity Database |
[USER_ID] | Internal SafeQ unique ID of the user from the Identity Database |
[JOB_ID] | Internal SafeQ job unique ID |
[JOB_TITLE] | Job Title |
[JOB_SIZE] | Size of the print job |
[JOB_QUEUE] | Target print queue name |
[JOB_STATUS] | Current job status |
[JOB_NOTE] | Internal note generated by system |
[JOB_FILENAME] | Subdirectory and filename where the job is spooled |
[DATE] | Current date |
[TIME] | Current time |
Please note that notifications "Send e-mail" send messages in plain text. Microsoft Outlook by default removes line breaks in plain text e-mails. If this issue occurs in your environment, please disable this feature in Microsoft Outlook:
