Workflows Introduction
Workflows:
For Business automation process
Whenever the Condition is met the related Action Should be Performed
Insert,Update,Query,delete,Previous record,next record,Upsert
Component Group: Workflow Management
Workflow Process Manager Trigger or execute WF ( Manual Operation)
Workflow Process Batch Manager Execute a WF within a time interval( Sec,
Min,Hours,Etc..)
Workflow Process Manager (Server Request) Execute a WF in Asynchronous mode
(Without Manual Operation)
Workflow Monitor Agent Picks the Condition Satisfied Row id Value
Workflow Action Agent Action should be performed on the record
Generate Triggers to execute the Conditions in the dB level
Workflow recovery Manager To recover the WF from Server side
Types:
Synchronous By doing a Manual Operation Only it can execute WF.User need to wait
for response.User Cant do any other Operations
Asynchronous No Manual Operation.User No need to wait for response. User Can do
any other Operations
WFs are not related to srf changes
WFs are based on BO
Default Process Properties:
Error Code : Siebel generated Error Code
Error Message : Code related error message
Object Id : we need to pass condition satisfied row id as input to the
Workflow while simulation
Process Instance Id : Unique Id for the workflow
Siebel Operation Object Id : by using Siebel Operation it will hold the operation
performed row id Value
Workflow Modes:
7.0 Flow : This type is to provide backward compatibility with
existing Siebel 7.0
Long Running Workflows: Workflows that can wait for for hours, days or
months
Using Wait Step in WF
Interactive Flow : Workflow that takes user across Siebel views.
Using User Interact Step in WF
Service Flow : Default Mode.
This is the most common type of workflow process we created.
Workflow Process Steps:
Design
Start, Stop, End, Wait, Connectors, Exceptions
Note: we can throw error message using stop step
Decision Point Checking for the Conditions
Siebel Operation It Can Perform Operations Insert,Update,Query
User Interact Which will navigate to a destination View
Sub Process WF with in a WF
Business Service It contains its own Functionality.
It contains one or more methods.
Each and every method contains one or more input arguments & Output arguments
Validate : It checks the Connection between the steps
Simulate : Testing workflow design process for a single
record
Deploy : WF Object definitions will be inserted into S_WFR_PROC
Activate : WF Object definitions will be inserted into
S_WFA_DPLOY_DEF
`Invoke : To execute a Wf for each & every record
Invoking Techniques:
1) Runtime Events; if we want to trigger a workflow with the help of pre defined
Siebel events( WriteRecord,SetfieldValue,Newrecord,etc)
Component: Workflow Process Manager
Layer: BO & UI
Type: Synchronous
Note: Runtime events will trigger from Business Logic Layer and UI Layer
Application should be running
2) Policies Combination of conditions and Actions
Condition : Account Status = Active
Action : Workflow that needs to be triggered (WF Name)
Component: Workflow Process Manager ,Workflow Monitor Agent,Workflow
Action Agent,Generate Triggers
Layer: BO & DO
Type: ASynchronous
3) Scripting (Button Click) By clicking on Control button executes a WF with the
help of the Scripting
Component: Workflow Process Manager
Layer: BO & UI
Type: Synchronous
Another Method:
Component: Workflow Process Manager ( Server Request)
Layer: BO & DO
Type: Asynchronous
4) RCR (Repeating Component Request) With in a time Interval it can Execute
a WF
Component: Workflow Process Batch Manager
Layer: BO & DO
Type: Asynchronous
5) Named Method (BC User Property) By calling a method it can Execute a WF
Component: Workflow Process Manager
Layer: BO & UI
Type: Synchronous