Not able to Pass Reference Variables to Deferred task

Hi All,
I am not able to Pass the reference variables to Deferred task, With the following code, I am getting null values (for the passed refs) in Deferred Task.
Code is as:
<Action id='1' name='Set Deferred Task Action' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='addDeferredTask'/>
<Argument name='type' value='User'/>
<Argument name='name' value='$(empId)'/>
<Argument name='authorized' value='true'/>
<Argument name='task' value='WF_User Deferred Task'/> // Task defination
<Argument name='date'>
<Date>2008-11-19T14:50:18.840Z</Date>
</Argument>
<Argument name='taskDefinition'>
<block trace='true'>
<defvar name='usrObject'> // This is the variable I am passing to 'WF_User Deferred Task'
<new class='com.waveset.object.GenericObject'/>
</defvar>
<invoke name='setAttributes'>
<ref>usrObject</ref>
<map>
<s>accId</s>
<ref>empId</ref>
<s>updStatus</s>
<ref>newStatus</ref>
</map>
</invoke>
</block>
</Argument>
</Action>
<Transition to='End'/>
Please suggest me.
Thanks,
Ravi.

yeah, you don't have your usrObject available in the deffered task however all variables that you put inside the usrObject are avialble. Like <ref>accId<ref> and <ref>updStatus</ref>. If you still need them organized hierarchically, you might try to add one more level to the object before passing it to addDefferedTask
            <block>
              <defvar name='objWrapper'>
                <new class='com.waveset.object.GenericObject'/>
              </defvar>
              <defvar name='usrObject'>
                <new class='com.waveset.object.GenericObject'/>
              </defvar>
              <invoke name='setAttributes'>
                <ref>usrObject</ref>
                <map>
                  <s>accId</s>
                  <s>yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy</s>
                  <s>updStatus</s>
                  <s>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</s>
                </map>
              </invoke>
              <invoke name='setAttributes'>
                <ref>objWrapper</ref>
                <map>
                  <s>usrObject</s>
                  <ref>usrObject</ref>
                </map>
              </invoke>
              <ref>objWrapper</ref>
            </block>I hope you ve got the idea. Cheerz.

Similar Messages

  • We are not able to pass the presentation variables(date & Date1) to the det

    Hi,
    We have followed the below link to use the date between prompt and passed the presentation variables in the filter condition of the report criteria.
    http://obiee101.blogspot.com/2009/03/obiee-between-dates-prompt.html
    But we are not able to pass the presentation variables(date & Date1) to the detail report.
    Any suggestions are highly appreciated.
    Thanks in Advance
    Siva.

    Yes,I think it wont pass the parameters from one parent report to child report.one thing you can do is put the detailed report on a page in the same dashboard as that of prompt.Put the same between condition on that report also.Give navigation link to this page instead of report.You can hide this page as well so that it will be available only on navigation.
    i have not tried it.Give it a try.
    Regards,
    Sandeep

  • Not able to set the variable to the variant in dynamic selections

    HI,
    I got a ticket related to variant. The variant is created to the report and logical database is added in the attributes of the report so that we can have the option to choose the dynamic slections. Variables are created in TVARVC table. I am able to set the variable by pressing F4 in dynamic selections to the variant. When i save and comeback, i am not able to see the variables in the dynamic selections. I can save the variables in static selections and it is working fine. Pleas help me i need this urgently.

    Hi,
    maybe sth wrong with the passing of parameters in the value help of the affected field.... Pls check.
    BTW: do u pay us for solving your customer tickets? (-;
    Cheers,
    André

  • Not able to pass portal login page with valid credentials using WebDispatch

    Hi,
    We are implementing SAP BillerDirect Portal. To make BillerDirect Portal available over the internet, we Configured SAP WebDispatcher with SSL termination.  We followed the steps mentioned in SAP Help Documentaion for SAP WebDispatcher with SSL termination.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/76/6d4fa247d0d647b5bd40745400d873/frameset.htm
    We created certificate  and send it to CA (TrustCenter CA). We received the CA response and we imported the certificate.
    AS mentioned in the help document, we configured the SAP Web Dispatcher profile to support SSL termination
    We tried to access our BillerDirect Portal over the internet using below link
    https://company.com/bd
    We are getting login page, once we enter correct user ID and Password, portal is not loading (not going to next page) portal remains on same login page.
    If we enter invalid credentials portal login page is giving u201CUser Authentication Failedu201D error.
    If we try to access any portal login pages which brings a pop-up for login, login gets succeeded and we are able to see next pages
    Examples
    1)     https://company.com/bd/admin/xcm/init.do
    2)     https://company.com/monitoring/SystemInfo
    All pages which bring up portal login page without pop-up, not able to pass through portal login screen.
    We Tried the ProxyMapping option on Dispatcher using Visual admin. This option also didnu2019t work for us.
    Here is the WebDispatcher Profile
    SAPSYSTEMNAME = xxx
    SAPGLOBALHOST = xxxxx
    SAPSYSTEM = 00
    INSTANCE_NAME = W00
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTI386
    DIR_EXECUTABLE = $(DIR_CT_RUN)
    Accesssability of Message Server
    rdisp/mshost = hostnameofportalserver with FQDN
    ms/http_port = 8101
    Configuration for medium scenario
    icm/max_conn = 500
    icm/max_sockets = 1024
    icm/req_queue_len = 500
    icm/min_threads = 10
    icm/max_threads = 50
    mpi/total_size_MB = 80
    SAP Web Dispatcher Ports
    icm/server_port_0 = PROT=HTTPS,PORT=443
    icm/server_port_1 = PROT=HTTP,PORT=80
    icm/HTTPS/verify_client = 0
    SAP Web Dispatcher Web Administration
    icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=D:\usr\sap\xxx\W00\data\icmanroot\admin,AUTHFILE= D:\usr\sap\xxx\SYS\global\security\data\icmauth.txt
    Parameters for the SAP Cryptographic Library
    ssl/ssl_lib = D:\usr\sap\xxxW00\sapcrypto.dll
    ssl/server_pse = D:\usr\sap\xxx\W00\sec\SAPSSLS.pse
    ssf/name = D:\usr\sap\xxx\W00\sec\SAPSSLS.pse
    ssf/ssfapi_lib =  D:\usr\sap\xxx\W00\sapcrypto.dll
    sec/libsapsecu =  D:\usr\sap\xxx\W00\sapcrypto.dll
    wdisp/ssl_cred = D:\usr\sap\xxx\W00\sec\SAPSSLC.pse
    Parameters for Using SSL to the backend server
    wdisp/ssl_encrypt = 1
    wdisp/ssl_auth = 1
    wdisp/ssl_cred = D:\usr\sap\xxxW00\sec\SAPSSLC.pse
    wdisp/ssl_certhost = hostnameofportalserver with FQDN
    wdisp/ssl_ignore_host_mismatch = true
    #ICM Parameters
    icm/HTTP/j2ee_0 = PREFIX=/, HOST =hostnameofportalserver with FQDN PORT=50000,SPORT=50001, SSLENC=1,TYPE=1, CRED =D:\usr\sap\xxx\W00\sec\SAPSSLC.pse
    We also tried below options in WebDispatcher profile but we are getting same problem.
    wdisp/add_client_protocol_header = true
    wdisp/add_clientprotocol_header = 1
    wdisp/ssl_ignore_host_mismatch = true
    #ICM Parameters
    icm/HTTPS/forward_ccert_as_header = true
    icm/HTTPS/trust_client_with_issuer = *
    icm/HTTPS/trust_client_with_subject = *
    we also tried
    wdisp/ssl_encrypt = 0
    wdisp/ssl_auth = 0
    we also tried
    wdisp/ssl_encrypt = 2
    wdisp/ssl_auth = 2
    We are not able to resolve issue. Please help us on resolving this issue.
    Thanks
    Praveen

    ' in Host Names is not allowed. Our hosname has '_'.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm

  • Not able to pass table name as parameter in function

    Hi,
    i am not able to pass tablename as parameter. I am using below function.
    function count_test(tabname varchar2) return number is
    l_count number;
    begin
    select count(*) INTO l_count FROM tabname;
    RETURN l_count;
    END;

    You can't do it with static SQL.
    The only way is to do it with dynamic SQL:
    EXECUTE IMMEDIATE 'select count(*) FROM '|| tabname INTO l_count;
    Regards.
    Al
    Edited by: Alberto Faenza on May 10, 2012 1:44 AM
    Mispelling

  • Not able to Pass header info to Microsoft MapPoint WebService using WLS10

    We are passing some Header info to the MapPoint Web Service from our client Web Service which is hosted in Weblogic 10, however we are not sure if the info is getting passed.
    The actual soap header which we are trying to postis as below:
    <env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <m:CustomerInfoFindHeader xmlns:m="http://s.mappoint.net/mappoint-30/">
    <m:CustomLogEntry>2</m:CustomLogEntry>
    </m:CustomerInfoFindHeader>
    </env:Header>
    We are using the below code snippet for setting the header:
    Document doc = null;
    try
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setNamespaceAware(true);
    doc = factory.newDocumentBuilder().newDocument();
    catch(ParserConfigurationException pce)
    System.out.println("ERROR -> " + pce.getMessage());
    Element header = doc.createElementNS("http://schemas.xmlsoap.org/soap/envelope/", "SOAP-ENV:Header");
    Element headerContent = doc.createElementNS("http://s.mappoint.net/mappoint-30/","m:CustomerInfoFindHeader");
    Element headerChildContent = doc.createElementNS("http://s.mappoint.net/mappoint-30/", "m:CustomLogEntry");
    headerChildContent.appendChild(doc.createTextNode("2"));
    headerContent.appendChild(headerChildContent);
    header.appendChild(headerContent);
    Attr nsAttr = doc.createAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:m");
    nsAttr.setValue("http://s.mappoint.net/mappoint-30/");
    headerContent.setAttributeNodeNS(nsAttr);
    findServiceControl.setOutputHeaders(new Element[] {header});
    Here findServiceControl is the Service Control object.
    Even if the code is not throwing any error/exception I am not able to see the header portion which invoking the Mappoint Web Service (using the weblogic test client for testing the webservice).
    Is there any other methodology for setting the header.
    Regards
    Sanjeev Singh

    If you're not sure the header is being created properly, you should switch to using a javax.xml.transform.stream.StreamSource and javax.xml.transform.dom.DOMResult. For instance:
    import java.io.ByteArrayInputStream;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.dom.DOMResult;
    import javax.xml.transform.stream.StreamSource;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    StringBuffer xml = new StringBuffer()
    .append("<env:Header ")
    .append("xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\">")
    .append("<m:CustomerInfoFindHeader xmlns:m=\"http://s.mappoint.net/mappoint-30/\">")
    .append("<m:CustomLogEntry>2</m:CustomLogEntry>")
    .append("</m:CustomerInfoFindHeader>")
    .append("</env:Header>);
    TransformerFactory xformFactory = TransformerFactory.newInstance();
    Transformer transformer = xformFactory.newTransformer();
    ByteArrayInputStream bais = new ByteArrayInputStream(xml.toString().getBytes());
    DOMResult result = new DOMResult();
    transformer.transform(new StreamSource(bais), result);
    Document document = (Document)result.getNode();
    findServiceControl.setOutputHeaders(new Element[] {document.getDocumentElement()});
    If you want to see the SOAP request being sent to the Mappoint Web Service, add the following to the JAVA_OPTIONS environment variable (in the startWebLogic.cmd file), and bounce it:
    -Dweblogic.wsee.verbose=*
    -Dweblogic.log.RedirectStdoutToServerLogEnabled=true
    This will write the SOAP request (and SOAP response) to the server log of the WebLogic Server instance, which the service control is running in.

  • Not able to pass the BEx date prompts from liveoffice

    Dear Team ,
    Environment : BI 4.1 SP3 ,Dashboards 4.1 Sp3 and Live office 4.1 SP3 .
    Bex query has date range variable ,we built dashboard with Live office .Issue is we are failing to pass date variables from dashboard .To pass 1- March -2015 , We tried with 20150301 ,[20150301] ,01.03.2015 ,03.01.2015 ,01/03/2015 and so on .It shows L00 error .
    Please share your toughts/expertise .
    Thanks in advance.

    Hi sateesh,
    try to convert the date into datevalue
    and pass the datevalue ouput to the bex

  • Not able to pass values to variables in extended Tree class

    Hi,
    I have a as class that extends from Tree, additionally this
    custom class defines
    new class level variables as follows:
    public class MyTree extends Tree {
    public var arrayColl:ArrayCollection;
    and i call this tree from mxml as follows:
    <customTree:MyTree
    arrayColl={list}
    xmlns:customTree="../../.*"/>
    Though my 'list' collections is not null, when i place an
    alert in the constructor of extended tree class
    it shows as null.
    Please advice.
    Thanks,
    Lucky

    below is the canvas:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.collections.IViewCursor;
    import mx.collections.ArrayCollection;
    import com.citi.ascript.TreeData;
    import mx.controls.Alert;
    import com.citi.ascript.CitiTree;
    public var availableTreeDataColl:ArrayCollection;
    public var selectedTreeDataColl:ArrayCollection;
    public var treeData:TreeData;
    public var srcTree:CitiTree;
    public var availableTreeDataArray:Array = [{a:1},
    {b:2},
    {c:3}
    public function formTreeData():void {
    var tempColl:ArrayCollection = new
    ArrayCollection(availableTreeDataArray);
    availableTreeDataColl = new ArrayCollection();
    for (var i:int=0; i<tempColl.length; i++) {
    var tempTreeData:Object = tempColl
    treeData = new TreeData();
    treeData.a = tempTreeData.a;
    treeData.b = tempTreeData.b;
    treeData.c = tempTreeData.c;
    availableTreeDataColl.addItem(treeData);
    ]]>
    </mx:Script>
    <mx:VBox>
    <mx:Label text="Drag &amp; Drop the analysis sections
    that you would like to include in the report" width="450"
    height="20"/>
    <mx:HBox id="treeContainer"
    creationComplete="formTreeData();">
    <customTree:MyTree treeList={availableTreeDataColl} //
    here collection becomes null.
    </customTree:MyTree>
    </mx:HBox>
    </mx:VBox>
    </mx:Canvas>
    The collection of TreeData is iterated in the customTree to
    form xml which will act as dataprovider for tree.
    and this canvas is added as a child for a panel in my main
    application.
    Hope this gives an idea.
    Thanks,
    Lucky

  • Not able to clear bind variable following Fusion Dev Guide Document Steps.

    Dear All,
    I am having trouble following the Fusion Developer Guide specifically the items on below link
    http://docs.oracle.com/cd/E23943_01/web.1111/b31974/bcquerying.htm#CHDDHIHJc
    1.     (Request begins and application module is acquired)
    2.  Call setWhereClause(null) to clear WHERE clause
    3.  Call setWhereClauseParam(null) to clear the WHERE clause bind variables
    4.  Call setWhereClause() that references n bind variables
    5.  Calling setWhereClauseParam() to set the n values for those n bind variables
    6.  Calling executeQuery()
    7.  (Application module is released)I wanted to actually clear all my bind variables including the bind variable that I have set in the query.
    SELECT Persons.PERSON_ID,
           Persons.PRINCIPAL_NAME,
           Persons.TITLE,
           Persons.FIRST_NAME,
           Persons.LAST_NAME,
           Persons.PERSON_TYPE_CODE,
           Persons.SUPPLIER_ID,
           Persons.PROVISIONED_FLAG,
           Persons.PRIMARY_ADDRESS_ID,
           Persons.REGISTERED_DATE,
           Persons.MEMBERSHIP_ID,
           Persons.EMAIL,
           Persons.CONFIRMED_EMAIL,
    FROM PERSONS Persons
    WHERE Persons.PERSON_TYPE_CODE = :PERSON_TYPE_CODE_PARAMStep 3 is where I am having problem. I cant find in the API regarding setWhereClauseParam(null) that accepts String but
    it only has setWhereClauseParam(int, String)
    Not sure if I am running on some documentation bug.
    JDEV 11G PS5

    This look like a documentation bug to me.
    The right method to call is
    setWhereClauseParams(null); //note the 's' in Params!Timo

  • Not able to pass multi values from prompts to Bi Publisher 11g

    I am using a choice list in dashboard prompt with default value:"All Column values" and set to a presentation variable:"presvar
    In BIP 11G data model,in where clause i am writing it as:
    where tablename.colname in (:presvar)
    This is working only when i select single value in prompt ,if i select multi values in dashboard prompt it is not fetching me exact results.It is throwing error:"Invalid parameters"
    Kindly help if someone has faced the situation
    Version:11.1.6.2

    This is a bug:
    Bug 11793832 : MULTIPLE VALUES IN A DASHBOARD PROMPT DOESN'T WORK WITH BI PUBLISHER INTEGRATED
    I have been told that a fix is due in next patch set 11.1.1.7.2

  • Not able to pass user credentials in a full trust proxy to call web service in Sandbox solution

    Hello,
    I am trying to build a sandbox webpart that calls a windows authenticated webservice to fetch some data. I tried to pass the DefaultCredentials to the webservice proxy but The credentials passed are that of the
    usercodeserviceproxy process ( in my case it is network service) . I  see that the user account trying to authenticate is Domain\machinname$ which is the network service. 
    My question is - is there a way to pass the logged in user credentials to the web service from sandbox proxy ?

    ' in Host Names is not allowed. Our hosname has '_'.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm

  • Not able to pass a date in send mail utility.

    Hi,
    The requirement is :
    when some one is getting terminated in HR, send a mail to a fixed set of people.
    I created a trigger on Insert. Passing the person_id and calling a conc program. The IN to the conc program is person id. Now in the pkg I am using a cursor to get some details and sending as a send mail. Using FND_Message.
    But when I am trying to pass the end_date as a part of the message it's not working. I gave fnd_log to check what is getting passed in that date, but it's always null. Not sure why.
    I even tried using to_char but does not help. Any clue?

    Shankzzz wrote:
    when some one is getting terminated in HR, send a mail to a fixed set of people.Yeah.. everyone in HR should be termimated - and we, Cyberdyne Systems, have the perfect solution. It is called the Cyberdyne Systems Model 101. Easy to program. Never yet have missed a target. And as we also do not like HR, we can sell you a Model 101 at a special dis-count too.
    I created a trigger on Insert. Passing the person_id and calling a conc program. The IN to the conc program is person id. Now in the pkg I am using a cursor to get some details and sending as a send mail. Using FND_Message.
    FND_MESSAGE ?
    But when I am trying to pass the end_date as a part of the message it's not working. I gave fnd_log to check what is getting passed in that date, but it's always null. Not sure why.
    FND_LOG ?
    No idea what these are. You are perhaps talking Oracle Applications?
    In this forum we talk SQL and PL/SQL server language - the plain vanilla flavour that comes with every Oracle RDBMS database. No applications. No Forms.
    I even tried using to_char but does not help. Any clue?Why would a to_char() change a null value into a non-null value?

  • Not able to pass input to XMLType datatype.

    hi,
    CREATE TABLE xml_data_test(xml_data XMLTYPE);
    Create Or replace procedure XML_SP (P_XML XMLType)
    as
    begin
    Insert into xml_data_test Values ( (P_XML) );
    end;
    exec XML_SP ('<MAIN><INFO> <COLUMN_NAME>COL1</COLUMN_NAME><DATA_TYPE>CHAR(1)</DATA_TYPE></INFO></MAIN>');
    Error report:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XML_SP'
    How to insert the XML string to a xmltype table.

    If we want to pass from java or.ODP or OCCI we need to call as sp_name (xmltype(''));?
    Not necessarily.
    I'm not sure about OCCI but Java and ODP.Net support XMLType object client-side, so you can build an instance programmatically and directly pass it to the procedure.
    Check the corresponding docs for more details :
    OCCI : http://docs.oracle.com/cd/E11882_01/appdev.112/e10764/toc.htm
    ODP : http://docs.oracle.com/cd/E11882_01/win.112/e23174/toc.htm
    Java : http://docs.oracle.com/cd/E11882_01/appdev.112/e10769/toc.htm

  • Not able to pass parameters to append search help

    Hi
    I have created a new search help, when I am testing it, its working fine.
    My requirement is to append this search help to an existing search help.
    The problem is, after appending the parameters are not getting passed through the new search help tab.
    The parameter assignment and all are done.
    Kindly help me in this regard.
    Thanks,
    Pallavi.

    look at how the other elementary search helps are set up within the collective...sounds like you have errors in your settings.

  • Not able to pass parametrs to URL in SICF Handler method

    Hi everyone,
    We have create a WDA Object which Calls a OCI Catalog and passes the control to catalog using resume plug.
    Once the the materials from catalog are selected and we click on submit button controls return back to a SICF Service which contains a Handler class.
    In this handler class we are reading the selected Materials using statement-
    server->request->get_form_fields( CHANGING fields = lt_cat_fields ).
    i am able to get the materials here, now i want to attach these materials & there details to the WDA URL as parameters.
    So that we can read the selected maerial details in WDA from URL parameters in the resume plug handler of WDA using-
    wdr_task=>server->request->get_form_fields( CHANGING fields = lt_fields ).
    How can we achieve this in SICF handler class.
    Regards,
    Akash Rana

    You shouldn't use WDR_TASK directly in WDA. It isn't release for customer/partner usage. Plus these wouldnt' be form fields, but instead header fields if they are URL parameters. Instead of access WDR_TASK and the request/response object directly, you can get the url paramters of a start or resume plug via the WDEVENT importing parameter of the DEFAULT inbound plug (and its handler method).
    From the online help:
    Suspend and resume plugs can have user-defined parameters. For more information, see Window: Inbound and Outbound Plugs.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/2233b60c21072ce10000000a155369/frameset.htm
    method HANDLEDEFAULT .
      data: l_url_parameters type tihttpnvp.
      wdevent->get_data(
        exporting
          name =  if_wd_application=>all_url_parameters
        importing
          value = l_url_parameters  ).
    endmethod.

Maybe you are looking for

  • Mail For Exchange update

    Hi All, Exchange 2010 in on the market, many companies have already switch to it but MFE doesnt work yet. I think it is crazy issue, our company is thinking to switch all 83 phones to WM devices.. Does anyone have info about Mfe update? Thaks Carip.

  • Using powered USB to transfer data.

    Hello all, Can I use a powered USB hub (connected via the camera adaptor) to transfer data to iPad. I have the new iPad and saw this information on another forum as a means to transfer data to the iPad. However, since it doesn't "come up" on the scre

  • My site is gone apparently - WWYD?

    I posted below that when I upgraded iPhoto it for some reason corrupted my entire iWeb site. I lost my templates, texts, photos. Support did a DataCapture and they're trying to figure out what happened and trying to retrieve data from my Domain file,

  • Oracle Mail webclient error and Oracle Files web error

    Having some problems with Collaboration. I've made a single-box installation on a Windows 2000 with SP4. The installation was successfully done. The problems that I have are listed below: 1) Error in Oracle Mail webclient When accessing the Oracle Ma

  • How to install Runtime Platform for more than one database on one machine

    Hi, What the docs loosely call Runtime Platform Service is in my opinion a combination of A) a bunch of software (installed under an ORACLE_HOME) B) the actual service process My question: if I have more than one databases on one machine, each contai