Bookshelf Home | Contents | Index | PDF |
Siebel Business Process Framework: Workflow Guide > Administering Workflow Processes > Administering Workflow Processes in the Siebel Client > Administering Workflow Process InstancesThis topic provides procedural information on administering workflow process instances. It includes the following topics:
Viewing Run-Time Instances of a Workflow ProcessYou can view a workflow's run-time instances in the Workflow Instance Admin view. To view run-time instances for a workflow process
Stopping a Workflow Process InstanceFrom within the Workflow Instance Admin view, a Workflow administrator can stop a workflow process instance if persistence is defined. After a workflow process instance is stopped, it is removed. A process instance with a status of Running, Waiting, or Error can be stopped. If you stop a running workflow process instance, the execution of the process instance is terminated. This is different from purging a workflow process instance from the monitoring log. For more information, see Purging a Workflow Process Instance from the Log. CAUTION: A stopped workflow process instance cannot be resumed. To stop a workflow process instance
Stopping Workflow Process Instances for a Workflow ProcessYou can stop workflow process instances of a specific workflow process definition in the Workflow Deployment view. If you know the specific instance you need to stop, stop the workflow process from the Workflow Instance Admin view. For more information, see Stopping a Workflow Process Instance. If you need to stop process instances of a specific version of a workflow process definition, then you can delete the process definition from within the Workflow Deployment view. Note that deleting a process definition from the Workflow Deployment view does not only remove a process definition from the run time. It also stops process instances of the deleted process definition. To stop process instances of a workflow process definition
TIP: Using Multi-select, you can choose multiple workflow process definitions. Because the Delete Process functionality deletes a process definition and stops the process instances of that definition,. Process instances related to the chosen definitions are also stopped as a result of the deletion. So, if you need to perform a batch delete of multiple workflow processes, follow the steps outlined in the above procedure, using Multi-select to choose multiple workflow processes rather than just one. To use Multi-select, keep the CTRL key depressed as you click each record in the applet. Stopping a Workflow Process Instance from ScriptUsing the _StopInstance method, you can stop a workflow process instance using script. An example usage of this technique occurs when you have an interactive workflow which needs to be cancelled but which is suspended in a Wait step. In this scenario, the Process Instance Id is already known. To stop a workflow process instance from script Invoke the _StopInstance method on the Workflow Process Manager business service, as in the following example, which uses a hard-coded Process Instance Id: var bs_WF = TheApplication().GetService("Workflow Process Manager"); var ps_inputs = TheApplication().NewPropertySet(); var ps_outputs = TheApplication().NewPropertySet(); ps_inputs.SetProperty("ProcessInstanceId", "1-IIT"); bs_WF.InvokeMethod("_StopInstance" , ps_inputs, ps_outputs); Deactivating a Workflow Process InstanceYou can deactivate a single instance of a workflow process, or multiple process instances in one batch. To deactivate a workflow process instance
To deactivate workflow process instances in batch
Expiring a Workflow Process InstanceThis administrative procedure is performed in Siebel Tools, not in the Siebel client. To expire a workflow process instance
Purging a Workflow Process Instance from the LogYou can use the purge feature to delete process instances that have a status of Stopped or Completed before the user-specified date. If you need to delete a paused instance, stop the instance first. Note that if you delete a running workflow process instance from the log, the execution of the process instance is unaffected and the workflow process continues to run. To purge process instances from the log
Description of Where Workflow Process Instance Information is StoredTables in which workflow process instances are stored include: Tables in which workflow instance monitoring information is stored include: |
Siebel Business Process Framework: Workflow Guide | Copyright © 2008, Oracle. All rights reserved. | |