Oracle BPM Java API - getting informations about process activities

Hi
I have a problem with Oracle BPM Java API, can someone help me?
I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
I did some tests, below a piece of code of my test:
IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
List<ProcessMetadataSummary> processMetadataSummaryList =
processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
return;
ProcessMetadataSummary processMetadataSummary = null;
for (ProcessMetadataSummary summary: processMetadataSummaryList) {
if (summary.isIsDefaultRevision()) {
processMetadataSummary = summary;
break;
if (processMetadataSummary == null)
processMetadataSummary = processMetadataSummaryList.get(0);
IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
Sequence<UserTask> activities = process.getActivities(UserTask.class);
for (UserTask activity: activities) {
System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
There is another way to get this information?
Thank's

Hi
I have a problem with Oracle BPM Java API, can someone help me?
I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
I did some tests, below a piece of code of my test:
IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
List<ProcessMetadataSummary> processMetadataSummaryList =
processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
return;
ProcessMetadataSummary processMetadataSummary = null;
for (ProcessMetadataSummary summary: processMetadataSummaryList) {
if (summary.isIsDefaultRevision()) {
processMetadataSummary = summary;
break;
if (processMetadataSummary == null)
processMetadataSummary = processMetadataSummaryList.get(0);
IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
Sequence<UserTask> activities = process.getActivities(UserTask.class);
for (UserTask activity: activities) {
System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
There is another way to get this information?
Thank's

Similar Messages

  • Java concurrent get information about predecessor in request Set

    Hello, I am making a java concurrent program
    public class LettreRelanceRunner implements JavaConcurrentProgram
    and I want to get information (concurrent Is number/concurent status/output file ) about the father / predecessor in request Set
    (In a Request Set I have a report that generate a file and I want to read this file in java)
    I don't find any sample about that nor javadoc
    Does anybody know where to find information / sample ??
    Kind Regards

    Hello, I am making a java concurrent program
    public class LettreRelanceRunner implements JavaConcurrentProgram
    and I want to get information (concurrent Is number/concurent status/output file ) about the father / predecessor in request Set
    (In a Request Set I have a report that generate a file and I want to read this file in java)
    I don't find any sample about that nor javadoc
    Does anybody know where to find information / sample ??
    Kind Regards

  • Access to BPM Task/Process CONTEXT data with the BPM Java API

    Dear all,
    is there a possible way to extract the content data from a process Instance? We want to read out all the data of the current intstances from a backend system. The API CE7.3 SP3 supports only (or we didn't find it) Instance Header data (like start-time,..)
    Regards,
      Christian

    Hi
    There's no straight way to retreive process instance context variables.
    But In my mind, there is a hack way - find appropriate tables in oracle db, where BPEM stores information about process instances and read it with jdbc.

  • Howto get information about Java Stored Procedures programmaticly

    Hi all,
    using the DatabaseMetaData object it is easily possible to get information about database objects like tables, columns or even plsql stored procedures.
    But is there a way to get information about Java Stored Procedures which are published in packages ? Is it possible here to use a DatabaseMetaData object or is there any other solution ?
    TIA,
    Chris

    What sort of information do you want to know about the Java stored procedures?
    Would the views USER_SOURCE or USER_OBJECTS contain the information you need?

  • Where can I get information about Oracle Selective Audit?

    Hi all.
    I would like to know where can I get information about Oracle Selective Audit. Is included in some package? Resources it needs, manuals, etc. I don't find much information.
    We have Oracle 9i.
    Thanks

    I need information about the Oracle Selective Audit solution. It works on oracle 9i? Requirements, how to get and install it. Is this package useful for report generation, etc.
    Thanks for the link.

  • HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL

    HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
    we have developed an application using oracle forms 10g with
    oracle database 10g and Application server 10g
    Application uses a single Oracle User name to connect to database
    where as at Application level there are different users (these are not database users)
    Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
    USERENV('TERMINAL')
    we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
    but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
    thanks
    Chaand Kackria

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • How to get information about cursor? I had only a reference on it.

    Hello
    How to get information about cursor, that I receive in my procedure as a reference. For example I need to know, a number of columns. I know nothing about this cursor, except the link on it.
    Best Regards, Kostya Proskudin!

    However, I would seriously reconsider what you are trying to achieve.
    It looks like you are trying to write some ultimately generic cursor processor. i.e. pass any cursor and process it in some generic way.
    Good design should include knowledge of what is expected to be passed and that knowledge can be put into the code.
    Generic code is inherently difficult to maintain and debug and will never 100% deal with all possible situations e.g. even if you know the table being queried in the cursor you can't rely on the data dictionary to give you all the returned columns if some of the returned columns of the cursor are computed columns.
    Be careful you aren't writing something that's going to cause problems later.

  • Getting information about an object from JList

    Hi
    I have created a movie application and i have a JList displaying all registered movies, it uses a DefaultListModel to display these.
    I want to be able to click on an element in the JList and then push a button called "Show movie details" to display all information about the selected movie.'.
    Every new movie is added to the DefaultListModel as an object with "Titlle", "Genere" etc. If someone click on a movie, what do i do to get information about which object that was clicked. All i can see is that integers can be returned with the getSelectedIndex/Value methods. If i use one of these methods to get the object from the DefaultListModel, that would work i guess, but what when someone deletes a movie in the middle of the JList, then the indexes wouldnt match.
    Can someone help me out here? :)

    I get a big fat exception when trying to cast the returned object to a Movie object which im using.
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.S
    tring cannot be cast to Movie
    ...sure that this is the way to do it? If so, what am i doing wrong..

  • Howto get information about available queues?

    Any ideas how to get information about available queues on a Weblogic Server to browse them?
              When you have the jndi namespace and the name of the queue it's no problem to browse that queue, but when you don't have the name of the queue is there a way to still be able to browse the queue(s)?
              Any information is warmly welcomed.
              Thanks,
              Chris

    A QueueBrowser is currently the only way to view message contents. WebLogic 9.0 (out in beta now), provides comprehensive message management both via console and JMX.
              For 8.1, the following links may help get you started.
              JMS technology page:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              WebLogic public management/monitoring APIs:
              http://edocs.bea.com/wls/docs81/jmx/index.html
              jsp based dest browser (which ultimately uses a QueueBrowser):
              http://dev2dev.bea.com/codelibrary/code/jmsdest.jsp
              JMS statistics dump:
              http://dev2dev.bea.com/codelibrary/code/jms_stats.jsp
              Tom Barnes, BEA

  • [C] Get information about touchpad

    Hi,
    I'm completly new to writing Linux applications in C.
    In my program I want to enable/disable my touchpad based on whether or not a mouse is present. But I can't seem to figure out which library I need to use to get information about my touchpad and how to enable or disable it.

    Hello Caillen
    Thanks for reply.
    Where can I find APIs or SDKs for Nvidia and ATI Video Graphic cards?
    tnx again
    Edit 1:
    I've found these link about
    CUDA Toolkit 7 for Nvidia and
    APP SDK for AMD.
    Can I do what I want with this SDKs?
    Is there any tutorials or sample to help me use them?
    Edit 2:
    In TechPowerUp GPU-Z software, I've found this:
    Did TechPowerUp
    used
    this SDKs to get
    their needed
    information?
    In TechPowerUp GPU-Z software,
    I see only one executable file and there is no dlls or anything.
    I'd like to do this job like them. How can I do that?
    thanks

  • Oracle Reports Java API link Error

    The Oracle Reports Java API link on the Oracle Reports page produces an error.
    http://www.oracle.com/technology/products/reports/htdocs/getstart/docs/index.html

    1) In Oracle Reports *10g*, Reports services are exposed as a webservice. Though it does not contain all possible actions, you can use it to run report, get job info and some other operations . [ Other than this there is no exposed java API yet ]
    Please see chapter 14
    "Using the Oracle Reports Web Service"
    in http://download-west.oracle.com/docs/html/B10314_01/toc.htm
    Thanks
    The Oracle Reports Team

  • Where's the Oracle Forms Java API documentation for 11g?

    Hi,
    Can anyone point me in the direction of the Oracle Forms Java API documentation?
    The only thing I can find is this: http://www.oratransplant.nl/1012jdapiDoc/oracle/forms/jdapi/JdapiModule.html but this seems to be for 10.1.2 and it doesn’t correspond to the version I’m using (11.1.1.3).
    Help appreciated,
    Donal.

    i couldn't find the api either however if you implement the class you will simply get compiler errors explaining what you left out.

  • How to get information about creation of a virtual machine on a Hyper-v host.

    Hi,
    How to get information about creation of a virtual machine on a Hyper-v host?
    I need: host name, time created, creator user.
    I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
    Thank's in advance.
    Denius Valiant

    For Host Name * Created Time Use This Command In PowerShell 
    Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
    and for Create User , As i know you should see on Event Log . 
    Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational 
    You can see in Event Log who create the Vm.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:
      

  • Within redbox I can not click on a movie and get information about it, instead I get an error message that says that the situation may be temporary. yet i keep having the same problem. Do you have any idea how to fix the problem?

    Within redbox I can not click on a movie and get information about it, instead I get an error message that says that the situation may be temporary. yet i keep having the same problem. Do you have any idea how to fix the problem?

    Did you delete all receipts with iDVD in the file name  with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder before installing the new copy?  If not then do so and delete the new application also.
    Click to view full size
    Then install iPhoto from the disk it came on originally and apply all necessary updaters: Apple - Support - Downloads
    OT

  • PDF DOM - getting information about underlining

    Hi, I‘m trying to prepare PDF documents for blind users. For this I have to extract the visual information of the text and there font style.
    And this is my problem:
    I read the PDF document through the Acrobat or Adobe-Reader application via UI-Automation, Microsoft Active Accessibility and the Adobe intern Accessibility library to access the PDDom.
    In all these different way there is no way (that I found) to getting information about if a word is underlined or not.
    Did anybody know a way to do this, or is it impossible to get information about that?
    Thank u for your interest in my post and for all the helping ideas that will be posted.
    J

    select prv_value from ctx_user_preference_values where prv_attribute='PATH'
    and prv_preference='MY_PREFERENCE_NAME'
    But note that you'll need to rebuild the index before this will take effect.

Maybe you are looking for