An example usage of this technique occurs when an interactive workflow must be

An example usage of this technique occurs when an

This preview shows page 230 - 232 out of 512 pages.

An example usage of this technique occurs when an interactive workflow must be cancelled but which is suspended in a wait step. In this scenario, the Process Instance Id is already known. To stop an instance of a workflow process through a script Call the _StopInstance method on the Workflow Process Manager business service, as in the following example, which uses a Process Instance Id that is hard coded: 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 the Instance of a Workflow Process You can deactivate a single instance of a workflow process, or multiple instances in a batch. To deactivate an instance of a workflow process 1 In the Active Workflow Processes list of the Workflow Deployment view, choose the workflow process you must deactivate. For more information, see “Viewing Run-Time Instances of a Workflow Process” on page 227 . 2 In the Active Workflow Processes list, choose the instance you must deactivate. 3 From the applet menu, choose Deactivate Process. The status of the chosen instance is changed to Inactive. Deactivating Instances of a Workflow Process in Batch You can deactivate instances of a workflow process in batch. To deactivate instances of a workflow process in batch 1 In the Active Workflow Processes list of the Workflow Deployment view, choose the instances you must deactivate. Use Multi-click, holding down the CTRL key while clicking each record in the list. TIP: Instead of using Multi-click, formulate a query to display only the workflow processes you must deactivate, then choose Select all from the applet menu. For more information, see “Viewing Run-Time Instances of a Workflow Process” on page 227 .
Image of page 230
Administering a Workflow Process Process of Administering a Workflow Process Siebel Business Process Framework: Workflow Guide Version 8.1, Rev A 231 2 From the applet menu, choose Deactivate Process. The status of the instances that are chosen in Step 1 are changed to Inactive. Removing a Workflow Process From the Run-Time Environment To remove a workflow process from the run-time environment, you can delete the workflow, then purge the instance of the workflow from the log. Deleting a Workflow Process You can delete a workflow process from within the Workflow Deployment view, which removes the definition of the workflow from the run-time environment. It also stops instances of the deleted workflow. To delete a workflow process 1 In the Active Workflow Processes list of the Workflow Deployment view, choose the workflow process you must remove. For more information, see “Viewing Run-Time Instances of a Workflow Process” on page 227 .
Image of page 231
Image of page 232

You've reached the end of your free preview.

Want to read all 512 pages?

  • Summer '16
  • Oracle
  • Siebel Workflow, Workflow Guide

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes