Usage of SQL and SQLQuery Component Oracle BPM 10g

Hey Friends,
I have created SQl and SQL query catalog compoenents in Oracle BPM 10g, but unable to figure about how to use them in the BPM process. Do i need to create an automatic activity and make implemenatation as method and write java/pbl code there. Please suggest some solution with code snippet.
Thanks!!

Having them cataloged constitutes most of the work you'll need to do. As you mention, the rest of the work is figuring out how you want to use them in a process.
As an example, if you wanted to have method that would return a list of customer ids you could create a method in a BPM Object:
listOfIds as String[]
for each element in
  SELECT customerId
    FROM customer
  do
    listOfIds[] = String(element.customerid)
end
// return the array with the valid values
return listOfIdsAfter adding this, you'll notice that there is an error flagged for your logic. Look at the Properties tab and change the "Server Side Method" property to "Yes".
Now that you have the method that returns an array, you could use it to automatically populate a dropdown field for an attribute in the BPM Object. You'd do this by opening the properties of the attribute and changing the "Valid Values" property to "Dynamic Method" and select the method you just added.
There's more to it than this, but hope this is enough to get you going,
Dan

Similar Messages

  • WAPI and PAPI with Oracle BPM 10.3.1

    I was having the problem with WAPI so I switched to PAPI and I am having the same problem anything wrong I am doing
    I am using the PAPI program to connect and start the instance and I keep on getting the Instance not found exception. Although the process did get executed
    here is the program
    mport fuego.papi.CommunicationException;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    import fuego.papi.OperationException;
    import fuego.papi.Arguments;
    import java.util.Properties;
    import fuego.papi.collections.InstanceInfoList;
    public class a{
    public static void main(String argv[]){
    Properties config = new Properties();
    config.setProperty(ProcessService.DIRECTORY_ID, "default");
    config.setProperty(ProcessService.PROJECT_PATH, "c:/Documents and Settings/test/OracleBPMWorkspace/Utility");
    try {
    ProcessService processService = ProcessService.create(config);
    ProcessServiceSession session = processService.createSession("test","test", "host");
    Arguments a = Arguments.create();
    a.putArgument("inp1", "TEST");
    InstanceInfo ii = session.processCreateInstance("/Process1","BeginIn",a);
    InstanceInfoList il = session.processGetInstances("/Proces1");
    System.out.println("THE LENGTH="+il.size());
    System.out.println("THE INSTANCEID="+il.getId());
    } catch (Exception e) {e.printStackTrace();}
    exception is
    rocessing the synchronization information, instance '/Process1#Default-1.0/6/0' was terminated.
    fuego.papi.exception.InstanceNotFoundException: Instance '/Process1#Default-1.0/6/0' was not found.
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.load(JdbcProcessInstancePersMgr.java:1639)
         at fuego.server.persistence.Persistence.loadInstance(Persistence.java:834)
         at fuego.server.AbstractInstanceService.readInstance(AbstractInstanceService.java:724)
         at fuego.fengine.CachedInstanceService.get(CachedInstanceService.java:178)
         at fuego.server.execution.EngineExecutionContext.getInstance(EngineExecutionContext.java:1635)
         at fuego.server.execution.EngineExecutionContext.getInstance(EngineExecutionContext.java:612)
         at fuego.server.AbstractProcessBean$24.execute(AbstractProcessBean.java:1333)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.DefaultEngineExecution.executeImmediateNotLocking(DefaultEngineExecution.java:168)
         at fuego.server.execution.EngineExecution.executeImmediateNotLocking(EngineExecution.java:77)
         at fuego.server.AbstractProcessBean.getInstance(AbstractProcessBean.java:1308)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
         at fuego.component.CustomExecution.next(CustomExecution.java:176)
         at fuego.component.ExecutorClient.invoke(ExecutorClient.java:117)
         at fuego.papi.impl.rmi.ProcessControlProxy.getInstance(ProcessControlProxy.java:64)
         at fuego.papi.impl.rmi.ProcessControlProxyWrapper.getInstance(ProcessControlProxyWrapper.java:59)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
         at fuego.papi.impl.rmi.RMIProcessControlHandler.invoke(RMIProcessControlHandler.java:165)
         at $Proxy24.getInstance(Unknown Source)
         at fuego.papi.impl.ProcessInstanceOperation.instanceIdToInfo(ProcessInstanceOperation.java:1012)
         at fuego.papi.impl.ProcessInstanceOperation.createInstance(ProcessInstanceOperation.java:343)
         at fuego.papi.impl.ProcessServiceSessionImpl.processCreateInstance(ProcessServiceSessionImpl.java:3174)
         at a.main(a.java:20)

    Hi,
    For Oracle BPM 10g, I believe this is the PAPI-WS wsdl URL:
    http://<machineName>:<the port for the WorkSpace>/papiws/PapiWebServiceEndpoint?wsdland I believe this is the process specific web service URL for Studio:
    http://<machineName>:9000/albpmServices/<YourProjectName>/ws/<YourProcessName>ServiceListener?wsdl=truefor Enterprise, I believe you can find the process specific web service WSDL by going to this URL from a browser:
    http://<machineName>:<port for the Workspace or the application server>/albpmServices/<Enterprise Engine’s name>/ws Hope this helps,
    Dan

  • How the transaction executing in Oracle bpm 10g

    Hi,
    i want to know "how the database transaction executing in Oracle bpm 10g",
    My Scenario is 'i have two data tables, i need to update the same information in two different data tables with OBPM 10g. let's imagine, info is updated in 1st data table, and is some exeption occured while updating the same info in second da table, so i want to roll back the info which is updated in first db table'.
    can any one suggest the approach how can i proceed?
    Thanks.
    Sudhee

    Hi Omkar,
    Please check the following code.
    DECLARE
      repid REPORT_OBJECT;
      v_rep VARCHAR2(100);
      rep_status VARCHAR2(20);
      plid ParamList;
    BEGIN
      plid := Get_parameter_List('tmp');
      IF NOT Id_Null(plid) THEN
      Destroy_parameter_List( plid );
      END IF;
      plid := Create_parameter_List('tmp');
      add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
      Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
      repid := FIND_REPORT_OBJECT('POL_REP');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
      v_rep := RUN_REPORT_OBJECT(repid,plid);
      rep_status := REPORT_OBJECT_STATUS(v_rep);
      WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
      LOOP
      rep_status := report_object_status(v_rep);
      END LOOP;
      WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
      '||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
      '&paramform=no');
    END;
    I am used to Start the Report sever   'Rwserver Server=prod_Report_Server Start'
    OracleAS Report Services
    Version :-   10.1.2.0.2
    Name    :-   prod_report_server
    Status  :-   Server is Shutting down
    Jobs in Queue  0
    Active Engines  0
    I got the Following Error when I trying to run the Report
    FRM-41211: Integration error:SSL failure running another product
    Thanks and Regards,
    Faziludeen

  • 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/

  • Future of Oracle BPM 10g

    Hi Friends,   I have been working on Oracle BPM 10g past 6 months, but really not sure whether to continue using this tool as its going to be obsolete soon. Guess most of the client are using Oracle BPM 11g and some even migrating to Oracle 12c. What's the future for Oracle BPM 10g with the respect to BPM market in the future. Are there any projects/clients which are still using Oracle BPM 10g. How easy/difficult is to move from BPM 10g to BPM 11g. I have around 6 years of experience and worked on Savvion Business Manager earlier.  Please help with your valuable suggestions. Regards.

    Support for Oracle BPM 10g has been extended.   Look at Oracle's Lifetime Support Policy document for Fusion Middleware (page 40).  Note that support for Oracle BPM 10g has been extended to December 2018.
    With that said, if a company was to start an Oracle BPM project today, I'd suggest that they do it using Oracle BPM 11g.  Your upgrade path to 12c will be much simpler using 11g and there aren't many of us left who know and can train people getting started on Oracle BPM 10g.
    Dan Atwood

  • Oracle BPM 10g /ALBPM log4j Implementation

    Hi All,
    Could you please let me know the steps to implement log4j in oracle bpm 10g/ALBPM.
    Regards,
    Srinivas

    While you can export an ALBPM 6.0 project and import it into Oracle BPM 10g, as you've seen you will not be able to use a project that is exported from Oracle BPM 10 project in ALBPM 6.0.
    Just to clarify - it will appear to import, but you won't be able to open key elements (e.g. screenflows created in the 10g project) successfully.
    Dan

  • Oracle BPM 10g architecture diagram

    Hi,
    Could you please anyone share the Oracle BPM 10g architecture diagram. Please send to my id : [email protected]
    Regards,
    Anandh P

    Hi Daniel, Thanks a lot for posting the Architectuer details. We now know how the fantastic product works internally. Would you mind posting the newer version of the document? Thanks in advance.

  • Where can I download "Oracle BPM 10g R3" ?

    Hi All,
    Could you please tell me where I can download "Oracle BPM 10G R3" ? It is a bit of funny for me in the sense that I can download full document of this version from
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/
    But cannot find where is the software ?
    Many Thanks in advance.
    Regards
    Pearapon S.

    Hi,
    You can download OBPM 10gR3 directly here:
    http://www.oracle.com/technology/software/products/bpm/index.html
    Also for more useful links on: docs, config matrix, etc, please check:
    http://blogs.oracle.com/alextoussaint/2008/10/oracle_bpm_10gr3_is_out.html
    Best Regards,
    --alex                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Need steps to configure BAM and DATAMART for Oracle BPM Enterprise

    Hi,
    Need steps to configure BAM and DATAMART for both Oracle BPM 10.3 Enterprise Standalone and Oracle BPM 10.3 Enterprise Weblogic.
    Configurations like BAM Updater Service, Process Data Mart Updater Service, Start Up / Shut Down of the service etc.
    I am referring : http://www.oracle.com/technology/products/bpm/bpm10gr3technicalarticles/BPMConfiguringAndTroubleshootingBAMAndDataMart.pdf

    Hi,
    To add system to solman:
    Go to SMSY and define:
    1) Server --> host name, IP etc
    2) DB --> DB details
    3) System --> R3, Netweaever etc, assign proper components, products
    4) define and assign logical components for the system defined in step 3
    5) generate RFC destionation to the satellite system
    6) Provided you have the necessary trusted authorization and if the RFCs are generated successfully then your task is done. Else you'll have to troubleshoot.
    Once this is done, you need to goto SOLUTION_MANAGER and define
    1) new solution
    2) make necessary inclusion in Solution Landscape Maintenance
    3) include logical component
    This completes the system setup for you.
    For CCMS agent configuration, refer:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e2/eff640fa4b8631e10000000a1550b0/content.htm
    For system monitoring using solman, refer:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0b/160419162a476380b5608e7f27a742/frameset.htm
    Hope this helps.
    Rajeev

  • Difference between oracle bpm 10g and 11g

    Newbie: I am trying to understand 10g. The basic questions I have is
    1)What is the difference between 10g and 11g?
    2)What is the infrastructure & skillset needed for me to do implementation in 10g?
    3)How is migration from 10g to 11g is accomplished?
    Any resource links that would help me to get started with 10g would be appreciated.
    Chaitanya

    Hi,
    Please follow the below mentioned link to find your answer.
    Re: Main differences between oracle bpm 10.3 vs 11g
    Migration from ALBPM 5.7 to BPM 11g
    Bibhu

  • How to call Apache CXF webservice/Spring/jms from Oracle BPM 10g

    Hi , I am new to Oracle BPM and trying to develop simple POC. Can anybody give me some pointers on how to call a webservice whcich is based on Apache CXF/Spring/WSDL/jms as transport from oracle bpm 10g

    You should ask this question in the JDeveloper or BI Publisher forum.

  • Compile JSP in Oracle BPM 10g

    Hi Everyone,
    Could you let me know how to compile jsp using Oracle BPM 10gR3 studio.
    Thanks in adavance...

    I use JSPs in my projects since it gives me alot more freedom.
    For example, I would like to use JSF tags, or use Javascript libraries to make AJAX calls, and always I want the JSP to have the look and feel of the brand of the company.
    There are challenges in using the JSPs however. The documentation for the JSP Tag Library doesn't have good examples, so you might have to figure stuff out on your own.
    I don't use WTP, although I've been meaning to install it. I've been using a text editor (notepad++) for the development of my JSPs.

  • JSF 2.0 in Oracle BPM 10g

    Is it possible to use JSF 2.0 in Oracle BPM 10.3.2 version?

    May be this will be helpful for you:
    I see that in the stack trace jsf trying to instantiate the
    com.globit.icoport.Email (but not the com.myproject.Email as you point in the English translation)
    While your validator is not Email but EmailValidation
    com.globit.icoport.Email is reall class name which is tried to be instantiated while com.myproject.Email is just validator id string.
    May be you have in your project somewhere else the missed annotation @FacesValidator(value="com.myproject.Email")?

  • Primevera 6:Installation guide and Integration with Oracle BPM 11g

    Hi All,
    I working on BPM 11g. I want to integrate Primevera 6 v8.2 or higher version of Primevera with BPM 11g can any one help me out in this issue.I am unable to understand where to start from what i have to install first.
    I have already working environment on BPM 11g now to integrate Primevera what i have start with.Please help me out to move forward.If one has worked on this who has any screenshots please send me

    If your company has a maintenance contract with Oracle, you should be able to find more information in the Knowledge Base.

  • Why does this work in MS SQL and not in Oracle

    ALTER TABLE Stk
    DROP COLUMN ComCode;
    This BASIC statement works perfectly
    in MS SQL, but after 2 hours now, it
    simply refuses to work in Oracle,
    although the syntax seems correct, I
    get :
    ALTER TABLE Stk
    DROP COLUMN ComCode
    ORA-00905: missing keyword
    null

    Stop trying! Oracle simply does not support the DROP COLUMN syntax. A work around is:
    CREATE another table based on the original table, minus the column you want to drop.
    (CREATE TABLE new_table AS SELECT col1, col2 , ... FROM old_table)
    DROP the original table.
    (DROP TABLE old_table)
    RENAME the new table the old table.
    (RENAME new_table TO old_table)
    Your have to manually add the constraints, if the old table has any.
    Eric Ma

Maybe you are looking for

  • Access to a site from the Internet not working, but is for other sites on the same SP

    Greetings, My environment: SP 2013 Enterprise w/ SP1 installed 2 servers in the farm, 1 for SQL, 1 for SP Both servers are VMs running on Hyper-V, SQL is a bit underpowered when it comes to memory, SP is fine 5 web applications running, including a M

  • Distiller in Adobe Acrobat Standard 8.0?

    We are currently using Adobe Acrobat Standard 6.0 to convert PostScript files to PDF. Is this functionality still included in the Adobe Acrobat Standard 8.0 package, or has the Distiller component been removed/upgraded to the Distiller Server compone

  • Backup device file not appearing in iTunes Device Preferences

    While performing 1st time backup for my iPad to iTunes MacBook, the process was interrupted halfway through. As such, I deleted the registered backup file from iTunes Devices Preferences/device/device backup and attempted to reinitiate the backup pro

  • Not able to post Realized Gain/Loss GL acct during foreign vendor payment

    Dear Experts. 1.  When I make a vendor payment by using F-53 for USD payment for foreign vendor.  I am supposed to get Realised Gain /Loss account for the variation on payment date. 2.  My local currency is INR and foreign Currency is USD. 3.  DIrect

  • Link button on Grid

    Hi everybody:    Just I'd like to know if I can have a link button in a grid object, such as it exists in the matrix object, an how i can get it.    Thanks in formward   Regards.   Misael Reséndiz.