Deploy or Activate of Several Workflow Processes on Siebel
Submitted by dtadmin on Sun, 09/11/2011 - 21:16
Siebel 7.8 introduces a new business service named "Workflow Admin Service" which offers, among others, this functionality to deploy or activate several workflow processes at a time. This is a new business service that allows you to perform batch import/export, deployment, and activation of multiple workflow processes initiated by way of a search specification. The methods for this business service are: Activate, Delete Deploy, Deploy, Export, and Import.
In version 7.7, this functionality is not available.
Note: When you migrate workflow processes using ADM, the workflows are activated automatically. If you use REPIMPEXP or the Siebel Workflow import/export option, you must activate the workflows manually.If you choose not to connect Siebel Tools to your production repository, you must use REPIMPEXP for migration of all your workflow process definitions and later use this Business service for deployment.
Example. Set of W/Fs to be deployed and activated can be chosen using Search specification which is one of the inputs (Input Property: "FlowSearchSpec") to the BS.
In version 7.7, this functionality is not available.
Note: When you migrate workflow processes using ADM, the workflows are activated automatically. If you use REPIMPEXP or the Siebel Workflow import/export option, you must activate the workflows manually.If you choose not to connect Siebel Tools to your production repository, you must use REPIMPEXP for migration of all your workflow process definitions and later use this Business service for deployment.
Example. Set of W/Fs to be deployed and activated can be chosen using Search specification which is one of the inputs (Input Property: "FlowSearchSpec") to the BS.
The sample code to deploy and active multiple workflows.
Multiple Deploy
if ( MethodName == "DeployTest")
{
var svc = TheApplication().GetService("Workflow Admin Service");
var inputs;
var outputs;
inputs = TheApplication().NewPropertySet();
outputs = TheApplication().NewPropertySet();
inputs.SetProperty("FlowSearchSpec","Process Name like 'HIG*'");
svc.InvokeMethod("Deploy", inputs, outputs);
var out = outputs.GetProperty("NumFlowDeployed");
return (CancelOperation);
}
Multiple Activate
if ( MethodName == "ActiveTest")
{
var svc = TheApplication().GetService("Workflow Admin Service");
var inputs;
var outputs;
inputs = TheApplication().NewPropertySet();
outputs = TheApplication().NewPropertySet();
inputs.SetProperty("FlowSearchSpec","Process Name like 'HIG*'");
svc.InvokeMethod("Activate", inputs, outputs);
var out = outputs.GetProperty("NumFlowDeployed");
return (CancelOperation);
}
Multiple Deploy
if ( MethodName == "DeployTest")
{
var svc = TheApplication().GetService("Workflow Admin Service");
var inputs;
var outputs;
inputs = TheApplication().NewPropertySet();
outputs = TheApplication().NewPropertySet();
inputs.SetProperty("FlowSearchSpec","Process Name like 'HIG*'");
svc.InvokeMethod("Deploy", inputs, outputs);
var out = outputs.GetProperty("NumFlowDeployed");
return (CancelOperation);
}
Multiple Activate
if ( MethodName == "ActiveTest")
{
var svc = TheApplication().GetService("Workflow Admin Service");
var inputs;
var outputs;
inputs = TheApplication().NewPropertySet();
outputs = TheApplication().NewPropertySet();
inputs.SetProperty("FlowSearchSpec","Process Name like 'HIG*'");
svc.InvokeMethod("Activate", inputs, outputs);
var out = outputs.GetProperty("NumFlowDeployed");
return (CancelOperation);
}
Related Articles:
Browse Categories
User login
Navigation
Popular content
- Autosys Job Handling (13,609)
- GE UNIVERSAL REMOTE INSTRUCTIONS (12,357)
- Siebel User properties (9,094)
- Test 1 - NC Drivers License Test - DMV Question Dump (8,769)
- Making a View "Read Only" based on a criteria: Aspect User Property (4,216)
- Siebel Application Response Measurement (SARM) (4,144)
- Siebel Predefined Queries (PDQ) – Reference (4,080)
- Siebel Server Component Event Logging (3,662)
- Strategies for Building Team Cohesion (3,153)
- How to create the EBC’s in Siebel (3,085)
Readers who viewed this page, also viewed:
- What to expect from Open UI for Siebel CRM (300.0%)
- Siebel Multi Lingual Changes – Considerations (300.0%)
- Siebel Repository tables (300.0%)
- Installing Patch in Siebel 8 - Client using Opatch Utility (300.0%)
- Handling Error - Unable to create the Business Service 'Web Service Deployment Service' (200.0%)
- How to integrate or consume an external RESTful web service in Siebel 8 (200.0%)
- How can I show a html (or a mhtml) file within an applet? (200.0%)
- Steps to Switch Siebel UCM and CRM Instance For Ch Pip And O2c Pip 2.5 (200.0%)
- Approach to massively change a product configuration, keeping BRM and the entire Siebel/AIA stack is in sync (200.0%)
- How Do Trackable URLs 'Click on URL' in Siebel 8.1.x Work and How are They Structured? (200.0%)
