Requirement:
Whenever we change Account Type. We would like to create an Activity of type “Lab Test” with description as “Auto Generated Activity”
Solution:
We need to create a Workflow and a Runtime Event to complete this requirement without using eScript.
Workflow details:
Our workflow will consist of 3 steps and will be based on Account BO
- Start Step
- Siebel Operation Step (Insert)
- End Step
I am attaching the Workflow XML that you can download and see the workflow for your self
Runtime Event Details:
We need to setup a Runtime Event on SetFieldValue of Account BC.
Event Detail:
- Sequence: 1
- Object Type: BusComp
- Object Name: Account
- Event: SetFieldValue
- Subevent: Type
- Action Set Name: CreateAccountActivity

Action Sets:
- Name: CreateAccountActivity
- Action Type: BusService
- Business Service Name: Workflow Process Manager
- Business Service Method: RunProcess
- Business Service Context: “ProcessName”, “CreateAccountActivity”
Just deploy the workflow and you are done. You can add more fields if you want to and more conditions to restrict creation of activity because with this setup an Activity will be created every time you change the value of field “Type” on Account.
<< Previous in series

(9 votes, average: 4.56 out of 5)