Siebel Workflow runs with the local thread and if SWE is present then user

Siebel workflow runs with the local thread and if swe

This preview shows page 144 - 147 out of 512 pages.

Siebel Workflow runs with the local thread, and if SWE is present, then user interacts are allowed. The parameters used include: Context, a CSV string that is internally registered by Siebel Workflow The business component that causes the run-time event
Image of page 144
Options for Developing a Workflow Process Starting a Workflow Process Siebel Business Process Framework: Workflow Guide Version 8.1, Rev A 145 Choosing Between a Run-Time Event and a Workflow Policy In cases where it is necessary to detect a database event, use a workflow policy, not a run-time event. For example, if using the UI, then use a run-time event in order to start a workflow process. If using the Siebel EAI Adapter or the EAI UI Data Adapter, which performs numerous WriteRecord events, then use a workflow policy. For more information, see “Starting a Workflow Process from a Workflow Policy” on page 143 . Comparison of Using a Run-Time Event to a Using a Workflow Policy Table 25 describes two different requirements for using a run-time event compared to a workflow policy. Defining a Button That Starts a Workflow Process You can use Siebel Tools to define a button on an applet that calls the run-time event that starts a workflow process. To define a button that starts a workflow process 1 From Siebel Tools, define a button on an applet and define the MethodInvoked property. For more information, see Using Siebel Tools . 2 Override the PreCanInvokeMethod property. 3 Edit the server script and compile your changes. Table 25. Examples of Requirements for Using a Run-Time Event Compared to a Workflow Policy Requirement Recommended Technique Set the priority to ASAP and send a notification email when a new service request is created. Using a workflow policy is a more appropriate way to detect the database event. Generate a text file with some information when a particular entry applet is viewed. Using a run-time event is more appropriate. Define a workflow process with the InvokeMethod run- time event defined on the start step that detects when the Entry Applet is viewed. Use a business service step in this workflow process to generate the text file.
Image of page 145
Siebel Business Process Framework: Workflow Guide Version 8.1, Rev A Options for Developing a Workflow Process Starting a Workflow Process 146 The following example is specific to Siebel VB: Function WebApplet_PreCanInvokeMethod (MethodName As String, CanInvoke As String) As Integer If MethodName = "<Name>" Then CanInvoke = "True" WebApplet_PreCanInvokeMethod = CancelOperation Else WebApplet_PreCanInvokeMethod = ContinueOperation End If End Function 4 Define a workflow process. 5 Choose a mechanism to start the workflow process. To start this workflow process from a button click, you must define a run-time event on a connector. Choose from one of the following mechanisms to start the workflow: To start this workflow process, define the run-time event on the connector that emanates from the start step.
Image of page 146
Image of page 147

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

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors