If you're tired of receiving notifications for every successful completion of a recurring task and only want to be alerted in case of an error, you're in luck. Here's a step-by-step scenario on how to set up a workflow rule specifically designed to notify you when a job finishes with an error.
To create an alert that sends you a message when there's an error in your recurring task, you'll have to create a new workflow rule that references said task. In this scenario, I'll be creating a rule to send an alert when the recurring task "Stock Accounting Interface (ZFUNSTKACC)" has an error.
To set up a workflow rule, navigate to All > Setup > Workflow > Workflow rules. In this example, I've entered the following:
The key to setting up an alert for when a job finishes with an error lies in the Conditions. By using the Batch Server Queries table, you'll be able to monitor the flag status of any running jobs and trigger the alert when an error occurs.
To create a condition for batch jobs in this example, I've entered the following:
The formula for my condition is "[F:ABR]FLAG=6 or [F:ABR]FLAG=7 or [F:ABR]FLAG=8".
In the Recipient column, enter the e-mail addresses of whoever should be notified in case of an error, along with the message and any action you wish them to take.
For more Sage X3 videos, head over to our YouTube page and subscribe to stay up-to-date with the latest insights and tutorials. Our channel is dedicated to providing valuable resources for businesses looking to optimize their financial management with Sage X3.
4 Functions to Use in the Preventative Maintenance Solution
How to Match Tolerances
How to Prevent Users from Cloning Documents
How to View Multiple Lines When Running an Inquiry