is set to SADMIN although the business requirement is to set CREATEDBY to the

Is set to sadmin although the business requirement is

This preview shows page 151 - 154 out of 512 pages.

is set to SADMIN, although the business requirement is to set CREATED_BY to the user who caused the workflow to start. In this situation, work you can perform includes: Instead of starting the workflow process on the server by using Workflow Process Manager, start the workflow so that it runs locally. As a result, the session for the end user creates the record and CREATED_BY is set to the Id for the user. In this case, the workflow is executed synchronously. If the requirement is to record which end user caused a record to be inserted, then you can pass the Login Id or Login Name of the user to the workflow process on the server, then write it to an extension field in the business component. You can obtain the Login Id or Login Name for the user in a script by using the standard LoginId () or LoginName () functions. For information about how to pass data to a custom process property of a workflow when a server request is submitted, see “Server Requests Business Service” on page 482 .
Image of page 151
Siebel Business Process Framework: Workflow Guide Version 8.1, Rev A Options for Developing a Workflow Process Starting a Workflow Process 152 Starting a Workflow Process Through the Application Object Manager Running a workflow process in the Application Object Manager can be useful for enforcing a business process with a mobile user or for defining a business process that involves navigation by the end user. To start a workflow process that runs in the application object manager Start the workflow process in one of the following ways: From the Process Simulator From a script that is defined to run locally in the application object manager From a run-time event with the Processing Mode defined as local synchronous Starting a Workflow Process Through a Script A workflow process can be started from a script by using Siebel VB or Siebel eScript. By using a script, a workflow can be started from most locations in the Siebel application or from an external program. If a workflow is started from a script, then you can define the workflow to run on the server or in the object manager. A workflow that is started from a script is executed in Synchronous mode. To run a workflow process on the server Call the Workflow Process Manager (Server Request) service. To run a workflow process in the application object manager Call the Workflow Process Manager service. Example of Starting a Workflow Process from a Script in the Object Manager This topic gives one example of starting a workflow process from a script in the object manager. You might use this feature differently, depending on your business model.
Image of page 152
Options for Developing a Workflow Process Starting a Workflow Process Siebel Business Process Framework: Workflow Guide Version 8.1, Rev A 153 The following is an example of a script that starts a workflow process named My Account Process. In this example, the process is started in the object manager.
Image of page 153
Image of page 154

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