Академический Документы
Профессиональный Документы
Культура Документы
Before Starting
In order for this to work properly, the workflow parameters (SERMES and TYPMES) must be setup and
be able to send e-mails from the server, sending messages from the Client is not an option for this type of
workflow.
Setup > General Parameters > Parameter values
Module: SUP
Group: WRK
SERMES is the Mail Server.
TYPMES must be set to Server.
Workflow Setup
Setup > Workflow > Workflow Rules
Create a new workflow, enter in a code and make it active. The description and category are optional.
Note: There are 2 event types that you can use for the batch server, they are End of Task and Task
Interruption. Please see the help below on the difference of the two types.
Note: Depending on the patch level and the actual event type names may vary a little, in this example:
Abort Task = End of Task
Stop Task = Task Interruption
Note: The Flag field uses local menu 21 to define its statuses:
Note: If you want to trap more than one condition this will need to be done on the same condition line.
Conditions continuing beyond one line acts as an And statement. A valid Or statement for a
task that contains errors or aborted would look similar to the example below:
Recipients Tab
Define as many Recipients as needed. At least one address is required and must be contain a valid e-
mail address. If using X3 user codes, make sure they have quotes around the user.
Message Tab
Add the subject and body of the message. The standard functionality of the workflow can be used to
customize the workflow as needed.
Tracking Tab
Not used in this type of workflow
Action Tab
Not used in this type of workflow.
Test the workflow and if all goes well you will get a message similar to this one: