BPM invoking another BPM

I create 2 processes in BPM studio 10g. User can use process A to invoke process B.
Process B is exposed to web service (right click process -> Process web service)
I copy the wsdl address and create a web service catalog component in Process A.
However, I do not know how to invoke another process when adding an interactive activity.
Could anyone tell me how to do it or where the document is?
Thanks a lot.

Hi, I believe what you want to do is a "Process Referral" which allows you to communicate to another process even on a different engine. I am working on memory here but I think you can go into the engine settings and create a referral which will allow you to enter organization, engine, and the URL for the process location. Please let me know if this is the answer you were looking for.

Similar Messages

  • Error while invoking another presentation

    Hi
    While calling invoking another presenation from the parent presentation using the Presentable.show(instance : null, presentationName : "");
    I get the follwing error
    The task could not be successfully executed.
    Reason: 'java.lang.AssertionError'.
    Caused by: java.lang.AssertionError
    fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'java.lang.AssertionError'.
    Can you please let me how can i resolev the error

    You might want to consider instead using a Screenflow for this. Screenflows manage the flow from one presentation to another presentation better that the show method does.
    1. They let you see visually (vs. hidden inside a method) what presentation is flowing to another presentation and
    2. Unlike the show method, once you flow to a presentation inside a screenflow you can always go back to earlier presentations in the screenflow. You lose the context once you flow using a show method.
    Here's the logic I think you're looking for. It's fairly common to use a show method for BAM Dashboard presentations. Here I have a BPM Object called "Order" in the module "Dashboards". To invoke a presentation called "OrderList" inside this BPM Object from another BPM Object's method, you could use logic like this:
    order as Dashboards.Order = Dashboards.Order()
    // this passes in the value of the customer's type into the other BPM Object's presentation
    order.customerType = this.customerType
    show this
        using instance = order,
              presentationName = "OrderList"Normally, logic like this would be invoked from a push button or an on click event (the "On Click" property) on a BPM Object dashboard widget (e.g. bar chart, pie chart or gauge).
    Hope this helps,
    Dan

  • Service invoking another webservice

    I want to create a webservice. First request i want to give insert/select as input. If I give insert as input it must take to another form with the fields of database and if I give select as input it must perform the select operation.

    Hi,
    I think you could make use of Oracle Mediator component to achieve this. Using the filter expression, you may check the input and based on that you can invoke another service (DB adapter which performs select).
    Thanks

  • Problem deploying cmp bean invoking another cmp bean using jndi lookup

    I have a cmp BeanA that invokes another cmp BeanB, so I am using a jndi lookup in BeanA to download the localhome object to BeanB using the following:
    Context ctx = new InitialContext();
    home = (LocalAddressHome) ctx.lookup("java:comp/env/ejb/BeanBHomeRef");
    then I specify the ejb/BeanBHomeRef, entity bean, local, BeanB's local home and component interface in EJB ref. when I am packaging BeanA
    I also package BeanB in a separate jar file.
    When I attempt to deploy the application it throws strange exception that says the folowing:
    java.lang.IllegalArgumentException: BeanBEJB says it links to an ejb called BeanBEJB of local home class LocalBeanBHome but no bean with this local home c
    lassname and type can be found in this ejb-jar.
    yet when I un-jar the package, these class files exitsts.
    When I go ahead and delete the reference to BeanB from the BeanA package file, I am able to deploy the application but then correctly fails on jndi lookup.
    I have been able to open the cmpcustomer.ear sample application that comes with RI and execute it without any problem. But when I to package the same beans for example CustomerBean and it won't even allow me to create the customer.jar file. I get a screen full of errors.......
    I am using Sun RI 1.3.01, is there a known bug that I am not aware of? Is there a fix around it?
    Is there any another way to get the home ref. to BeanB so I can invoke create() method?
    Any advice or suggestions?
    thanksl
    -kaisaab

    What app server are you using? may be I can help you
    --Ashish Saraf                                                                                                                                                                                           

  • How to invoke another Java file in Java program?

    Hello all,
    Now I am building a commnity of agents that can talk in Java, I have another Java-Based dialogue system to handle the dialogue between the agents. But I don'y know how to invoke the Java dialogue system file in the agent class.
    Is there any methods can call another .java file in a Java program?
    Help!!!!!please

    Yep, vaguest of the vaguey vague vague.
    Anyhoo,
    I'm guessing you want to call a method from a different class?
    Assuming you have the "Runner" class and then "Agent1", "Agent2", etc.
    Agent1 whatever = new Agent1();

  • Function Invoking Another Function

    Trying to invoke 1 function from another function, using same parameters for each.
    Trying to invoke 1 function from another function. MasterFunction has parameterX which is a dictionary Name. When attempting to call ChildFunction from within MasterFunction, and passing it the same parameter that MasterFunction has, got javascript error 'Invalid Object'.
    Here is basic scenario:
    MasterFunction(dictionaryName)
    ChildFunction(dictionaryName);
    Both of these functions are in the JavaScript function list.
    Any help on this would be appreciated.

    You need to pass the dictionary object, not the dictionary name.  So you would pass in a parameter of "serviceForm.DictName", which is the dictionary object.  Then, if your parameter name was "objDict", you would call methods against it, for example: "objDict.setVisible(false);" and "objDict.FieldName.getValue();"
    If, for some reason, you do need or want to pass a string of the dictionary name, you need to use the "eval" method to get the dictionary object back: eval("serviceForm." + dictString + ".FieldName.getValue()");

  • Passing Username and Password When Invoking Another Service

    Suppose that I have Service A that calls Service B in its code.
    I can set authentication , inbound/outbound integrity and confidentiality settings for this service.(Service A)
    Can I define a mechanism-declaratively-that tell the service A to include this information (username and password) in its SOAP request message when calling another service? (service B, suppose that service B's authentication is enabled) for example in WS-Security part of the request to service B.
    Best Regards,
    Farbod

    It appears the only way to parameterize the Applications username and password in Web forms is to use either
    a cartridge implementation or javascript. I found the following document on Metalink describing the
    javascript solution:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=106048.1

  • How to invoke another class filter in servlet

    I want to ask about Filter in servlet. I have 3 class Filter :
    AFilter, BFilter, CFilter how can i invoke BFilter from AFilter and the BFilter invoke CFilter.
    AFilter -> BFilter -> CFilter
    How can i do that? What code should i put in web.xml?
    thank :)

    Filters are invoked in the order as its filter-mappings appear in web.xml.

  • Invoking another command button while clicking on the other

    Hi All,
    I have an add form where I have 2 buttons, one is ADD and othe is SAVE. Each one of them will call different backing bean methods. When I Click on Add my save button should also be invoked. How can I do that?

    You can do that using javascript. But note that only one action method would be executed on submit.
    function submitSave(){
        var save = document.getElementById(//id for ur save button);
        save.click();
    <h:commandButton value="Add" action="#{Bean.xyz}" onclick="submitSave()"/>
    <h:commandButton value="Save" action="#{Bean.abc}"/>If both the buttons are in the same form, then only one action can be invoked on click of a button. If you want to execute both actions, you can handle the same on server side. After completing the action for your add button, from the same method you can invoke the action method for save button.

  • Invoking another form from a button click..

    Hi,...
    I am a beginner in Java Swing Programming using the Netbeans IDE.I want to invoke a form from an existing form thru a button click; thnx...
    Code:
    1st form : NewJFrame.java
    public class NewJFrame extends javax.swing.JFrame {
    /** Creates new form NewJFrame */
    public NewJFrame() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    private void initComponents() {
    jButton1 = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jButton1.setText("jButton1");
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(151, 151, 151)
    .addComponent(jButton1)
    .addContainerGap(176, Short.MAX_VALUE))
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(130, 130, 130)
    .addComponent(jButton1)
    .addContainerGap(147, Short.MAX_VALUE))
    pack();
    }// </editor-fold>
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new NewJFrame().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JButton jButton1;
    // End of variables declaration
    2nd Form:
    public class NewJFrame1 extends javax.swing.JFrame {
    /** Creates new form NewJFrame1 */
    public NewJFrame1() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    private void initComponents() {
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 400, Short.MAX_VALUE)
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 300, Short.MAX_VALUE)
    pack();
    }// </editor-fold>
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new NewJFrame1().setVisible(true);
    }

    shelton141 wrote:
    using the Netbeans IDE.I want to invoke a form from an existing form thru a button clickNote that, instead of JFrame, we normally use JDialog (either a modal or a non modal) for secondary windows.
    We can add an actionPerformed event to the jButton1 in design mode, or manually like this:
    public NewJFrame() {
        initComponents();
        jButton1.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                new NewJFrame1().setVisible(true);
    }

  • Could i invoke  another constructor in one constructor as the following?

    class ThisCon{
    ThisCon(){
    this.ThisCon("call");
    System.out.println("This is the first.");
    ThisCon(String s){
    System.out.println("This is second "+s);
    public class ThisTest{
    public static void main(String[] args) {
    ThisCon tc=new ThisCon();
    Why ?please explain,Thanks!

    I think there is a common belief that a constructor constructs an object. That is, that it allocates some memory, and then fills it in.
    This is not the case. The memory is allocated before the constructor is called and the fields are set to the default values for their types (which in practice probably means clearing all the memory to zero).
    The constructor is only responsible for calling the superclass constructor and intialising any fields as required by the developer. If the constructor calls another constructor in the same class, then it doesn't even have to call the superclass constructor.
    Since the constructor does not allocate the memory for an object, there is no complication where one constructor calls another.
    Sylvia.

  • Portlet calling/invoking another portlet?

    Hi,
    I have portal server 6 2004q2 running and on my page I have 3 columns, thin, thick,thin. Basically 3 portlets/channels. The most right of the portlet contains link and when i click on any link, the middle portlet would refresh and load a new page. Is this possible?
    Is there a sample code for this?
    Q2. If I have a series of complex output, could I preload those portlets and hide them, and when I click on the link (via the right most portlet), the middle portlet minimises/dissapear and the correct portlet will appear in the center?
    Is this possible? Is there a sample code for this?
    Please help - newbie.

    Hi,
    I don't think you can pass a parameter to the URLScraper provider like this. What you could do is, extend the JSPProvider provider
    Eg.
    public class MyJSPProvider extends JSPProvider {
    public URL processEdit(HttpServletRequest request, HttpServletResponse response) throws ProviderException
    String path = request.getParameter("path");
    setClientProperty("path", path);
    return getMaximiseURL(request);
    public URL getMaximizeURL(HttpServletRequest request, String providerName) throws MalformedURLException {
    String container = request.getParameter("lgo.parent.container");
    if (container == null) {
    throw new MalformedURLException("Failed to get the parent container.");
    String url = "action=process&provider=" + container + "&" + container +
    ".channelAction=truemaximize&" + container + ".targetProvider=" + providerName;
    return new URL(this.getProviderContext().getDesktopURL(request, url, false));
    This is just a sample and I haven't compiled or tested this. You need to copy the class files to /etc/opt/SUNWps/desktop/classes directory and add the provider definition to display profile.
    Eg.
    <DisplayProfile priority="0" version="1.0">
    <Properties/>
    <Channels>
    </Channels>
    <Provider class="MyJSPProvider" name="newJSPProvider">
    <Properties>
    <String name="title" value=""/>
    <String name="description" value=""/>
    <String name="contentPage" value="/newJSPProvider/main.jsp"/>
    <String name="editPage" value=""/>
    <String name="processPage" value=""/>
    <String name="width" value="thick"/>
    <Boolean name="isEditable" value="true"/>
    <String name="editType" value="edit_subset"/>
    <Boolean name="showExceptions" value="true"/>
    <String advanced="true" name="refreshTime" value="0"/>
    <Collection name="CustomTheme">
    </Collection>
    </Properties>
    </Provider>
    </DisplayProfile>
    This will now enable you to create new channels using this provider.
    In your jsp file you could something like this.
    <%
    com.sun.portal.providers.jsp.JSPProvider provider = (com.sun.portal.providers.jsp.JSPProvider) request.getAttribute("com.sun.portal.providers.jsp.JSPProvider");
    String path= provider.getClientProperty("path");
    if (pageName == null || pageName.trim().length() == 0)
    path = "defaultpage.html";
    %>
    <jsp:include page="<%=pageName%>" flush="true"/>
    URL to access channel would be something like
    http://test.mydomain.com.my/portal/dt?action=process&lgo.parent.container=<your_parent_container>&provider=MyJSPProvider&path=/interface02/References.htm
    Let me know if you still have problems.
    Regards,
    Damitha

  • How to limit the CPU% when invoking another JVM process

    I need to keep the JVM's CPU% into a limitation like 20%, is that possible?
    Thanks in advance.
    Edited by: Lorna_Hu on Feb 4, 2008 11:26 AM
    Edited by: Lorna_Hu on Feb 4, 2008 11:26 AM

    I think you have the same problem with this thread.. check this .
    MyPOV
    Yesterday is history. Tomorrow is mystery. Today is a gift.

  • How do I invoke another s/w from java code(urgent)

    Hi all,
    My code looks like this :
    Runtime rt =Runtime.getRuntime();
    String command = "~/tts/bin/mbrola" +" ~/tts/mbrola/us2 " + " /home/dir1/dir2/final/temp.pho "+
    " - | ~/tts/bin/mbrplay -";
    rt.exec(command );
    Whenever I ru n this code thru java , I get an error that this command was not found but am able to run it in my unix terminal. Would anyone have any clue as to why this is happening.
    Thanks
    Sohini

    Hi all,
    My code looks like this :
    Runtime rt =Runtime.getRuntime();
    String command = "~/tts/bin/mbrola" +"
    la" +" ~/tts/mbrola/us2 " + "
    /home/dir1/dir2/final/temp.pho "+
    " - | ~/tts/bin/mbrplay -";
    rt.exec(command );
    Whenever I ru n this code thru java , I get an error
    that this command was not found but am able to run it
    in my unix terminal. Would anyone have any clue as to
    why this is happening.
    Thanks
    SohiniHi,
    I guess that you're trying to run command WITH arguments, aren't you?
    So, you have to do it this way(just verify arguments):
        Runtime rt =Runtime.getRuntime();
        String command[] = {"~/tts/bin/mbrola", "la", "~/tts/mbrola/us2",
                                              "/home/dir1/dir2/final/temp.pho",  "-", " | ~/tts/bin/mbrplay", "-"}
        rt.exec(command);(making PROGRAM and ARGUMENTS an array - EACH argument SEPARATELY(I don't know their exact number in your script ))
    Hope to help,
    SHW

  • Invoke another application's page or taskflow

    I am new to JDeveloper and ADF.
    In our enterprise we have more than one application, say HR and Stock. For now, we have Oracle Forms and one single Form contains the Login dialog and then show a tree of the Forms the user can work on, which they may be from more then one application.
    We want to do the following: more than one developer works on more than one ADF Application, One login screen leads to a JSF Page contains a panel splitter, on the first facet shows a tree or some navigation pane, clicking a navigation item show the JSF Pages or TaskFlows of any application in the second facet.
    Could we do something like that. If yes, how. In Oracle Forms it was easy, but in ADF I hope someone help me achieve that.
    Thanks

    Hello mmatar,
    check this tutorial http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows_regions.htm.
    Task flows for dynamic region could bu defined in different jars. All such jars should be united in the one ear to deploy it on an application server.
    Best regards,
    Natalia

Maybe you are looking for