We do customization of Siebel all the time but all of it is for our customer and rarely would you come across customization that makes life of developer easy. Today I am going to discuss about a small customization that can make life of developer easy. Workflows are integral part Siebel and we use them all the time. Before we can use the workflow in application we need to deploy the workflow which consists of following steps.
- Clicking Deploy button in Siebel tools which makes the status of Workflow as complete
- Go to Administration Workflow > Workflow Deployment
- Query for the workflow you deployed in Siebel Tools.
- Click “Activate” button
The limitation of Activate button is that you can only activate one workflow at a time which could prove to be quite irritating if you have large number of Workflows to Activate. This small customization can help you to Activate large number of Workflows on click of a single button. In Workflow Process Repository List Applet add a new button and give the caption “Activate All Selected” and provide method name as “Activate All” Now in the Server Script of this list applet write the following piece of code
if (MethodName == "ActivateAll")
{
var bc = this.BusComp();
var i=0;
if (bc.FirstSelected())
{ bc.InvokeMethod("Activate"); }
while (bc.NextSelected())
{ bc.InvokeMethod(”Activate”);
i++;
}
TheApplication().RaiseErrorText(”Activated ” + ++i + ” Workflow Defintions.”);
return (CancelOperation);
}
Now you can select mutiple records and click on “Activate All” which will result in Activation of all the selected workflow records. This code has been written by Anshu Joshua.
Note: I have not mentioned all the steps required to add and enable a button.


(3 votes, average: 3.67 out of 5)
3 Comments at "Activating Multiple Siebel Workflow"
Could any one talk about Siebel Party data model please
Hi Neel,
I have few questions:
1. What is the difference btwn the _X table & _XM table, for example S_CONTACT_X & S_CONTACT_XM table.
The use & reason for creation of these tables.
2. are the records/fields different in both of these tables.
I think for creating link we need to have an _XM table, but I am bot sure.
Please resolve the query. Thanks!!!
- NewJoinee
this is an excellent site.
Comment Now!