Text box

Please note that the problems that i face may not be the same that exist on your environment so please test before applying the same steps i followed to solve the problem .

Wednesday 15 May 2013

Oracle Workflow For beginners



I have been reading recently about oracle workflow concept and i wanted to share some important definitions that you as a beginner must know before you learn workflow:

      What is Traditional Workflow is?

     Traditional applications-based workflow processes are launched from a business application through APIs hard-coded within the application. These processes model the business rules in the individual local application and are made up of activities executed by the Workflow Engine only in that application’s system.


   What is Workflow Process?

    A workflow Process must be saved to the same database as the workflow Engine .A workflow process is initiated when an application calls a set of Oracle Workflow Engine APIs. The Workflow Engine takes over by driving the relevant work item defined by the application, through a specific workflow process definition. According to the workflow process definition, the Workflow Engine performs automated steps and invokes appropriate agents when external processing is required.


     What is Event based Workflow?


    The Business Event System and the Workflow Engine can function independently of each other. However,  If you use both of them you can achieve the most powerful and flexible processing by using the Business Event System and the Workflow Engine together to execute cross-system processes for e-business integration.


  What is Business Event System Components?

  1-Event Manager that lets you register:

       Business events

        Systems

        Named Communication agents within systems

        Subscriptions to events that is significant to your system

  2- Workflow Engine event activities that let you model business events within   workflow    processes.


What are the mandatory steps you need to set up oracle workflow?
1-Set system Global references and user preferences for your installation of oracle workflow using oracle configuration page  .
2- Ensure that directory service is setup up to provide information about individuals    and their roles in your organization.
3- Set up background Workflow Engines to manage the load on the primary Workflow engine by processing deferred and timed out activities and stuck processes.
4- Configure the Business Event System for Event communication.


Where is the workflow mailer log located:
You can use the below query as apps user to locate the logfile location:

SQL> set linesize 155;

SQL> set pagesize 200;

SQL> set verify off;

SQL> column MANAGER format a15;

SQL> column MEANING format a15;

SQL> SELECT concurrent_queue_name manager, fcp.last_update_date, fcp.concurrent_process_id pid, meaning, fcp.logfile_name

  2  FROM fnd_concurrent_queues fcq, fnd_concurrent_processes fcp, fnd_lookups flkup

  3  WHERE concurrent_queue_name in ('WFMLRSVC')

  4  AND fcq.concurrent_queue_id = fcp.concurrent_queue_id

  5  AND fcq.application_id = fcp.queue_application_id

  6  AND flkup.lookup_code=fcp.process_status_code

AND lookup_type ='CP_PROCESS_STATUS_CODE'

  7    8  AND meaning='Active';




4 comments:

  1. I recently upgraded to a more reliable workflow system. As a result, my healthcare has reached more levels of optimal efficiency. My Healthcare Workflow software has reduced our costs and also improved patient quality of care. I am thankful for investing in such a great system!

    ReplyDelete
  2. Hello Donald,

    Please note that the aim of the orackle workflow is the easy and maintability of the workflow and approval process within the environment.

    ReplyDelete