Activate Multiple Workflows with Search String in Siebel

Sometime during Siebel deployment from one environment to another environment or for vanilla functionality like Siebel Order management we need to activate set of workflows one by one. This process might take huge time and could bring human errors like Admin people might forget to activate one or more workflow unknowingly.

 
To avoid such possibilities and activating the multiple workflows using single workflow with the specific search criteria, we have created one automated flow process with the idea of my two colleagues(Rahul Jain and Vivek Mishra). Below is the flow diagram for the process.

 



 

 
Workflow Description. This workflow does the following:

  1. Activate the multiple workflow with given search string
    • i.e we want to activate the Order quote related vanilla workflow. Just give the search string 'ISS' and this process automatically activate all the ISS workflows (24 by vanilla)
  2.  Activate all newly and revised completed workflow in the SIT or UAT deployment.
  3. Provide detail total no of activated workflow and name as output property set
  4. Provide detail error workflow and its respective massage
  5. Input Process Property: 
    • ProcessName: Activate All Non-Active Workflow (Mandatory)
    • WFSearchString: (Optional, by default is * and activate all non active workflows) 
  6. Output Process Property "ActivatedWorkflow" will show all the workflow name which are activated in the process
  7. Output Process Property "NoOfWorkflowActivated" will show total no of workflow activated in this process
  8. Output Process Property "NoOfErrorWorkflow" will show total no of workflow error out  during activation process
  9. Output Process Property "ErrorWorkflow" will show all the error workflows which are error out during activation process with error details

How to Use:  

  1. Go to the business simulator: Administration- Business Service>Simulator View
  2. Create New Record 'Service Name' as 'Workflow Process Manager" and Method name as "RunProcess"
  3. Create another record in Child applet and open Property Name Mvg with the below paramenters
    • ProcessName: Activate All Non-Active Workflow (Mandatory)
    • WFSearchString: (Optional, by default is * and activate all non active workflows) 
  4. Press "Run on one Input" button
  5. verify the activated workflows using output arguments
Tags