Monday, April 4, 2011

Siebel Workflow Tip - How to query a BC from different BO without Creating Sub Process

How to Query a BC from Different BO without creating sub process in a Workflow?

1. Create a Business Service Step with the following properties

Business Service Name: Inbound E-mail Database Operations
Method: FindRecord

2. In the Input Arguments of this Business Service Steps fill the following arguments

Input Argument       Type              Value
BusObject               Literal            
BusComp                Literal            
QueryFields             Literal            
ValueFields              Literal            

For each query field create a new Input Argument and mention the RHS of the query as Property Property / Literal / Expression for eg
Account                   Process Property       prpAccount
Contact                    Process Property       prpContact

Based on the value passed in the process property prpAccount and prpContact the data will get filtered in the BC mentioned in the BusComp input argument

3. In the output Arguments of this Business Service Steps fill the following arguments

For each field mentioned in the"ValueFields" input argument create a new Output argument for example

Email                       Output Argument    prpEmail

"The field value mentioned is retrieved and get stored in the Process property.  In our example Email Property of the Contact will be retrieved and get stored in the process property prpEmail.

No comments:

Post a Comment