PayLoad value in TaskList

Hi,
Is there any way to display the payload value in task list page?
I tried flex mapping, but the values are not displaying in TaskList page. Please Advice
Thanks and Regards,
Pradeep

Refer to the sample "workflow-118-JavaSamples" which provides a number of example Java programs illustrating the usage of the HWF APIs.
You need create the custom worklistapp based on your requirements. Building it as a complete app or a small subset is left to users' choice.
In PS2, we are making available all the worklist components as ADF regions - so you can reuse the regions and combine with other content to assemble a custom worklist app. Styles etc are inherited from the enclosing ADF page.
Refer to the following documentation for building a custom worklist client
http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm#BHAHBHID

Similar Messages

  • How to Update BPEL Payload Values?

    Hi,
    Currently we are working on BPEL Process implemented using Jdeveloper,we want to update BPEL payload values for existing instance created on server.How can we update existing BPEL process Payload values?
    Snehal
    Edited by: 947450 on Sep 3, 2012 9:36 PM

    Hi Umesh,
    There are some fields like PageNumber,SerialNumber etc which are not reflected in EBS systems , these are there only for IPM Level and if we want to update that fields without disturbing EBS systems can we do that?Also these cannot be consider as metadata so that we cannot update it by using UCM.So in IPM level can we do such updation of this values?
    Thanks Snehal

  • How to send notifications to different user groups based on payload value

    Hi Gurus,
    I have a scenario in BPM where i have to send notifications to different user groups based on the payload value.
    ex:
    Payload sample:
    <employees>
    <emp1>
    <state>TX</state>
    </emp1>
    <emp2>
    <state>AZ</state>
    </emp2>
    </employees>
    Requirement: I have to send notification through Humantask to users of TX and AZ as mentioned in payload.
    Can you please help me out in achieving this in BPM?
    Thanks,
    Raju
    Edited by: user0808 on Mar 1, 2013 12:58 PM
    Edited by: user080811 on Mar 4, 2013 11:06 AM
    Edited by: user080811 on Mar 4, 2013 11:07 AM

    Hi Daniel,
    thanks a lot for your quick response.
    I went through your blog and tried implementing the same.
    But in my case i have to send parallel notifications to both the states.
    Please correct me if i am wrong, using if conditions in rules is allowing me to send to only one state.
    I also tried the following approach
    1) setting the organization units in bpm workspace
    2) passing values using human task parametric roles
    3) and looping the subprocess that has the humantask for the count of states.
    I am able to loop the subprocess but i am not able to change the parametric role value for the next iteration of the subprocess.
    Can you please help me in resolving this?
    thanks,
    Raju

  • How to filter messages in XI (IE) using Payload value

    Hi XI/PI experts,
    I just would like to ask if there is a way in filtering messages using only a value in the payload?
    In SAP R/3 system, we can use we09 for searching.  In XI, do we have any transaction that can substitute the transaction we09?
    This is because, when a message is coming from JMS or File adapter, there is no means of filtering it via IDoc number.  We can only filter it using sxi_monitor (via Interface/Receiver/Sender).  However, if I am looking for a particular Order/delivery, it is hard to find this because I have to open one by one the messages and then look into the payload.
    I hope there is an easier way to filter messages per field value.
    Thanks in advance.

    Hy Mary !
            One solution is using TRex to index the XML messages processed by XI, like mentioned in the above messages, and another way is to write a ABAP program to make this work.
            You can find a sample ABAP code to do this at this link:
    http://209.85.215.104/search?q=cache:JOwoNxe-F-0J:searchsap.techtarget.com/tip/0,289483,sid21_gci1273424,00.html+IF_XMS_MESSAGE&hl=pt-BR&ct=clnk&cd=3&gl=br
            It´s very useful. I did take this sample and did make some adjustements(add more filtering parameters, etc) and created another program, that will be used in the customer where I´m working now. I think that this solution is not so fast than using the indexes of TRex but, it works well, and doesn´t require license nor server/infrastructure to install a TRex. Maybe you have to consider TRex, if the message processing volume at your site is very big, something like more than 50.000 messages/hour.
            I hope that this link helps you !
            Best regards,
            Wilson

  • Embedded Java Code - How to retrieve multivalue payload value

    I'm working in my SOA-Composite which is used with OIM and our approval process. Here is an example of the payload data:
    >
    <ns2:RequesterDetails>
    <ns2:FirstName>System</ns2:FirstName>
    <ns2:MiddleName/>
    <ns2:LastName>Administrator</ns2:LastName>
    <ns2:Login>XELSYSADM</ns2:Login>
    <ns2:DisplayName>System Administrator</ns2:DisplayName>
    <ns2:ManagerLogin/>
    <ns2:OrganizationName>Xellerate Users</ns2:OrganizationName>
    <ns2:Email>[email protected]</ns2:Email>
    <ns2:StartDate/>
    <ns2:EndDate/>
    <ns2:Status>Active</ns2:Status>
    <ns2:XellerateType>End-User Administrator</ns2:XellerateType>
    <ns2:UserType>Full-Time</ns2:UserType>
    <ns2:Role>SYSTEM ADMINISTRATORS</ns2:Role>
    <ns2:Role>Test Role 1</ns2:Role>
    <ns2:Role>Test Role 2</ns2:Role>
    </ns2:RequesterDetails>
    >
    I am able to retrieve single values with code like this:
    >
    //Retrieve Requester Login
    Object requesterXMLElem = getVariableData("inputVariable", "payload","/ns3:process/ns4:RequesterDetails/ns4:Login");
    String requesterLogin = ((oracle.xml.parser.v2.XMLElement)requesterXMLElem).getText();
    >
    How do i retrieve the multivalue Role values and not just a single entry?
    Thanks,
    Kevin

    I see what i missed with the doube slash, i thought you had a typo and assumed i used it. If i use the following:
    //Retrieve Requester Roles
    Object requesterRolesXMLElem = getVariableData("inputVariable", "payload","/ns3:process/ns4:RequesterDetails//ns4:Role");
    System.out.println("Requester Roles Type[" + requesterRolesXMLElem.getClass() + "]");
    int requesterRolesCount = ((oracle.xml.parser.v2.XMLElement)requesterRolesXMLElem).getAttributes().getLength();
    System.out.println("Requester Roles Length[" + requesterRolesCount + "]");
    String requesterRole = ((oracle.xml.parser.v2.XMLElement)requesterRolesXMLElem).getText();
    System.out.println("Requester Roles[" + requesterRole + "]");
    I get the following output:
    Requester Roles Type[class oracle.xml.parser.v2.XMLElement]
    Requester Roles Length[0]
    Requester Roles[SYSTEM ADMINISTRATORS]
    I am not seeing how to loop through each if the type is class oracle.xml.parser.v2.XMLElement
    Thanks,
    Kevin

  • BPM payload value reading problem

    Hi all,
    In a bpm scenario, I have a switch that checks an element's attribute and another that checks an element's value.  In the former case, the TRUE branch gets executed when the condition is satisfied.  However, in the latter the condition is NEVER satisfied (even when it should be).  Here's an example message.  In my BPM, I have one switch that uses <user action="xxxx"> and another that uses <jobCode>.
    <ns1:AccessRequestReply xmlns:ns1="xxxxx">
       <ns1:AccessReply type="complete">
          <ns1:user action="update">
             <ns1:jobCode>1234</ns1:jobCode>
          </ns1:user>
       </ns1:AccessReply>
    </ns1:AccessRequestReply>
    During runtime, the integration server can read the <user> attribute "action" with no problems.  However, it cannot read the <jobCode> element.  From sxi_cache I went into the corresponding workflow and loaded a message into the XML object in question.  Sure enough, only the attribute "action" got loaded.  The <jobCode> element never gets loaded.  I verified the XPath expressions were correct.
    Any ideas as to what might be causing this?
    Thanks,
    --jtb

    Hi James,
    might this problem be related to a problem with the usage of namespaces? Normally XI does explicitly use namespaces only on root node level. But in your case, all elements are prefixed with namespaces.
    Could you simply try to send a message to your integration process, where there is only a namespace prefix on root node level, i.e.:
    <ns1:AccessRequestReply xmlns:ns1="xxxxx">
    <AccessReply type="complete">
      <user action="update">
        <jobCode>1234</jobCode>
      </user>
    <AccessReply>
    </ns1:AccessRequestReply>
    Best regards
    Joachim

  • Search messages via payload values

    Hi,
    Did anyone found message by value of one of the xml element value?
    Did anyone wrote a program like the transaction SXMB_MONI to correlate between to messages.
    for example: ARCKEY></ARCKEY in ALEAUD01/EDI_DC40 segment keeps the original message ID of an IDOC for correlation purpos. How can I use this information because I'm using ZALEAUD instead of ALEAUD.
    Best Regards,
    Gigi

    Hi Gigi,
    Check out these links, they might be helpful:-
    http://help.sap.com/saphelp_nw04/helpdata/en/49/e3fb40ef74f823e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/29/e0194120ddf223e10000000a155106/frameset.htm
    REgards,
    chandra.

  • Passing payload values to FTP adapter properties

    Hi
       We are on XI 3.0 SP 13 and we have a requirement as follows :
    We want to use XI purely as a dynamic ftp service.It has 3-4 static locations from which it picks up files from. The target details onto which it ftps the files are dynamic i.e the hostname, uname,type of transfer etc are to be looked up from a db table - in other words, these ftp destination details are to be looked up during mapping using a mapping lookup API and then the ftp adapter properties are to be set dynamically .
    Question is : can we set these ftp adapter properties like hostname, uname etc dynamically from mapping ? If not, what alternatives do we have to achieve this ? Or is this doable in SP14 onwards ?
    I have seen a lot of threads on setting this ftp adapter properties dynamically - including suggestions for writing a JAVA module, proxies etc -
    WE are on SP13 - what is the package - class and API details that are to be accessed - if we want to achieve this using a JAVA module ? ( if at all we have to go that route )
    Any quick suggestions, pointers is appreciated as we are in a time crunch to do a POC. Thank you for your time.

    Hi,
      I doubt if we could set the file parameters dynamically.
    In case the number of target locations are small, say, 4 or 5... we could achieve this through conditional receiver detemination. In order to do this, we would need to know the receivers in advance.
    Regards,
    Smitha.

  • How to get BPM Payload attribute value in ADF TaskFlow

    Hi,
               Activities which I did : I have created ADF Project. Then I created ADF TaskFlow through 'ADF TaskFlow Based on Human Task' option by locating BPM task. So now TaskFlow is been generated and also respective dataControl value also generated. In TaskFlow I created new .jspx file. I am going to design this jspx page by drag and drop from VO instances from dataControl. So for this jspx page, at runtime value will be populated from DB Table.
                      My Requirement :  When the Flow initiated, there will be Parameter value passed to the TaskFlow through Payload which is available in DataControl. So now I based on the Payload parameter value I need to filter DBTable and show the respective value in jspx page which I created in TaskFlow. So getting Payload value and applying filter on VO based on Payload parameter value has to be done before rendering Page.
    I tried to achieve this schenario as like below :
           - Assume like there is attribute called 'transactionId', for which value will be passed to the TaskFlow through DataControl. I created VO based on EO and appended where clause as : "VO.Trans_Id = : bindVar". Created bindVariable called 'bindVar'. In jspx page I just Drag and Dropped VO instance as form. And also I drag and Dropped 'transactionId' as outputText from Payload. And also I created ExecuteWithParams in Binding section of PageDef and mapped that one with invokeAction item in executable section. So now both payload Iterator and invokeAction  will be created in PageDef. I kept Iterator as in the order of : PayloadIterator at first and InvokeAction second one, So that at runtime it will execute in that order. And also I given "refresh" property to payloadIterator and invokeAction to 'renderModel' and I mapped PayloadIterator id to  refreshAfter property of InvokeAction iterator. Now at runtime, So at runtime updated/Newvalue will be retrived to Payload attribute by executing payloaditerator. So now for 'transactionId' value vill be retrieved. Next invokeAction will take value from newly retrieved 'transactionId' as input and execute query. So now VO will be filtered and need to be shown. But instead of that getting error saying like 'No outcome metadata specified for method call activity 'null'.'
    Is this way is correct? If yes, then What mistake which I have done?
    Is any other way to acieve this schenario?
    Do the needful.
    Thanks with Regards,
    PraveenKumar.N

    Guessing you might have looked at this at some point, but you might want to consider using the setCurrentRowWithKeyValue method to do this.
    Here's a blog post that I wrote a while back that goes through step-by-step what I think you're trying to accomplish:  Using a BPM Process Variable on an ADF form to Retrieve Database Information | AVIO Consulting
    Hope this helps,
    Dan

  • How to get the value of payload?

    Hi
    The null is returned when I use the following code to get the User_ID element in the payload, but there are values in the User_ID element of the payload
    Task task_test = wfSvcClient.getTaskQueryService().getTaskDetailsById(wfCtx, taskId);
    System.out.println("the payload value is " + task_test.getPayloadAsElement().getElementsByTagName("User_ID").item(0).getNodeValue());
    How to get the node value of payload ? any suggestion?
    Thanks
    Jayson

    Hi Jayson,
    Try:
    System.out.println("the payload value is " + task_test.getPayloadAsElement().getElementsByTagName("User_ID").item(0).getFirstChild().getNodeValue());
    So add the getFirstChild() call in between.
    If this works, maybe consider using JAXB to marshall the payload details to POJO's. This will make reading the payload details much easier.
    Regards, Ronald

  • How to get the node value of payload

    Hi
    The null is returned when I use the following code to get the User_ID element in the payload, but there are values in the User_ID element of the payload
    Task task_test = wfSvcClient.getTaskQueryService().getTaskDetailsById(wfCtx, taskId);
    System.out.println("the payload value is " + task_test.getPayloadAsElement().getElementsByTagName("User_ID").item(0).getNodeValue());
    How to get the node value of payload ? any suggestion?
    Thanks
    Jayson

    Hi Jayson,
    Try:
    System.out.println("the payload value is " + task_test.getPayloadAsElement().getElementsByTagName("User_ID").item(0).getFirstChild().getNodeValue());
    So add the getFirstChild() call in between.
    If this works, maybe consider using JAXB to marshall the payload details to POJO's. This will make reading the payload details much easier.
    Regards, Ronald

  • Q? how to change filename of receiver adapter includeing payload attribute?

    hi all.
    our scenario is IDOC - XI - FILE.
    IDOC is standard type .xml"
    Despite of searching help library, just read about how to change using payload value.
    How to change the filename using payload attribute?
    Message was edited by: ChangSeop Song

    Hi,
    You can create the file name dynamically from the payload of the receiver adapter as follows.
    From the requirement you have stated, you want your file to be named as,
    TPSDLS<shipmentid>.
    For this, in the reciver file adapter, give your filename as <b>TPSDLS%var%</b> and under variable name substitution,
    <b>var</b> --> <b>payload:IDOCTYPE,1,Shipments,1,ShipmentID,1</b>
    here, var acts as your variable name and it first looks for IDOCTYPE and its first occurence, shipment and its first occurence and finally, shipmentID and its first occurence. There by generating the filename dynamically.
    For more info on this, check the topic <b>variable substitution</b> under this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    hope this helps,
    let me know if you have any clarification,
    regards,
    bhavesh

  • Xi Alerts - Can a  field in the payload be a part of the alert message?

    Hi All,
              I have a requirement in my alert configuration wherein a specific field in the message  payload needs to appear in the Alert message. In the std configuration I see field containers for std things like message ID, services etc... but how do i pass payload fields in the alert
    I am on Xi 3.0 Sp20... this a rfc to jdbc sync scenario... and we are not using BPM...
    Regards,
    Arvind

    Hi,
        you can send the fields of the payload in alert using the RFC call SALERT_CREATE...where you can the payload value...
    you can call the RFC at the mapping level only like lookup or using some udf based on the field validaation.
    but for standard cases you cannot....
    HTH
    Rajesh

  • Selectively executing a mapping rule based on a variable value

    Hi,
    I have written a mapping rule in the following format.
    case #time_unit when 'quarter' then
    logic1
    when 'month' then
    logic2
    end
    In logic1, logic2 i again have nested case statements. Variable time_unit will have a static value hard-coded given (quarter/month) by user before execution.
    So Variable time_unit need not be checked for each row that gets transformed. It hits the performance.
    I want either logic1 or logic2 to be substituted dynamically in the mapping rule window based on the variable value.
    I cannot go for 2 seperate interfaces. How can I achieve this in ODI.
    Please help me.
    Thanks!!

    Sarah,
      I'm not aware of doing other than BPM. If you want the BPM Steps, Please refer below
      Step 1 : Receive
      Step 2 : Transformation
      Step 3 : Send (Syncronous call to the target system)
      Step 4 : Switch(Check the Payload value as per your reqmt)
      Step 5 : Transformation(Switch : False ,If the payload value is not ERROR)
      Step 6 : What you wanna do ( Switch :True)
    If you want more technically, then let me know the source and target systems, I will help you to design
    the complete flow.
    Best Regards,
    raj.

  • How to access BPM 11g payload or process varibles in ADF task flow

    I am trying to view/edit data in a UI tied to a database using a foreign key, requestId. The foreign key comes from a BPM process where it is passed into the task flow, from a human task. The foreign key comes from process variables or payload values. I know I can simply load the payload in BPM with data from the tables, but I'm looking for a better solution to leverage ADF Business components to view and edit the data directly in the UI.
    The BPM process uses a web service to kick off the process. The web services takes a primary key as a parameter to reference a column in the database table. The database is pre-populated with content and a primary key reference. The first activity is a user activity. I want the task flow behind the user activity to accept this primary key and use it to locate the desired row in the database so views associated with database bounded ADF Business Components can work to present the data in the UI.
    I've tried two approaches to the problem. The first uses the operation setCurrentRowWithKeyValue. The other modifies the SQL where clause, used by the ADFbc Iterator, to only return a row for the given requestId. Both approaches fail to work because I don't know how to access the BPM payload or data variables coming into the task flow. Here's the snipet of code I used to try to set the row using setCurrentRowWithKey value:
    public String setRequestId() {
    FacesContext context = FacesContext.getCurrentInstance();
    Object requestObj = context.getApplication().evaluateExpressionGet(
    context, "#{bindings.RequestId.inputValue}", Number.class);
    if (requestObj== null)
    return null;
    Number requestId;
    requestId = (Number)requestObj;
    DCIteratorBinding itr = (DCIteratorBinding)
    getBindings().get ("PatfRequestHdrView1");
    itr.setCurrentRowWithKeyValue(requestId.toString() );
    return null;
    I haven't gotten very far with the second approach, modified SQL where clause, since I don't know Groovy. I think I need something like:
    adf.object.viewObj.RequestId. But there isn't a viewObject associated with BPM data, so I'm sure this particular expression won't work.
    Any help you can give me is very appreciated.
    Regards,
    Mark

    The first thing I want the task flow to do is display a page with a form showing the values from the database. This is why I tried to call the method first. If I add the setCurrentRowWithKey to the form as a button, I can get the form to load the data, but it's a two step process, requiring the user to click a button. The method approach throws the following exceptioin
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity '/WEB-INF/ApproveTravel_TaskFlow.xml#ApproveTravel_TaskFlow@setTravelRecord'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:927)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:2

Maybe you are looking for

  • How to connect my ipod touch using ad hoc that i created?

    pls help me on this. theres a sign of wifi at the upper left of my ipod meaning i am connected to the ad hoc i have created in my laptop. but when i go to safari, itunes, facebook, email, it always appear that theres no internet connection. please he

  • What is the Fix?

    I was really excited to see the free update to the opertaing system and pretty happy when things like iBooks and a new version of iMovies downloaded to my Mac.  However, I am still trying to wrap my head around the reasonsing behind the podcast funct

  • How to search for a particular word in a string?

    How to search for a particular word in a string? thanks for your help....

  • Import Manager Out of Memory error

    I am running MDM 5.5.24.06 server on Windows XP Professional. The server has 4.0 GB RAM with 1.5 GB Virtual memory. I am trying to load 129 material master records from R/3 4.6 ( XML file size 8 MB), into MDM using Import Manager. When I click on imp

  • Wrong ATP Stock quantity and requirement

    Hi friends , My orders are not giving correct confirmation as per stock . In Product view ATP tab i saw some confirmation quantity against sales oreder in total . But actually there is no Sales order iagainst it neither in R/3 nor in APO . Also no or