Professional Documents
Culture Documents
In an Activity step the Outcomes can be added using three techniques as follows:
Underlying Task level :Adding Terminating Events to the Tasks attached to the step
Underlying Business Object Level: Setting the System Container Result to the
underlying Business Objects methods attached to the tasks which in turn attached to the
steps from which outcomes come out.
Modeled Deadline: The Number of Outcome is added to the step in accordance with
the Deadline Modeled. As for example if 2 deadlines is modeled then 2 outcomes will
added to the step.
In this ICM we will discuss about first 2 Technique.
Underlying Task level: Adding Terminating Events to the Tasks attached to the step
1. Two Events Term_Event1 and Term_Event2 are created in Business Object
ZARN1_LR with an Existing Event Request Created.
Now if we view the Workflow template, we can see that 3 Outcomes with the
names Test Event 1, Test Event 2 and Leave Request Created appeared
as follows:
2. The Result parameter must have a result type. So result Type need to be
declared
<!--[if !supportLists]-->
2. Task Design:
1. Transaction Code PFTC is given Standard task is selected and let the
value entered is ZARN_OC followed by Create Button.
3. Workflow Design:
We need to start the Workflow Design .This is just an one step Workflow to
demonstrate the Outcome manipulation (No of Outcome comes out of a
Step).
The process is as follows:
1. Transaction Code PFTC is used, Workflow Template is selected and we
provide the Workflow Abbreviation as ZOUTCOME and F5 Pressed
2. Basic data is filled and Workflow Builder Button is clicked .The Workflow
Builder Window appears as shown below
Leave Held
User Cancelled
Leave Changed
These outcomes are same as the data type of the variable L_STATUS
(Domain ZEAVESTATUS) which is written in the GETSTATUS Method of
Business Object ZARN_LR
After Activating: