Workflow Design in Oracle Database

Hi Pals,
Problem : Designing a Vendor Management Application which will keep track of all the request created, approved, rejected or in between of any business process.
Front end: Java
Backend : Oracle
I am new to Database Design so forgive my technical writing.
Client want business logic on database end only.
Here is an example :
1. New Request for IT enabled services created in application.
2. This Request should go to concerned department such as Finance, Sourcing, Legal etc.
3. We have to keep track of every activity (Modify, Approved, Rejected or cancelled) done by each department.
4. Each Request will go to different departmet for approval based on type such as Software Services, Hardware, Software & Maintenence.
5. At each phase of request, We have to notify requestor + approver about the status of request by Email (Also from Backend).
6. We also have to maintain audit trail for some attributes for each phase of request in database.
Could you please suggest any idea how we can implement such workflow in database ?
Any link or any suggestion is welcomed..
Many Thanks in advance
Kamal

Hi Sybrand Bakker,
First of all.. Thanks a lot for replying.
It's perfectly make sense that answer to my question will take hours. I don't want anybody to do such large amount of work without being paid. That's the reason I clearly mentioned that any link or suggestion is welcomed...
Here is what we are trying to implement just for information"
1. Workflow Table : for Each Type of workflows such as Software Services, software & hardware etc.
2. Workflow_Task Table : Each Workflow can have multiple tasks assigned and in particular order in this table.
3. Request_Info Table : We will check the type of request, then according to workflow tables, we will assign a set of tasks to that request in say request_process_tasks table.
4. Request_Contract : For keep a track of record of activites taking place on request, we can keep records in Request_Contracts table.
Just want to know if this kind of table structure is somewhat okay to start with (Ready to face challanges later :) )
Just looking for guidelines or any link which can help how to prioritize things and all that..
One simple question : In Normal CRM or Ticketing system, do we keep such kind of business relations on database or application front end.
Which one is better Database or Applicaiton front end to keep workflow ?
Hope These are some questions which can be answered in less than 30 Mins...
Thanks a lot Sir :)

Similar Messages

  • How to pass a date parameter from report builder query designer to oracle database

    i'm using report builder 3.0 connected to oracle database. i'm trying to pass a date parameter in the query with no success, i don't
    know the exact syntax. I've tried :
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date('01/01/2014','mm/dd/yyyy')
    it worked perfectly.
    However if i try to put a date parameter "From" instead of 01/01/2014 it will not work, a Define Query Parameter popup window appear and error occurred after i fill
    the values (usually i shouldnt get this popup i should enter the value when i run the report)
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date(:From,'mm/dd/yyyy')
    appreciate your assistance

    Hi Gorgo,
    According to your description, you have problem when in passing a parameter for running a Oracle Query. Right?
    Based on my knowledge, it use "&" as synax for parameter in Oracle, like we use "@" in SQL Server. In this scenario, maybe you can try '01/01/2014' when inputing in "From". We are not sure if there's any limitation for To_Date()
    function. For your self-testing, you can try the query in sqlplus/sql delveloper. Since your issue is related to Oracle query, we suggest you post this thread onto Oracle forum.
    Best Regards,
    Simon Hou

  • Error when setting up connection from Universe Designer to Oracle database

    Hello,
    I am attempting to create a connection to an Oracle 10 database in Universe Designer.  I am currently running Business Objects XI 3.1 SP3 on a 32 bit machine.  I have the Oracle client installed.  In Universe Designer when I attempt to create a new connection using the Oracle 10 client I receive the following error.
    CS:DBDriver failed to load : C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll (The specified module could not be found.)
    The dbd_oci.dll file does exist in the directory listed above.  Has anyone encountered this issue?
    Thanks in advance.
    Brock

    Hello Brock,
              Do you have multiple SQL clients installed on your system? If so, uninstall the previous versions. Check if the PATH variable is set to correct bin path and then try testing it again.
    Regards,
    Sanjay

  • Can Oracle 9iAS Workflow work with Oracle Database 11g?

    I was trying to search the metalink for the above but was unable to find any helpful information. Does anybody here knows whether the above is certified and doable or not?
    Thanks.
    DW

    What about using VMware Converter?
    Here's our sitch: We (especially I) want to convert our stuff to Oracle Linux, and run it in Oracle VM. Our latest product is doing just that. But we have customers for whom we need to supply our product in a VMware image, for in case we go out of business they can still run our SaaS product.
    So if we get more of our products to run in Oracle VM, could we use VMware's P2V converter to transform the Oracle VM images into VMware images? We just won't tell the VMware converter that its actually a virtual machine its converting. It is supposed to work on Linux.
    Has anyone tried, or seen this work? I know its a matter of us trying at at the end of the day, but I'd like to hear about the experience of others.
    thanks
    Peter

  • What are the BEST books for Oracle database architect/designer?

    What concrete books would you recommend for OLTP database developer (to start from the scratch, starting from data sources analysis, logical and physical data modeling, indexes, tuning, maintaining). It doesn't have to be a book particulary for Oracle but suitable for it..
    I don't mean books DBA's or overall Oracle handbooks, also not for OLAP.
    Thanks!

    For learning how to use Oracle database effectively, i would say
    Tom Kyte's both books:
    Effective Oracle by design
    & Expert Oracle Database Architecture
    Jonathan Lewis's
    Practical Oracle 8i
    They tell you all the stuff: what/how to do something? and most importantly what/how not to do ?
    And their writing style is just awesome :)
    Amardeep Sidhu

  • Oracle database normalisation and logical design documnetation

    Hi ,
    Am a begginer on DB design , can anyone help me find Oracle database normalisation and logical design documnetation for reference.
    Thanks,
    Swaroop

    Database logical design and normalization are typically DBMS (Database Management System) independent. Meaning that you could do a whole LOGICAL design without regards to the platform in which it will be based. There are many, many resources on the internet if you search for them. if you used terms like "logical database design", or "database normalization" on Google or your search engine of choice I imagine you'll come up with many results.
    When it comes to the actual physical design of the database (as in tablespaces, datafiles, indexes, etc) I would first consult the "Oracle Concepts Guide", and then something like the "Application Developer's Guide." This documentation is all available at:
    http://otn.oracle.com
    Hope this helps!

  • Connect to local oracle database at form design with Win98 or Me

    Hi all,
    Is there a possible way to connect to a local oracle database when you design a form in Win98 or Me?
    Thank you

    is ur database up and running?
    are u able to log on personal oracle database?
    if so u can log on from forms to database..

  • Oracle Database Express Edition 10g; Designer, PL/SQL; Download

    Hi,
    I am new to this forum, I hope that I am posting in the right one :)
    I am refreshing my SQL knowledge an installed the "Oracle Database Express Edition 10g Release 2 (10.2)" which works fine. I now would like to learn PL/SQL and Oracle Designer.
    Are these 2 also offered as a free download for personal use? Since the Oracle website is pretty complex I am not sure what I should download.
    Can I run these programs on one WinXP Home machine?
    Thanks for your help!

    Designer is not free like Express Edition. You cannot use it for any commericial purpose without a licence.
    Designer is a big tool. I don't know why it shouldn't run against XE but it is a tough blighter to configure and install. It is also a moribund product, so the answer to this question:
    Is there a newer Designer version available?is likely to be "No" whenever you ask it.
    Cheers, APC

  • Connect Oracle Developer / Designer to Oracle 10g XE database

    I have installed the Oracle 10g XE database on my PC. Also on the same computer I have installed Oracle 10g Developer Suite (Designer, Forms etc). The database runs ok without problem. However I cannot connect Designer to the database. I know a listner program (e.g. tsn listner) has to be installed for the purpose of connecting to the database. When starting the XE database a listner program also is started.
    My question:
    What do I have to do inorder to have the Designer connect to the XE database?
    R. Carson

    Is there any changes should I do?!Well sorry but I don't know. This sugesstion to copy sqlnet.ora file resolve my problems to connect with Developer 6i to 10g, but that is 10g EE in my office, not XE at home...
    Anyway your sqlnet.ora file look like very "default" but maybe is that O.K. on XE?
    Who knows?
    Message was edited by:
    Faust
    Edit: Try to search this Forum, I think, I saw few threads discussing theme "connect Developer 6i to XE" ... Good Luck!

  • Using Oracle ODBC Gateway connecting to a remote Oracle database

    Oracle 11gR2
    RHEL 6.4
    Has anyone use the Oracle ODBC Gateway to connect to another Oracle database?  Any issues with that configuration?  Where do I get the ODBC drivers for Linux?
    (I know, "why not use a dblink?" -- well that would be against company security policies)

    Hi,
       From the Oracle point of view we support using DG4ODBC for Oracle to Oracle connections. However, we have not actually tested it as DG4ODBC is primarily designed for access to non-Oracle databases.
    How DG4ODBC will work between Oracle databases depends on the ODBC driver and what that supports. You will need an ODBC Oracle driver which you can get from various suppliers including Oracle but also vendors such as DataDirect, Easysoft etc. You could try a Google search.
    You say you do not want to use database links but that is how DG4ODBC is used, You cannot do -
    sqlplus user/password@dg4odbc_oracle
    Once Dg4ODBC is setup and configured as in this note - if you are using Linux 64-bit -
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
    then in the Oracle database you create a database link and select from tables in the other Oracle database -
    select * from table@dg4odbc_db_link ;
    Regards,
    Mike

  • How can i save the data from the Oracle database to my local directory

    How can i save the data from the Oracle database to my local directory instead Of saving the data file to the Directory created on the Oracle Server ?
    I require to design the Procedure which will pull the data from various tables and needs to store the data in the Client's local directory.

    Since SQL*PLUS runs on the client, you can use SQL*PLUS to spool data to your local drive.
    You could also use the database to write a a specified drive where all users have access to (mapped network drive, e.g.). I wouldn't recommend doing it that way, but it is sometimes useful when the files are created in some nightly batch run.

  • How to store image in the oracle database 10.2.

    Hi.,
    I am working on 10g ids. I have designed a form where there are two fields. Name and picture.
    I want to keep details of the person with their photo.
    I can simply put name but how to insert image in the picture field??
    can you suggest ??
    Thanks.
    Shyam

    Hi
    To store your binary images in an Oracle database, you will need to create a column in your table defined with the BLOB datatype BLOB stands for Binary Large Object. Images from scanners, mpeg files, movie files and so on can all be stored in the BLOB column
    sq>CREATE TABLE test_table (
       id NUMBER,
       image BLOB);then go to
    [http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10796/toc.htm]

  • Unable to Create Entity Model from existing oracle database

    Hi,
    I am using Visual Studio 2013, .net framework 4.5, entity framework 5.0 and oracle 11g database.
    Issue Description: I need to develop WCF service to exposing the account information which needs to get the data from 20 oracle tables. Trying to create entity model from existing oracle database. first i tried creating just two tables it
    was created but it took more than 30 minutes. then i selected remaining few tables it took more than a days but nothing created just showing spinning the wheel. then i tried with fresh project and selected all the tables but same issue nothing created and
    also there is no error. during this process i checked database query monitoring there is a big sql statement collection tables metadata. i don't know what was wrong the query taking too much time to complete the  process.
    we tried multiple machine and different oracle database all are same issue.
    Sql server database -looks good no issues.
    Any help/tips/ideas welcome to overcome this issue.

    Hi Sakthimp,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses the usage of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because your issue only occurred with oracle database, moreover Oracle developed the Entity Framework for Oracle itself, I suggest that you can consult your issue on Oracle forum/community:
    you will get better solution and support there.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Performance problems loading an XML file into oracle database

    Hello ODI Guru's,
    I am trying to load and XML file into the database after doing simple business validations. But the interface takes hours to complete.
    1. The XML files are large in size >200 Mb. We have an XSD file for the schema definition instead of a DTD.
    2. We used the external database feature for loading these files in database.
    The following configuration was used in the XML Data Server:
    jdbc:snps:xml?f=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xml&d=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xsd&re=initialLoad&s=CM&db_props=oracle&ro=true
    3. Now we reverse engineer the XML files and created models using ODI Designer
    4. Similar thing was done for the target i.e. an Oracle database table as well.
    5. Next we created a simple interface with one-to-one mapping from the XSD schema to the Oracle database table and executed the interface. This execution takes more than one hour to complete.
    6. We are running ODI client on Windows XP Professional SP2.
    7. The Oracle database server(Oracle 10g 10.2.0.3) for the target schema as well as the ODI master and work repositories are on the same machine.
    8. I tried changing the following properties but it is not making much visible difference:
    use_prepared_statements=Y
    use_batch_update=Y
    batch_update_size=510
    commit_periodically=Y
    num_inserts_before_commit=30000
    I have another problem that when I set batch_update_size to value greater that 510 I get the following error:
    java.sql.SQLException: class org.xml.sax.SAXException
    class java.lang.ArrayIndexOutOfBoundsException said -32413
    at com.sunopsis.jdbc.driver.xml.v.a(v.java)
    The main concern is why should the interface taking so long to execute.
    Please send suggestions to resolve the problem.
    Thanks in advance,
    Best Regards,
    Nikunj

    Approximately how many rows are you trying to insert?
    One of the techniques which I found improved performance for this scenario was to extract from the xml to a flat file, then to use SQL*LOADER or external tables to load the data into Oracle.

  • Which is the supported ver. of Designer for Oracle 8.1.7 on Win NT

    Hi Guys...
    Designer 6i rel. 2 supports Oracle database
    ver. 8.1.6 only (on Win NT)
    What about ver. 8.1.7 (on Win NT)
    Which is the Designer's ver. supported which supports 8.1.7
    Please somebody give me reply ASAP.
    Thank u very much.
    null

    Dear Durgesh,
    Oracle Designer 6i Release 2 is also certified for use with Oracle8i Server, Release 8.1.7. This is mentioned in the Release Notes accompanying the Designer software. You can find the necessary documentation at:
    <DESIGNER_HOME_DIR>\CDOC72\des2k_relnotes\rn_des_6i.htm
    Ciao!
    null

Maybe you are looking for

  • Cannot attach a WS-Policy to Jax-RPC Web Service

    I am having trouble trying to associate a WS-Security Policy with a BEA Jax-RPC Web Service? I am following the following procedure to try to associate a the policy: http://edocs.bea.com/wls/docs100/ConsoleHelp/taskhelp/webservices/ConfigureWSPolicyF

  • Default file type for photosmart 7525

    I am trying to find the default file type that is saved to a USB drive when scanning on the HP Photosmart 7525.  This is not my printer, I am just trying to help my sister who lives in another city and is not computer literate.  She scanned some pict

  • Upload to ftp host stopped working since last Muse update

    Since the last update of Muse (CC 2014.3) I'm unable to configure the ftp access in 'upload to ftp host'. It gives me an error notification (as if the user or password are incorrect) and therefore doesn't connect. The server client to which I'm tryin

  • How do I get the chat heads after updating the newest version of Facebook? Mine still shows the old meassging version

    After updating the newest version of Facebook, my messaging is still the same old way even though it says it was supposed to turn to chat heads. Anyone else experiencing this?

  • Traffic flowing through Fw

                       Hi Everyone, We have SVI vlan on layer 3 core switch A. this switch has connection to ASA  and also to another B Layer 3 switch. B Layer 3 switch connects to Layer 2 switch which has this vlan. Need to undertsand traffic flow from