BPM and database interaction

I am writing my thesis on processes and use the OBPM product.
I need to connect it to an external database. I managed to make some steps towards this goal, but the big picture is missing.
Can anyone show me a documentation on this topic or help me directly?
Thanks in advance
Edited by: bpmL on Feb 2, 2009 3:13 AM

I need help with this. I tried to make my BPM object to fill one pull-down list from Oracle database and I just don't get it to work. I get a java nullpointerexception.
The weird thing is that when I debug the method, it works fine. But when I open the presentation in workspace, it just gices out the nullpointerexception. How can it work in debug but not when run in workspace?
The code is this:
listValues as String[String]
externalResource as String
sql as String
externalResource = "tuotaDB"
sql = "SELECT DISTINCT TYOKAN.TUN AS TUN, " +
"TYOKAN.SELI1 AS SELI1 FROM TYOKAN, TYO_KP WHERE TYO_KP.TUN = TYOKAN.TUN " +
"AND TYOKAN.TUN IS NOT NULL AND TYOKAN.SELI1 IS NOT NULL "
for each row in DynamicSQL.executeQuery(sentence : sql, implname : externalResource) do
listValues[String(row["TUN"])] = String(row["SELI1"])
end
return listValues
The name of the Oracle database external resource is tuotaDB and the name of the catalog item is TUOTA. I have imported the tables mentioned above into that cactalog.
This is part of the error messages that I get:
exception occurred running controller: fuego.xobject.runtime.components.XOInputController
javax.servlet.ServletException: exception occurred running controller: fuego.xobject.runtime.components.XOInputController
The task could not be successfully executed.
Reason: 'java.lang.NullPointerException'.
Caused by: java.lang.NullPointerException
fuego.lang.ComponentExecutionException: The task could not be successfully executed.
Reason: 'java.lang.NullPointerException'.
Caused by: java.lang.NullPointerException
     at fuegoblock.sql.DynamicSQL.executeQuery(DynamicSQL.java:316)
     at fuegoblock.sql.DynamicSQL.executeQuery(DynamicSQL.java:93)
Error workspace-1247845516304
The task could not be successfully executed.
Reason: 'java.lang.NullPointerException'.
Caused by: java.lang.NullPointerException
fuego.lang.ComponentExecutionException: The task could not be successfully executed.
Reason: 'java.lang.NullPointerException'.
So, what have I done wrong? There are several different ways to write that code as mentioned already in this thread, but the results are the same. If I comment out the line adding values into list then the script goes through fine. But the script goes through fine in debug mode also, but not when run in workspace.
Please, help me, I have spend a lot of hours into this...

Similar Messages

  • EAI is just about  WS and database interaction or WS and What

    Salut,
    I want a straightforward answer for this question
    EAI: is it about WS and legacy database interaction or what ?

    Hello,
    Have you take a look to BPEL (Business Process Execution Language) that is a language that use Web Services to define your business process.
    Take a look to the BPEL page on OTN and you will learn about what can WS give you in term of EAI. For example Oracle Application server with its adaptor based on JCA allow you to publish this JCA information as Web Service so you can leverage any legacy system...
    - BPEL Page
    Regards
    Tugdual Grall

  • BPM and UI5 interaction

    Hi all,
    I'm investigating how BPM human-centric tasks can be developed with UI5.
    I've gone through the available excellent blogs, so I'm aware of the OData API exposed by BPM.
    However I still have one major question:
    For a number of reasons, I might need to deploy my UI5 application on a system other than the Process Engine itself, it might not even be a Netweaver server. In the official help I can see as a prerequisite:
    The UI component you want to assign runs on the same Application Server Java (AS Java) as the Process Server, that is, where the process definition with the task is deployed.
    Does this mean that I cannot use web application at arbitrary locations to create my human-centric BPM tasks?
    Thanks, regards
    Vincenzo

    Hi Vincenzo,
    this is currently not possible, but we have it already on our roadmap.
    Best Regards,
    Andre

  • [BPM] Screenflow and Killing Interactive Process Questions

    Hi Guys,
    I have the following questions:
    1. How to kill an interactive activity? I tried to kill a process in an interactive activity via PAPI but it throws an exception:
    samplePAPI.activityAbort(target.getActivityName(), target.getId());
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: Operation exception.
    faultActor:
    faultNode:
    faultDetail:
         {http://bea.com/albpm/PapiWebService}OperationException:<message>Operation exception.</message>
    Operation exception.
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    2. How to close a custom JSP in a screenflow through javascript. I have a cancel button which once clicked it will close the window.
    I hope someone can help me out with this.
    Regards,

    Hi,
    Sory, but I'm still not sure, how ADF comunicates with BPM (I know that it uses EJB services and hwtaskflow.xml). But a still don't have an answers for follwowing questions:
    1) I know ADF quite good. Having method in data controls (in our case getTaskDetails()) we need to invoke it somehow. I don't see anywher invokation of this method.
    2) In generated task flow there is some managed beans and params - what is role of them ? Having over 50 task flows , do I need it in all of them. Where can I find description of those beans and params
    3) In our approach we use BPM , ADF RC for UI and Business Components to persist data into database. Only data from payload we need is ID of master-level row. My question is - do I have to generate data controls for all human task ?. In my my opinion it should be only one communication point between BPM and ADF but not the same for all pair human task --> task flow.
    All infomation I need from BPM is:
    - task ID
    - task flow name (to open apriopriate tab in my application)
    - available outcomes
    - to know is BPM operation is enabled
    Kuba

  • BPM and ADF integration - some questions

    Hi,
    I have a few questions about comunication between BPM 11.1.1.5 and Human Task based Task Flow:
    1) What is the best way to pass data (task id, proces id, proces data) from BPM workspace to Human Task Task Flow (and get them as TF params).
    2) Where can I find a description, how ADF app comunicates with BPM process.
    3) Where can I find a description of all data controls created by JDeveloper (BPM Suite) when HT Task Flow is created.
    3) Where can I find a description (and their functionality) of managed beans created by JDeveloper (BPM Suite) when HT Task Flow is created.
    Kuba

    Hi,
    Sory, but I'm still not sure, how ADF comunicates with BPM (I know that it uses EJB services and hwtaskflow.xml). But a still don't have an answers for follwowing questions:
    1) I know ADF quite good. Having method in data controls (in our case getTaskDetails()) we need to invoke it somehow. I don't see anywher invokation of this method.
    2) In generated task flow there is some managed beans and params - what is role of them ? Having over 50 task flows , do I need it in all of them. Where can I find description of those beans and params
    3) In our approach we use BPM , ADF RC for UI and Business Components to persist data into database. Only data from payload we need is ID of master-level row. My question is - do I have to generate data controls for all human task ?. In my my opinion it should be only one communication point between BPM and ADF but not the same for all pair human task --> task flow.
    All infomation I need from BPM is:
    - task ID
    - task flow name (to open apriopriate tab in my application)
    - available outcomes
    - to know is BPM operation is enabled
    Kuba

  • BPM and SOA will Support Windows Server 2003 R2 x64

    Hello All -
    Can you please tell me, BPM and SOA Suite (10g and 11g) can support the following Server?
    Windows Server 2003 R2 Standard x64 Edition Service Pack2.
    Thanks in advance.

    Here's where you can find the compatibility matrix for Oracle BPM 10g with platforms, operating systems, JVMs and databases: http://www.oracle.com/technetwork/middleware/bpm/obpm-config-matrix-085247.html#bpms1032
    Getting the same compatibility information for Oracle BPM 11g proves a bit more difficult. The closest I've come to finding a similar list is when I went to http://download.oracle.com/docs/html/E18558_01/fusion_requirements.htm. Sure others will have fond an easier route to the information for 11g.
    Dan

  • Oracle BPM directory database

    Hi,
    IHAC that has a custom application to manage their users and roles. They are using Oracle BPM and they want to keep creating, managing and authenticating user with that application, that is not a LDAP.
    How can I syncronize the creation/updating/deleting/ of users in their application with the Oracle BPM Directory? I have been looking for Oracle BPM Directory schema documentation but I haven't found anything
    I know that activating SSO I could manage the user authentication but I still have the issue about users administration
    thanks in advance
    Ana
    Edited by: user_Ana on Apr 7, 2010 5:40 PM
    Edited by: user_Ana on Apr 7, 2010 5:41 PM

    Hi
    In OBPM 10gR3 we can create the participants & manage & update user roles dynamically using the FDI components.
    simple solution to your requirement is check the user roles in both the application DB & in FDI database & write your code accordingly.
    To check the participant existance in directory DB:
    //=======FDI Participant verfication=======
    Fuego.Lib.Participant primary = Participant.find(name : "participant_id"));.
    If the above value is null then create a new participant & assign the roles using the below code.
    i. Participant Creation : Fuego.FDI. DirHumanParticipant
    Ans: // Reuse Engine session to the Directory
    session = DirectorySession.currentEngineSession
    // Load the Organization Unit to which the participant will belong to
    myOU = DirOrganizationalUnit.fetch(dir : session, id : "Dallas")
    // Load the Role that the participant will have assigned,
    // and create a role assignment for it
    myRole = DirOrganizationalRole.fetch(session : session, id : "Role1")
    myAssignment[] = RoleAssignment.create(role : myRole, permissions : 255)
    // Create the new participant.
    myparticipant = DirHumanParticipant.create(
    session : session, id : "example_participant",
    firstName : "NewName",
    lastName : "NewLastname,
    displayName : "NewLastname, NewName",
    mail : "[email protected]",
    telephone : "0000000000",
    fax : "1111111111",
    password : "secret",
    ou : myOU, rolesAssignment : myAssignment,
    enabled : true)
    // set it NOT to receive emails when new instances arrive to
    // this participant inbox:
    myparticipant using receivesMail = false
    ii. Role Assign / Update : Fuego.Fdi : RoleAssignment.
    Ans:
    // fetch all roles
    mySession = DirectorySession.currentEngineSession
    allroles = DirOrganizationalRole.fetchAll(session : mySession)
    // Generate array of RoleAssignments for all non-parametric Roles
    for each r in allroles
    do
    aRole = DirOrganizationalRole.fetch(session : mySession, id : r.id)
    if not aRole.parametric then
    newAssignments[] = RoleAssignment.create(role : aRole,
    permissions : 255)
    end
    end
    // Replace role assignments for this participant
    currentPart = DirHumanParticipant.fetch(session : mySession,
    id : Participant.id)
    currentPart.rolesAssignment = newAssignments
    update currentPart
    For reference go through the this link: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/standard_components/index.html
    I hope this might help.
    Thanks

  • BPM and multi data sources for users??

    Hi all
    can BPM read users from more than Data source?
    my case is i want to create from BPM Admin Center a Directory Service(or more than one) , so i can read users and groups from ldap AD and DataBase ....or from 2 ldaps
    Thanks

    Federated directory support was added in 10gR3. This is done at the web application level, such as the workspace and allows the workspace to connect to multiple directories and provide a consolidated interface for users. This is configured through the workspace.properties file but I am not sure how much documentation exists.

  • BPM and SOA

    Hi all,
    I would like know your feeling about BPM and SOA.
    Are BPM and SOA on top one of the other from a stack point of view ?
    Or BPM and SOA are the two sides of the same coin ?
    In your opinion is BPM that deliver service orientation or service-orientation comes from something called SOA ?
    Thanks in advance for your feedbacks.

    Hello Pierluigi,
    Business Process Management (BPM) is a term used basically for two things:
    1. A way to run, monitor and improve your business execution (the Business part)
    2. The name of specific tooling to support the above (the IT part)
    There are non-techical aspects of BPM: there can be procudure changes, organization changes, role changes, product changes to achieve the goal of business improvement, which have nothing to do with IT. These are results of strategic, tactical or operational planning. Business process management is just a term for controlling and improving your processes: facilitated by anything which helps. (In BPM projects therefore some things might be better solved NOT trying to get everything automated.)
    Where automation can help this, the IT part gets involved.
    The IT part of BPM is where processes are modelled, controlled, monitored and changed through tooling. And tooling to run processes like workflow engines or process engines. Any form of process automation can be ranked under BPM. BPM as and IT concept than means that the processes are controlled and monitored by a separate component of your IT archtecture. This component in NOT actually performing system updates or transactions, it is merely administers the process-meta data of the execution, and orchestrates the events and actions which have to be performed to succesfully execute the process.
    Where SOA gets involved is when you apply the open web services standard to design your running components in your BPM solution. Web services to utilize and support the process, web services to help the user interaction, web services to support the business transaction, and web services to actually update the systems. So SOA is just a way of implementing and supporting a BPM solution. On enterprise level it is wise to take the SOA route because interoperability is key to make things work, and changes/additions/integrations can be made far more easily when using the open web services definition rather than proprietary implementations.
    The SOA design concept can also be used in non-BPM scenarios. When defining re-usable services which accomodate just simple transactions or look-up functions where no specific workflow is involved (PO Box lookup, search functions, etc.), web services can be a great way of providing an open interface to business logic.
    Summarizing: BPM and SOA are two completely separate concepts and can be implemented without each other. However, when applied on enterprise level, the SOA design pattern will help you achieve the business agility goals you might have with your BPM implementation.
    I hope this helps making things clear.
    Regards, Edo van de Velde

  • 11g equivalent for the oracle bpm 10g global interactive

    Hi,
    What is the 11g equivalent for the oracle bpm 10g global interactive activity?
    Thansk!

    The Initiator Task is the 11g equivalent to Global Interactive Activity.
    Find more information here
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15176/human_task_bpmpd.htm
    and here
    http://jamessmith73.wordpress.com/oracle-soa-bpm-11g/simple-bpm-task-initiator/

  • Re: what is difference between sap locking and database locking

    hi,
        what is difference between sap locking and database locking. Iam locked the table mara by using lock objects.
    But iam unable to unlock the mara table. I give u the coding. Please check it.
    REPORT zlock .
    CALL FUNCTION 'ENQUEUE_EZTEST3'
    EXPORTING
       MODE_MARA            = 'S'
       MANDT                = SY-MANDT
       MATNR                = 'SOU-1'.
    call transaction 'MM02'.
    CALL FUNCTION 'DEQUEUE_EZTEST3'
         EXPORTING
              mode_mara = 'E'
              mandt     = sy-mandt
              matnr     = 'SOU-1'.
    IF sy-subrc = 0.
      WRITE: 'IT IS unlocked'.
    ENDIF.

    Hi Paluri
    Here is the difference between SAP locks and Database locks, i will try to find the solution to your code.
    Regards
    Ashish
    Database Locks: The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. This means that database locks can never be set for longer than a single database LUW; in other words, a single dialog step in an R/3 application program.
    Physical locks in the database system are therefore insufficient for the requirements of an R/3 transaction. Locks in the R/3 System must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must apply on all servers in that R/3 System.
    SAP Locks:
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the R/3 System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The SAP lock concept is based on lock objects. Lock objects allow you to set an SAP lock for an entire application object. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary.

  • Some error in cluster alertlog but the cluster and database is normal used.

    hi.everybody
    i used RAC+ASM,RAC have two nodes and ASM have 3 group(+DATA,+CRS,+FRA),database is 11gR2,ASM used ASMlib,not raw.
    When i start cluster or auto start after reboot the OS,in the cluster alertlog have some error as follow:
    ERROR: failed to establish dependency between database rac and diskgroup resource ora.DATA.dg
    [ohasd(7964)]CRS-2302:Cannot get GPnP profile. Error CLSGPNP_NO_DAEMON (GPNPD daemon is not running).
    I do not know what cause these error but the cluster and database can start normal and use normal.
    I do not know whether these errors will affect the service.
    thanks everybody!

    anyon has the same question?

  • Performance with MySQL and Database connectivity toolbox

    Hi!
    I'm having quite some problems with the performance of MySQL and Database connectivity toolbox. However, I'm very happy with the ease of using database connectivity toolbox. The background is:
    I have 61 variables (ints and floats) which I would like to save in the MySQL-database. This is no problem, however, the loop time increases from 8ms to 50ms when using the database. I have concluded that it has to do with the DB Tools Insert Data.vi and I think that I have some kind of performance issue with this VI. The CPU never reach more the 15% of its maximum performance. I use a default setup and connect through ODBC.
    My questions are:
    1. I would like to save 61 variables each 8-10ms, is this impossible using this solution?
    2. Is there any way of increasing the performance of the DB Tools Insert Data.vi or use any other VI?
    3. Is there any way of adjusting the MySQL setup to achieve better performance?
    Thank you very much for your time.
    Regards,
    Mattias

    First of all, thank you very much for your time. All of you have been really good support to me.
    >> Is your database on a different computer?  Does your loop execute 61 times? 
    Database is on the same computer as the MySQL server.
    The loop saves 61 values at once to the database, in one SQL-statement.
    I have now added the front panel and block diagram for my test-VI. I have implemented the queue system and separate loops for producer and consumer. However, since the queue is building up faster then the consumer loop consumes values, the queue is building up quite fast and the disc starts working.
    The test database table that I add data to is created by a simple:
    create table test(aa int, bb char(15));
    ...I'm sure that this can be improved in some way.
    I always open and close the connection to the database "outside the loop". However, it still takes some 40-50 ms to save the data to the database table - so, unfortunatly no progress to far. I currently just want to save the data.
    Any more advise will be gratefully accepted.
    Regards,
    Mattias
    Message Edited by mattias@hv on 10-23-2007 07:50 AM
    Attachments:
    front panel 2.JPG ‏101 KB
    block diagram.JPG ‏135 KB

  • Regarding Future WLI Products, BPM and diiference with Aqualogic

    Regarding Integration and BPM products from BEA I have the following queries:
    1) What is the next major release for Weblogic Integration product and what Enhancements will be there?
    2) Which BEA product is going to have Business Process Management (BPM) functionality supporting BPEL Server and BPEL designers?
    3) How BEA differentiates the BEA AquaLogic from BEA Weblogic Integration?
    regards,
    neeraj
    ?:|

    I found some more information here:
    Workflow in SAP NetWeaver
    I still look forward to more insight as to when to choose BPM and workflow!

  • I just want itunes music and database to be on external HD not internal

    What am I doing wrong. I have itunes music library on my external HD and my itunes preferences say that my itunes music folder location is just that. It's about 41 GB. Ok, but why on my system drive is there an itunes folder in the default user music folder and it is 7 GB and there are certain titles in there that did not make it to the external. The database files are in there as well. Shouldn't everything be located in the external itunes music folder including the database files ? How do I have itunes automatically update the external HD folder and put the database files in there as well and stop using the internal system drive for storage and database.

    I did that a while ago. But now it seems there are 7 GB of stray files. Is there a sync feature that moves only the itunes files that are outside the designated itunes folder, in my case they are living on the system drive for some reason...

Maybe you are looking for

  • Error while posting invoice AT1 : Debit = 1,400.00 Credit = 0.00 Diff =1,40

    Hi, I am getting an error while saving an excise invoice. It is as follows : AT1 : Debit = 1,400.00 Credit = 0.00 Diff =1,400.00 please check Thanks & Regards, Umesh

  • GW 2012 Create Trusted Key not showing up in Console One

    Hello All, We are trying to add a trusted key to our GW domain, and are following the steps widely available (Click on domain, then Tools -> Groupwise System Operations -> Trusted Applications. Then click "Create".) There is no "Create" in the option

  • Cost of using GPS in india

    Hi i have a NOKIA 5800 express music handset , it came with a 90 days walk/drive navigation license , i want to know , what is the cost of buying / using the GPS service after the expiry of this 90 day license? thanks in advance. 

  • User exit for route determination in Stock trasnport order

    Hi All, Can somebody help me with a user exit that I can use for route determination in the Stock transport order. Kind Regards Chakradhar

  • 7.0 no longer syncs with Groupwise

    Unfortunately, I did not realize that GroupWise is no longer compatible with Intellisync when I installed the recent update.  I use GroupWise at work and don't have a choice to switch to another supported program.  I need to know how I can revert bac