Entry points > Module Supervisor > Standard script AWRK 

MESSAGE

Use the MESSAGE entry point to take control each time an automatic message is sent by the Workflow function. You can delete the message issue and/or replace it with something else.

Context and operating mode

The following tables are on line :

Table

Significant content

Table description

AWRKPAR [AWA]

No

Workflow rules

AWRKPARC [AWC]

No

Workflow rules (actions)

AWRKPARF [AWF]

No

Workflow rules (signature)

AWRKPARH [AWH]

No

Workflow rules (recipient)

The MESSAGE entry point is called just before the actual message issue. The GPE variable is tested upon return from the entry point. If the value is not equal to 0, the message is not sent.
All available variables can be accessed in the documentation of workflow rules.
The AWRK* tables are open but only the classes of tables related to workflow rules are entered.

MODAWS: Before history creation of events

Use the MODAWS entry point to modify each workflow event record before writing in the AWRKHISSUI table. For instance, you can update a new specific field.

Context and operating method

The following tables are on line :

Table

Significant content

Table description

AWRKPAR [AWA]

No

Workflow rules

AWRKPARC [AWC]

No

Workflow rules (actions)

AWRKPARF [AWF]

No

Workflow rules (signature)

AWRKPARH [AWH]

No

Workflow rules (recipient)

The call to the MODAWS entry point is made before writing in the AWRKHISSUI table ([AWS2] abbreviation). Writing is part of a transaction. The complete [F:AWS2] class is entered. All available variables can be accessed in the documentation of workflow rules.
The AWRK* tables are open but only the classes of tables related to workflow rules are entered.