Thursday, May 6, 2010

Getting Started with Oracle BPM 11g

You have access to Oracle BPM 11g once you install SOA Suite 11g PS2. Please see my previous post for details.

Once I install, I like to do a simple test to see if everything is ok. So here's a very simple BPM demo.

In this very simple scenario, a user with the role SalesRep will enter an order. This order will then be written to a file.

Creating the BPM application
Create a new BPM Application in JDeveloper 11.1.1.3







Create the Order Data Object








myOrder.xsd is available at Appendix A



Create a new Process Data Object based on Order



Define Process Role - SalesRep






Map SalesRep role to user weblogic



Do the same for the role Process Owner

Create the Write2File Service



Drag & Drop a File Adapter to the External References lane










Return to BPM design time. Write2File has been automatically added as
an external service.




Configure Write2File Implementation



Implement the Human Task











Task Data Mapping

No mapping is required for EnterOrder as this is the initiating task.

For Write to File --> Map as follows



Deploy











Test
Go to http://localhost:8001/bpm/workspace
Enter login credentials (weblogic/welcome1)







12 comments:

  1. Thank you very much for providing this start up guide for us.

    Cheers
    Pearapon S.

    ReplyDelete
  2. this is a great resource but having followed the example and logging in to the workspace as user weblogic we don't see the link in the applications, any ideas?

    ReplyDelete
  3. Hi Steve,

    did you assign the SalesRep role to weblogic? I forgot to mention this in the post.

    BPM Project --> Organization --> Roles

    ReplyDelete
  4. Hi,

    My process has been deployed successfully and I have assigned roles to jcooper but not able to see the application link in the workspace in application panel. Later i re-assigned the same role to weblogic as per your example deployed the composite again but not able to see the application link.

    In administration section i am able to see all roles with proper names

    any idea what could be the issue? unfortunately google is out of ideas as well with this problem. In oracle docs also it is written if process is not visible then look under Process tracking but i am not able to see there as well

    plz suggest any solution

    Best Regards,
    Zeeshan Baig

    ReplyDelete
  5. Hi Zeeshan,

    Ok, so you have installed the demo users - jcooper etc. You assign jcooper via the Organization tab in JDeveloper. jcooper is the initiator so I assume you have defined this correctly in the User Activity(Initiate --> Submit).


    If you log on as jcooper and do not see the link to kick off the process, then I suggest you log in as weblogic and click on the administrator tab and look at the role 2 application mapping.
    You should be able to validate whether jcooper has been assigned the role. If all is still ok, then you can send the project to me -
    niallc@t-online.de

    ReplyDelete
  6. Hi Niall,

    Yes i have seeded the demoCommunity and i am following examples on Getting started with BPM Suite book.

    I tried a simple Hello world project as well which i am emailing you with same issue.

    Thanks,
    Zeeshan Baig

    ReplyDelete
  7. Hi,
    Just to inform you that my issue was resolved. It was main issue with the LOW RAM machine had webcenter installation. I created a new domain without webcenter and all went well.

    ReplyDelete
  8. Hi,

    Is there a way we can retrieve SOAP headers in Oracle BPM 11g.

    ReplyDelete
  9. Hi Arun,

    maybe front the BPM process with a Mediator or BPEL component to access the soap headers.

    ReplyDelete
  10. Hello, I followed your instruction but while generating the auto generate task form my process is failing with below error

    "Could not complete AutoGenerateJSP because it would result in an invalid document."

    I checked in forum and metalink but not able to get a solution for the same, please let me know how to resolve this issue

    ReplyDelete
  11. Hello Niall Commiskey,

    Thanks for posting such a wonderful series of tutorial.

    I have a question which might not be related directly to bpm.

    I am trying to generate the auto-generate task form but it is failing with error message "Could not complete AutoGenerateJSP because it would result in an invalid document"

    I am using Jdeveloper 11.1.1.7

    do you know any such limitation in this version of Jdeveloper or is there anything else

    ReplyDelete
  12. Hello Niall Commiskey,

    Thanks for posting such a wonderful series of tutorial.

    I have a question which might not be related directly to bpm.

    I am trying to generate the auto-generate task form but it is failing with error message "Could not complete AutoGenerateJSP because it would result in an invalid document"

    I am using Jdeveloper 11.1.1.7

    do you know any such limitation in this version of Jdeveloper or is there anything else

    ReplyDelete