Preffered Answer:
- Rule Resolution with responsibility: HELPFUL when a set of static positions are responsible for action.
- Rule resolution with Function (FM): Helpful when agents are determined dynamically from business logic.
- Rule resolution with OM: Usually used in CRM. Have not used
- Rule resolution with Function, but asynchronously: This is through a class and a method. Initially WI is created in status ready without agent. Later agent is assigned. This is suitable for agent determination having COMPLEX logic.
- Users: Rarely used.
- Role: Ex: ABAP_DEVELOPER
- OM objects (Position, Org Unit, work center)
- Expression: A container element containing the agents.
Containers:
1 Workflow Container:
2 Task Container:
- SWC_GET_CONTAINER
- SWC_GET_TABLE
- SWC_SET_CONTAINER
- SWC_SET_TABLE
Event Container:
Method Container:
Rule Container: For resolving rules
Business Objects
Key Fields:
Attributes:
Database: Automatically gets populated by system code
Virtual: You determine the content and use SWC_SET_CONTAINER to populate
Methods: Can be created USING FM, Transaction, Report, Dialog Module, Other
Synchronous: FINISH execution before handling the control back to the task.
Asynchronous: Return the control back immediately. Cannot have export parameters. They depend on events to return results back to the calling program.
Dialog: Something to user
Background: Cannot have messages or exceptions.
Containers:
1 Workflow Container:
2 Task Container:
Event Container:
Method Container:
Rule Container: For resolving rules
Business Objects
Key Fields:
Attributes:
Database: Automatically gets populated by system code
Virtual: You determine the content and use SWC_SET_CONTAINER to populate
Methods: Can be created using FM, Transaction, Report, Dialog Module, Other
Synchronous: Finish execution before handling the control back to the task.
Asynchronous: Return the control back immediately. Cannot have export parameters. They depend on events to return results back to the calling program.
Dialog: Something to user
Background: Cannot have messages or exceptions.
Write Your Comments or Explanations to Help Others