You can define your inbound process code to start a specified workflow, rather than using the direct function call. The workflow's container must contain the following two import parameters:
Parameter Name |
Type |
Multi-line |
Reference (object type/table field) |
|
Object |
No |
IDOCXAMPLE or IDPKXAMPLE |
|
Variable |
Yes |
Edidc-Docnum |
IDOC_PACKET
is filled with an object of the type as defined in the workflow container (this means that ALE reads the workflow container definition to determine the type); the object's ID is the number of the first IDoc in the packet.
Unprocessed_IDOCs
is a list of the IDoc numbers in the packet.