Passing BPM presentation object global activity

Hello,
I would like to pass a BPM presentation object from a JSP page to global actiivity using openGlobal() method. Do you know if this is possible? Any examples available you know?
Thanks & Regards.

Thank you Kevin, here are some more details. Please let me know if this is not clear...
openGlobal is a local java script function in my code but internally it is calling Fuego UrlActions.runApplication().
Basically I have an map (key & value pair) as a member of BPM object, which I am using in source JSP file. I want to send this object to a global activity which has another JSP page to display this information.
I know we can pass a string argument this way but I am not sure how to pass map.
Thanks.

Similar Messages

  • Passing arguments to a Global Activity with Instance Access

    I'm passing arguments to a Global Activity which has Instance access and then I need to assign agrument values to Instance variables. But, somehow arguments not being passed when I enable "Has Instance Access". If I turn instance access off then arguments pass but unfortunately I cannot assign due to instance not being available. Fyi, I'm using WAPI and argument names in HTML form are prefixed with "arg_" as per WAPI documentation.
    I would appreciate any help in resolving the issue.
    Thanks in advance.
    MK

    Same problem ...
    I tested with JSP.parameters["arg_myArg"] ... no result

  • Declare objects globally or pass as parameter in Package

    Hi All,
    Need a technical suggestion, in a package i am having several functions,
    say Fn_A calling Fn_B and Fn_B calling Fn_C and Fn_C calling Fn_D
    and i need a collection of Nested Table Objects to be processed at Fn_D,
    and it has to reach from Fn_A, in-between say Fn_C if required, can also process
    the Nested Table Object.
    Also for each Function need to pass 3 parameters of collection object and 3 to 4 Number/Varchar2.
    My question is, would it be better to declare the Nested Table Object globally inside the package,
    or Pass it as an IN OUT NO COPY parameter throughout all functions ?
    And the scenario is :
    Nested Table would have 1000 objects in the collection,
    and each object will have size = 75 Bytes
    and in one day on an average 3 million calls made.
    regards,
    Ludy

    My bias would be not to use a package global if you can reasonably pass the collection as a parameter. It's easier to maintain code that is self-contained rather than trying to debug code whose behavior depends on the state of the session. If you pass in the collection as a parameter, you can write unit tests for all 4 procedures relatively easily rather than having to go through all 4 to test procedure D. Plus, if you don't need to maintain session state, you can update your package code without causing any application tier connections that remained open to error out.
    Performance wise, I wouldn't expect it to matter, though it would be worth benchmarking.
    Justin

  • 11g BPM Global Activity with instance access equivalent ??

    Hi,
    I want to be able to update an instance variable from a workspace view much as I could with a 10g Global Activity with Instance access.
    As always I guess there are a number of solutions (even if they dont match the scenario exactly) but which is the best approach ?
    Any help much appreciated.
    cheers
    Tony

    Same problem ...
    I tested with JSP.parameters["arg_myArg"] ... no result

  • Globally Activating authorization object

    Hi
    Can someone explain me how to activate an authorization object globally, please?
    Thanks in advance.
    Thanks & Regards,
    RK

    Hi,
    no, there is no such function available.
    I found the following information:
    The authorization object for profit center is K_PCA.                   
    It is called for all reports based on NewGL totals table (FAGLFLEXT)as 
    well as the line item reporting (transaction FAGLL03).                 
    In case you also need an authority check for document display          
    (transaction FB03) you can use BADI FI_AUTHORITY_ITEM                  
    The authority object K_PCA is not called for posting transactions.     
    In case you want to do checks for profitcenter authorization           
    for posting transactions please use FI validation.                     
    If you don't mind, I ask to move this thread to FI-forum,  as there should be the specialists for their coding....
    b.rgds, Bernhard

  • PAPI - Run Global Activity

    Hi people,
    I have one simple process in my BPM application with a "global creation" activity and im trying to call this activity with papi, but without success.
    When i call this activty, i have this error:
    EJB Exception: ; nested exception is:
    com.bea.control.ServiceControlException: soapenv:Server.userExceptionjava.lang.RuntimeException: Activity '/Principal#Default-1.0/gc' task 'null' could not execute successfully.renault.ideais.local
    caused by: : com.bea.control.ServiceControlException: soapenv:Server.userExceptionjava.lang.RuntimeException: Activity '/Principal#Default-1.0/gc' task 'null' could not execute successfully.renault.ideais.local
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    com.bea.control.ServiceControlException: soapenv:Server.userExceptionjava.lang.RuntimeException: Activity '/Principal#Default-1.0/gc' task 'null' could not execute successfully.renault.ideais.local
    at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:102)
    at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:307)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:284)
    at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:56)
    at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceHandleImpl.java:436)
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl._invoke(WlwProxyImpl.java:326)
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.java:315)
    at $Proxy17.runGlobalActivity(Unknown Source)My code is very simple:
    //user
    org.xmlsoap.schemas.soap.encoding.String user = org.xmlsoap.schemas.soap.encoding.String.Factory.newInstance();
    user.set("eu2");
    //pass
    org.xmlsoap.schemas.soap.encoding.String pass = org.xmlsoap.schemas.soap.encoding.String.Factory.newInstance();
    pass.set("eu2");
    //session
    org.xmlsoap.schemas.soap.encoding.String session = wsLocalControl.createSession(user, pass, true);
    // activity
    org.xmlsoap.schemas.soap.encoding.String activity = org.xmlsoap.schemas.soap.encoding.String.Factory.newInstance();
    activity.set("/Principal#Default-1.0/gc");    
    // parameters      
    br.com.ideais.ws.ProcessServiceLocalControl.KeyValuePair[] argsGlobal = new KeyValuePair[1];
    argsGlobal[0] = new KeyValuePair();
    org.xmlsoap.schemas.soap.encoding.String key   = org.xmlsoap.schemas.soap.encoding.String.Factory.newInstance();
    key.set("BeginIn");
    org.xmlsoap.schemas.soap.encoding.String value = org.xmlsoap.schemas.soap.encoding.String.Factory.newInstance();
    value.set("");
    argsGlobal[0].key   = key;
    argsGlobal[0].value = value;
    // call the global method      
    br.com.ideais.ws.ProcessServiceLocalControl.GlobalExecutionResult result =  wsLocalControl.runGlobalActivity(session, activity, argsGlobal);Anyone knows the problem?

    It is just a simple code to run a global activity. The global activity is creating instances.
    The issue is: The instances get created by running the global activity from PAPI, but this exception is thrown.
    I am using Oracle 10G and weblogic 9.2
    I have defined 2 JMS connector.
    Also i have defined 2 JDBC Data source and I have not used Transaction for one of the database source.
    Also I am using the thin driver and not the XA driver.
    All this has been configured by following the document:
    http://edocs.bea.com/albsi/docs57/adminguide/index.html
    Regards
    Right Chord

  • PAPI WS: Calling a Global Activity with instance Access

    Hi,
    I have a global activity, which has instance access, and want to call it via PAPI WS. How is this possible? Usually you would use activityExecuteApplication call, but this does not seem to work for activities having instance access.
    Regards
    Matthias

    The inputs are quite simple, the ProcessID, which is '/SampleProcess' for me and the activity name, which is 'GetData'.
    But, of course, this could not work for a Global Activity having instance access. Because in this case an instance id has to be passed in some way, but I don't know, how?
    Regards
    Matthias

  • Pass a COM object across processes

    Hi,
    I need to pass a COM object from process A to B.  I didn't find a good code example for IMoniker.  So I am trying to test a simpler solution.  Please refer to the following snippet of code.  There is a problem.  When the execution
    reaches GetActiveObject in B, the system hangs.  "HRESULT h" in several places returns S_OK.   Does anybody have a clue?  Please help me out.  Thanks for your help in advance.
    // the definition of the COM object
    EXTERN_C const IID IID_IUniverse;
    #if defined(__cplusplus) && !defined(CINTERFACE)
        MIDL_INTERFACE("91CAF3F6-BD4D-4DDC-9C35-59F5DB20D570")
        IUniverse : public IDispatch
        public:
    // PROCESS A:
    HRESULT h = RegisterActiveObject (cwApp, IID_IUniverse, ACTIVEOBJECT_STRONG , &dwRegister);
    // PROCESS B:
    HRESULT h = CoInitialize(NULL);
    IUniverse *p = NULL;
    HRESULT h = GetActiveObject(IID_IUniverse, NULL, (IUnknown**)&p);
    if (p)
      CComPtr<IUniverse> cwApp(p);
    JD

    On 1/27/2015 7:43 PM, jdyng77 wrote:
    I did some research on this issue to help me better understand your comments here.  I still don't fully understand the problem.  Please help me out.  Or, if I can get around the problem by using IMoniker and IRunningObjectTable instead,
    I would be more than happy doing that.
    Unlikely. If, as I suspect, the problem is that the server thread blocks, then the client won't be able to obtain the interface pointer from it by any means. Any IPC mechanism you might want to use kind of assumes that both parties remain responsive.
    WaitForSingleObject() is the opposite of "responsive".
    The third party (3rd pty) provides a COM interface.  I write a COM server A
    In-process (a DLL) or out-of-process (an EXE)? From your description, I would assume in-proc.
    that has an implementation for this interface.  I believe the 3rd pty must have called CoInitialize(NULL) before it instantiates object A.
    It must have, yes. This is only significant if A is an in-proc server.
    The 3rd pty passes a COM object of IUniverse to A.  I can call IUniverse's methods in A without any problem.  The need here is to transfer the IUniverse object to another process B so that B can call IUniverse's methods.  The problem
    is that B hangs.
    My guess is, B hangs because A hangs. In one of your responses, you suggest that you are calling WaitForSingleObject (waiting on process B's handle, I presume). In so doing, you have created a deadlock. B is trying to communicate with A to retrieve the
    interface pointer, but A is waiting for B to exit.
    After A registers IUniverse pointer (whether in ROT or as active object), it should return to the caller. Said caller likely spins a message pump - but by blocking and not returning, you don't allow it to run.
    The thread where A sits is created in the 3rd pty.  If I understand you correctly, the 3rd pty must "retrieve and dispatch window messages in a timely manner".  I think it does because it calls A when a window button is clicked.
    3rd pty would, if only A would let it. By sitting in the message handler, A prevents the caller from retrieving messages in a timely manner.
    But I don't know whether I should use Class, File or Item IMoniker.
    Item moniker is the easiest to use by far. It just wraps a piece of text. You create one with CreateItemMoniker: pass L"!" (by convention) in the first parameter, and arbitrary string in the second. Both parties (one that registers in ROT, and
    one that picks up) should agree on and use the same string, of course.
    Igor Tandetnik

  • Global Activity Codes do not appear in Group/Sort

    The contractor exports (using P3e v.5) EPS level Activity Codes as Globals; We import, using P6.2.1, as .XER (code values to be updated) and although the Activity Code is in the dictionary and the assigned values are present (against each activity) the Code cannot be seen in the Group/Sort function. If the code is re-named, it appears. Any ideas?

    I feared as much. However, re-naming the Activity Code means layouts have to be adjusted / created for each period / import.

  • Flash Player dosn't work in IE 11 even shockwave flash object is activated

    Hello,
    Flash Player dosn't work in IE 11 even shockwave flash object is activated.
    I've installed Adobe Flash Player Version 16.0.0.287 (today).
    then
    I  checked on this page:
    http://helpx.adobe.com/de/flash-player.html
    says Flash Player not installed or not activated
    Active X Version 16.0.0.287
    Internet Explorer 11
    Win 7 SP1 32 Bit
    Please help me.
    Thank you in advance
    Paul

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

  • Getting error while passing implicit request object from JSP to JavaBean

    Hi,
    I am getting error while passing implicit object ie( request object)
    from within JSP to JavaBean.
    Following is source for JSP, JavaBean and Error message I am getting.
    vaLookup.jsp Source
    <jsp:useBean id="db" class="advisorinsight.javabeans.DisplayPages"
    scope="request">
    <jsp:setProperty name="db" property="request" value="<%= request %>"
    />
    </jsp:useBean>
    <jsp:getProperty name="db" property="totalrecords" />
    JAVABEAN DisplayPages.java source
    package javabeans;
    import java.io.Serializable;
    import javax.servlet.http.HttpServletRequest;
    public final class DisplayPages implements Serializable {
    private String totalrecords;
    private HttpServletRequest request;
    public void setRequest(HttpServletRequest req){
    this.request = req;
    public java.lang.String getTotalrecords()
    this.totalrecords =
    this.request.getParameter("totalrecords");
    return this.totalrecords;
    public DisplayPages(){
    totalrecords = "";
    request = null;
    error after executing vaLookup.jsp
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service JavaExtData successfully loaded
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service LockManager successfully loaded
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service RLOPManager successfully loaded
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:7] info: ENGINE-ready: ready: 10819
    [30/Nov/2001 11:56:46:0] info: --------------------------------------
    [30/Nov/2001 11:56:46:0] info: JSPRunnerSticky: init
    [30/Nov/2001 11:56:46:0] info: --------------------------------------
    [30/Nov/2001 11:56:51:7] error: Exception: SERVLET-compile_failed:
    Failed in compiling template: /va/valookup.jsp, javac error:
    c:\iplanet\ias6\ias\APPS\variabl
    S\va\valookup.java:76: Undefined variable: JSP_8
    db.setRequest(_JSP__8);
    ^
    1 error
    Exception Stack Trace:
    java.lang.Exception: javac error:
    c:\iplanet\ias6\ias\APPS\variableannuity\va\WEB-INF\compiled_jsp\jsp\APPS\va\valookup.java:76:
    Undefined variable: JSP_8
    db.setRequest(_JSP__8);
    ^
    1 error
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileJSP(Unknown Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileOrLoadJSP(Unknown
    Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
    Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callJspCompiler(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUri(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUriRestrictOutput(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformRequestDispatcher.forward(Unknown
    Source)
    at com.netscape.server.servlet.jsp.JSPRunner.service(Unknown
    Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)

    The only thing that I see that looks funny to me is when you pass the request object into the method using <%=request%>, Im not sure whats going to happen here because that is suppose to print the results. Have you tried simply using <%request%>?

  • How to pass a locale object into another function?

    Greetings,
    i like to pass a locale object into another function. These are my code below
    import java.util.*;
    public class Locales{
         public static void main(String[] args){
              Locale locale= new Locale("EN", "US");
              convert(locale);
    public void convert(Locale convert)
         String language = convert.getDisplayLanguage();
         System.out.println(language);          
    }I got this error:
    Locales.java:6: non-static method convert(java.util.Locale) cannot be referenced from a static content
                    convert(locale);
                    ^How do i correct it?
    Thanks

    Did you bother to do a search?
    Did you bother to read any of the material that the search would have linked you to?
    If you had then you would be able to understand where you are going wrong and how to fix it yourself. Instead of being spoonfed by us.

  • How to pass a presentation variable to new window?

    Hi Experts,
    I need to give a link on Dashboard1 which opens Dashboard2 in new window. Is there any way that I can pass a presentation variable value of Dashboard2 from Dashboard1's link??
    Thanks.

    Yeah, that's been a problem. If you use Link or Image, you can open the link in a new window, but Presentation Variables won't pass. If you use Guided Navigation, you can pass Presentation Variables, but you don't have the option of opening the link in a new window. One or the other unless someone else has a workaround... I haven't discovered one yet. Sorry.

  • How to pass the java object into the spring controller

    Hi Friends
    When I hit the url at the first time my call goes to the spring controller and sets the userDetails objects in the modelAndView.addObject("userDetails", userDetails.getUserDetails()) and returns the userDetails.html page. if I click any link in the same page i want to pass same (userDetails) object thru javascript or jquery and calls the another(controller) method and returns the same (userDetails.html) page.
    It means how can i pass the java object thru javascript or jquery and calls the controller. if i get the same object in my controller i can avoid calling the db again. please help me out to resolve this issue. i am tired of fixing this issue.
    Regards
    Sherin Pooja

    If you want to avoid calling the database again then cache the data.
    However before you do that make sure that calling the database, in the context of YOUR system, is going to be an actual problem.
    For example there is absolutely no point in caching a  User object when only one user an hour is actually using the system.

  • XSLT - How to pass a Java object to the xslt file ?

    Hi ,
    I need help in , How to pass a java object to xslt file.
    I am using javax.xml.transform.Tranformer class to for the xsl tranformation. I need to pass a java object eg
    Class Employee {
    private String name;
    private int empId;
    public String getName() {
    return this.name;
    public String getEmpId() {
    return this.empId;
    public String setName(String name) {
    this.name = name;
    public String setEmpId(int empId){
    this.empId = empId;
    How can i access this complete object in the xsl file ? is there any way i can pass custom objects to xsl using Transformer class ?

    This is elementary. Did you ask google ? http://www.google.com/search?q=calling+java+from+xsl
    ram.

Maybe you are looking for