I have been awfully busy in these past few days and I haven’t had a chance to write any articles or posts but I have been visiting Siebel Forum and there is definitely some good activity going down there. Now, there are quite a few users contributing valuable tips and solution that it is worth visiting there.
Requirement:
In “Service Request” if the Status is Set to Closed , workflow needs to be invoked. Runtime events should not be used. Here is what we are trying:
We are using BC User Property called Named method n to invoke the workflow
The question
How to trigger the Named Method Bus Comp User property by using other Bus Comp User properties like On Field Update Invoke or On Field Update Set
In short here is what we are trying to achieve
If status is set to “Closed” invoke a BC user property which will invoke named method user property which finally will invoke workflow.
An example will really help
Jeevan a member of Siebel Unleashed forum has given an excellent example how to achieve that.
Solution:
To full fill the requirement that you mentioned above following combination of user properties need to be created on your BC.
I m giving the example of invoking WF on Action BC when the status changes to closed.
- Create the following user property:
Name: On Field Update Invoke n
Value: “Status”, “Action”, “InvokeWF”, “[Status] = ‘Closed’”
This user property will invoke method InvokeWF on Action BC when the status of the activity moves to “Closed”.
- Create another user property as mentioned below:
Name: Named Method n
Value: “InvokeWF”, “INVOKESVC”, “Action”, “Workflow Process Manager”, “RunProcess”, “‘ProcessName’”, “Your Workflow Name”, “‘RowId’”, “[Activity Id]“, “‘WF Process Prop 1′”, “[Activity Type]“
This user property will invoke the workflow process “Your Workflow Name” and pass the followinf input properties to the workflow
Object Id = Activity Id
WF Process Prop 1 = Activity Type
Modify the above user properties as per your actual requirement.


(5 votes, average: 4.20 out of 5)