Unit 7: Editing Workflow Definitions
Use
You define a mail step in this unit, which when executed, sends a mail to the members of the newly created organizational unit.
For this purpose, use the step type Send mail.
Procedure
As well as the initial workflow definition, your workflow also contains the defined
triggering event. If you are not in change mode, chooseAll necessary entries for sending a mail are made on the tab page Mail.
Production order released

This text should contain text variables that can be replaced at runtime by values taken from the task container. Text variables are surrounded by a
& symbol. To insert a text variable, chooseGeneral information:
The production order &ProductionOrder.Number& was released by &ProductionOrder.ChangedBy.Name& on &ProductionOrder.ChangeDate&.
The system automatically creates a task that sends the mail. You must enter another abbreviation and name for the task:
Abbreviation:
Name
: Mail: Production order releasedIn the Create Object Directory Entry dialog box, choose Local object.
The graphical display is displayed again.
Concluding the step definition
Choose
.
The workflow definition is checked, saved, and, provided it does not contain any errors, activated. The system displays a message if problems are encountered during the test.
To view the task created by the mail step, carry out the following steps:
The screen Standard task: Display is displayed. If you want to test the task (see below), make a note of the task number assigned by the system.
Test the defined task
You can also test the task you defined by starting it in dialog.
You can also use the F4 input help.
The mail is sent in the background. Go to the Business Workplace to check that the mail has arrived.
Further notes on sending mails
You have followed the above procedure to identify the recipient of the mail by a user name and assigned the task container to the
ADDRESSSTRINGS container element. This container element is identified as a multiline element and can also store a list of mail recipients.To assign more than one element to the container element
ADDRESSSTRINGS, chooseThe
ADDRESSSTRINGS container element can contain other values in addition to a user name. For more information on entry types, see
Address Type. You assign the recipient type to the TypeID container element of the task container.