Beruflich Dokumente
Kultur Dokumente
Workflow Architecture
Definition time
Process design and definition
Runtime
Launch instances, control process
Runtime
Interaction with users and application tools
Business Workplace Work item Manager
Task/Workflow Definition 1
Who?
Task
What?
process correspondence
When?
check leave entitlement
Task/Workflow Definition 2
Tasks
object method or manual activity
Task (TS)
Workflow (WS)
Task: Examples
Release document
Run report
Post invoice
Approve absence
Call customer
Who? What?
Tasks
Task Object type with object method
Organizational plan
Properties
Texts
work item text: title of work item in worklist task description notification text deadline text desired end text latest start text
Event s
terminating events
Object type
create object method edit object method display object method Ex invoice doc. order material arch. Doc.
Task
Reference
to object
method
Objects are the encapsulation of behavior for performing defined business tasks Methods are the allowed functions of an object
Definition of Responsibility
task Possible Agent List: All users who have the possibility to execute the task
Sales managers
Sales Group
Credit Analysts
The responsible agents are identified within the workflow. Recipients of the work item will be identified at runtime.
SAP Workflow Course Section 02: Workflow Architecture
10
A description of the work item in the worklist Substitution of variables with runtime values
_WI_Object_Id.Number
11
General description, notes on operation, information on environment, etc. Task description Text for completion Text for missed deadline Insert variables (including indirectly via object reference)
Example :
Employee &_WI_Object_ID.CreatedBy& created a notification of absence under the number &_WI_Object_ID.Number& on &_WI_Object_ID.CreateDate&. Please decide whether to approve.
12
Workflows
Workflow template
Specification of triggering events Definition of interface (import and export parameters) Initial value assignment
Entry point to view or modify the workflow definition via the Workflow Builder
13
Specification of triggering events Definition of interface (import and export parameters as elements of workflow container) Initial value assignment
Document generation User decision Condition Multiple condition Event creator Wait step Process control Container operation Loop (until) Loop (while) Fork
14
Notification of absence created Approve notification of absence rejected Revise notification of absence? Send mail yes Revise notification No of absence cenceled Resubmit for approval? Terminate workflow Workflow terminated
SAP Workflow Course Section 02: Workflow Architecture
15
approved
sent
revised
No
Workflow Builder:
workflow definition object overview
Block-oriented modeling Top-down modeling is possible Special functions such as cut, paste, move, copy Print: local / R/3 spool / file
messages
Workflow
Organizational management
workflow definition
tasks
Organizational management
terminating event
Triggering events control the initial start of the workflow in addition to the termination and calling of subsequent tasks in the workflow Each Task defined under the workflow will execute in the arranged sequence defined via the workflow definition
object types
methods
Desktop application
External applications
17
Start WF
Event
Org. plan
Workflow Workflow definition terminating Workflow manager event TASK Work item Work item manager
Object type
Inbox Process
Org. plan
display Determining agents Deadline monitoring Workflow log
Method
Database
Workflow System Components Provides tools for the development of workflow definitions Runtime System manages the execution and required resources for workflow instance Tasks
19