Using Flex Fields in BPM worklist

Hi,
Am trying to use flexfileds in BPM worklist so that I can have additional attributes from the payload associated from the humantask type , in the task header that appears in home page.
Am able to create new label and then tried following steps :-
1. Clicked Edit mappings by task type and selected my task type whose payload attributes are required to be mapped with the flex fields.
2. The value "default/sampleta!1.0*soa_b4396581-d005-4374-be29-5cd725c3e134/Humantask" gets populated in the fields "Edit mappings by task type".
3. However , it shows the message "There are no simple Payload Attributes associated with this TaskType".
I thought that I need to make use of Mapped Attributes section in the Data tab found in humanworkflow task . However when I tried adding attribute there it showed me following error message :-
Error in workflow service Web service operation invocation.
Error in workflow service Web service operation invocation. The error is ORA-30501:Error in authenticating user.
Error in authenticating and creating a workflow context for user jazn.com/dev_soa_admin.
Verify that the user credentials and identity service configurations are correct.
Verify that the SOAP connection information for the server is correct.
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.convertSOAPFaultException(TaskQueryServiceSOAPClient.java:242)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:203)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:253)
     at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:167)
     at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:185)
     at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupUtil.listAttributeLabels(LookupUtil.java:436)
     at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupUtil.listProtectedAttributeLabels(LookupUtil.java:406)
     at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupDataProviderImpl.handleFlex(LookupDataProviderImpl.java:105)
     at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupDataProviderImpl.getResult(LookupDataProviderImpl.java:38)
     at oracle.tip.tools.ide.workflow.api.FlexFieldDetailsPanel.initializeAttributeCombo(FlexFieldDetailsPanel.java:175)
     at oracle.tip.tools.ide.workflow.api.ConnectionComponent._applicationServerChanged(ConnectionComponent.java:350)
     at oracle.tip.tools.ide.workflow.api.ConnectionComponent.access$1000(ConnectionComponent.java:60)
     at oracle.tip.tools.ide.workflow.api.ConnectionComponent$1.run(ConnectionComponent.java:361)
     at java.lang.Thread.run(Thread.java:619)
ORABPEL-30044
I have couple of questions :-
1. For the payload attribute to appear in the BPM worklist sreen while mapping for the flex field , I understand that it should be of simple type . My payload looks like this :-
<ns:employees>
<ns:employee>
<ns:name>John</ns:name>
<ns:age>37</ns:initiator>
<ns:salary>20000</ns:salary>
</ns:employee>
</ns:employees>
I expected name , age , salary to appear in BPM worklist for mapping after I select task type against "Edit mappings by task type" while doing flex field mapping however it is showing me : There are no simple Payload Attributes associated with this TaskType
2. Please advise if I need to anything extra like adding mapped attributes (in Data section of Humantask) or Collections in Task parameter window .
Can anyone please help me on this .
Thanks in advance !

Are you sure the xml is correct here:
<ns:employee>
<ns:name>John</ns:name>
<ns:age>37</ns:initiator>
<ns:salary>20000</ns:salary>
</ns:employee>
It should be <ns:age>37</ns:age>, I believe.
I have a xsd definition like this:
<element name="loanApplication">
<complexType>
<sequence>
     <element name="SSN" type="string"/>
     <element name="email" type="string"/>
     <element name="customerName" type="string"/>
     <element name="customerAge" type="int"/>
     <element name="customerAnnualIncome" type="double"/>
     <element name="city" type="string"/>
     <element name="state" type="string"/>
     <element name="country" type="string"/>
     <element name="loanAmount" type="double"/>
     <element name="carMake" type="string"/>
     <element name="carModel" type="string"/>
     <element name="carYear" type="string"/>
     <element name="creditRating" type="int"/>
     <element name="creditRisk" type="string"/>
     <element name="creditMaxAmount" type="double"/>
</sequence>
</complexType>
</element>
And I am able to do the mapping without any issues.

Similar Messages

  • How to use Flex fields

    Hi ,
    I am using ODI 10.1.3.5.4 with Oracle to Oracle data transfer. I tried to create Flex Field. I have followed following steps:
    1. In security Manager, Objects Tab, I selected Data Server and added a Flex field as SOURCE_DATABASE_LINK_NAME.
    2. In Topology managaer, Physical Architecture, I have opend a data server and gone to Flex field and put the value 'xyz'
    3. In Designer, Project tab, I had gone to LKM. Inside it, I am giving like this :
    <%=odiRef.getSrcTablesList("", "[SCHEMA].[RES_NAME]@[SOURCE_DATABASE_LINK_NAME]", ", ", "")%>
    OR
    <%=odiRef.getInfo("SOURCE_DATABASE_LINK_NAME")%>
    OR
    <%=odiRef.getFlexFieldValue("SOURCE_DATABASE_LINK_NAME")%>
    I am getting errors with all options. None of the options work.
    If I use getFlexFieldValue(), it says [PROPERTY: "SOURCE_DATABASE_LINK_NAME" not found.]
    If I use other 2, I get Unknown flexfield code.
    Here what I want to get is the value xyz, so that I can read the DB Link name so that I can refer in my code.
    Can someone help me to figure out where I am doing wrong.
    Thanks
    Arun
    Edited by: Tayalarun on Feb 4, 2010 1:11 AM

    Thanks to both of you of taking time to help me
    I have tried you the Siddharth option first.
    I used the TRY block in my LKM with Technology as Oracle. I have put the following code:
    create or replace view <%=odiRef.getObjectNameDefaultPSchema("L", "" , "W")%><%=odiRef.getInfo("COLL_NAME")%>
         <%=odiRef.getColList("", "[CX_COL_NAME]", ",\n\t", "", "")%>
    as select     <%=odiRef.getPop("DISTINCT_ROWS")%>
         <%=odiRef.getColList("", "[EXPRESSION]", ",\n\t", "", "")%>
    from     
    <%
    try
    String [] strTableNames = odiRef.getSrcTablesList("","[SCHEMA].[RES_NAME]", "~", "").split("~");
    String [] strTableAlias = odiRef.getSrcTablesList("","[ALIAS]", "~", "").split("~");
    String strDbLink = odiRef.getInfo("SRC_DSERV_NAME");
    int loopCount;
    for (loopCount=0; loopCount<strTableNames.length; loopCount++)
    if(loopCount>0)
    out.print(",");
    out.print(strTableNames[loopCount] + "@" + strDbLink + " " + strTableAlias[loopCount]);
    catch(Exception e)
    out.print("Error here:"+e.getMessage());
    %>
    where     (1=1)
    <%=odiRef.getFilter()%>
    <%=odiRef.getJrnFilter()%>
    <%=odiRef.getJoin()%>
    <%=odiRef.getGrpBy()%>
    <%=odiRef.getHaving()%>
    On execution, I get the message in my From Clause:
    Error:Unknown flexfield code.
    I have tried other option also:
    <% v_java3=odiRef.getInfo("SRC_DSERV_NAME");%>
    <%=odiRef.getSrcTablesList("", "[SCHEMA].[RES_NAME]out.print(v_java3);", ", ", "")%>
    On execution, I get:
    WMC.ACCOUNTout.print(v_java3);, WMC.ACCT_GROUPout.print(v_java3);
    Here it didn't resolve the v_java3.
    Can you help me in getting some resolution.
    Thanks
    Arun

  • Need to Hide Few Columns In BPM worklist/workspace Inbox View

    Hi Team,
    We want to customize the default inbox view, we need to remove some exiting columns(priority,state, task number and expired) and need add some custom columns.
    We have followed the Customizing Applications in Process Workspace and the Worklist Application - 11g Release 1 (11.1.1.6.3) but did not work.
    Please help on this.
    Thank you,
    Keshav

    Keshav,
    You can acheive this its pretty easy...
    Step1:  Login to Workspace/Worklist as Administrator
    Step2:  Navigate to Admin Page by clicking on Administration link from the Global Links
    Step3:  Click on Public Flex fields/ Protected Flex fields under the Flex Feilds.
    Step 4: Once on the Public Flex Fields screen click on the green + icon to create a new  label .
    Step 5: Now it will be to map this labelwith the simple variable coming as part of the input to the task form.
    Step 6:  We can now create a custom view so that we can also see the column for the Limit Requested column in the inbox. For the same view we will also sort the tasks based on the limit amount so that the users can prioritize it. Go to the Worklist Views heading and click on the green Add icon to create a custom Inbox/View.
    Refer this: Using Flex Fields in Oracle BPM 11g | Oracle Technologies Premier.
    Hope it helps you!!!
    Cheers!!!
    Regards,
    Pavan

  • Flex fields question

    Hi,
    I'm trying to use flex fields in Worklist оn SOA Suite 11.1.1.4 but I cant see protected flex fields on Administration tab under weblogic, only public.
    Is it some new bug on 11.1.1.4 on new "feature"?
    How can i can enable protected flex fields? Is it posible?

    It seems I found solution.
    After extending weblogic domain with Oracle BPM Suite protected flex fields appers and become usable.

  • Odi-Flex Fields

    Why do you we need flex fields in odi.What advantage do we get using flex fields??
    I added a flex field,from security navigator ,it got reflected in the model.[model contains tables]
    What advantage is it for us?.

    It seems I found solution.
    After extending weblogic domain with Oracle BPM Suite protected flex fields appers and become usable.

  • To Complete the task without taking complete action in BPM worklist.

    In my project ,there is one requirement that to complete the task without taking complete action in BPM worklist.
    So I am trying to acheive this using JAva API of BPM worklist.
    For that I have followed the approach given in below link
    http://technology.amis.nl/2007/02/invoking-bpel-worklist-api-from-remote-server-with-java/
    Created java application and imported all the required libraries and jars.
    while running this application it is giving following error
    NoClassDefFoundError: oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl
    This is due to absence of 'ServiceDelegateImpl.class' which should be present in webclient.jar ,
    I have also added the same jar from jdeveloper\webservices\lib folder.
    but the thing is ServiceDelegateImpl class is missing in webclient.jar.
    I have downloaded the same jar from internet and tried various versions also.
    still the problem persists.
    Which jar should I add ? or any other configutation is required ?
    Am I following correct approach?
    Any suggestions on other approach would be appreciated.
    Thanks in advance.

    Hi Marc,
    You can set the task Process Owner (i.e. TaskProcessOwner) to the group which Bowman and
    Laura belong to from SharePoint Designer, then they should be able to complete the re-assigned task.
    http://www.fourbuckeyes.com/2013/06/07/task-delegation-in-sharepoint-2010-approval-workflows/
    http://community.rightpoint.com/blogs/viewpoint/archive/2012/04/17/sharepoint-designer-2010-workflow-advanced-properties.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • BPM Worklist

    Using SOA 11g and BPM worklist. Created SOA application and ADF Task Form. Deployed on SOA Server.
    Then go visit BPM worklist and click the Assigned task that appear. displays in the task form.
    At bottom of worklist, I see options
    Add Comment and also Add Attachment
    I added both comment and uploaded file as attachment.
    On "Approve" I anticipate the comment should appear as part of TaskFlow output right ?
    Which attribute of TaskFlow output has this comment part ? I saw for User Comment/Comment and it did not give me the comment I added.
    Also which attribute would have attachment ?
    thx
    pp

    Following is the error it gives me (for comment part ) in BPEL
    assign (181) (faulted)
    Jun 10, 2010 6:42:27 PM Updated variable "callbackClient_processResponse_InputVariable"
    Jun 10, 2010 6:42:27 PM Error in <assign> expression: <to> value is empty at line "195". The XPath expression : "" returns zero node, when applied to document shown below:
    <payload>
    why am I not able to Grab the comment added in worklist ------------- IN MY BPEL ?

  • Protected Flex field and Custom Views

    Hi,
    I have created some project variables in oracle bpm 11.1.1.6.0 project.After deployment, these variables are coming as Protected flex field but for some reason these are not visible when I define custom views.
    I also tried creating Protected flex field on BPm workspace, mapped these variables to human task payload, yet again when creating custom view i cannot see them.
    This problem is only happening with protected flex field and not public flex field.
    Please let me know how to add protected flex fields in custom view.
    Regards...

    why do you think it's an apps question?

  • 11gR1 - Personalizing BPM Worklist application

    Hello All,
    We are using Oracle 11g R1 BPM Worklist application. As per our business requirement, we would like to hide some of the items/regions/tabs in the worklist application. Example, we want only My Tasks tab, all other tabls should be hidden. Similarly, we would like to remove/hide defualt worklist views such as My Work Queues. Also these changes needs to be reflected to all the users. We tried using User Preferences, which modifies the preferences only at the logged in user level. Changes are not being reflected to all the other users. I could not find any document on admin level personalizations which will be applied to all the users.
    Any pointers/help are very much appreciated. These changes are our go-live stoppers.
    Thanks
    Annadurai.

    I am still looking for a solution. Any pointers would be really helpful.
    Thanks
    Annadurai.

  • How to create Rules with Flex Field mapping in the bpm worklist

    I Have created a flex field label and was able to map to the flex field attributes .
    But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
    Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
    Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
    Any pointers or suggestion is highly appreciated .

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • Flex fields in default BPM view 11.1.1.3.0

    Hi
    I Jdeveloper 11.1.1.3.0 I have created a SOA composite with a BPEL flow containing a Human task. In this task I have added data fields (flex fields) which I'm able to show in the Oracle BPM worklist using the Adminstration menu option and adding the flex fields.
    I'm able to create a private view with these new flex fields now showing as column in the BPM worklist.
    But when trying to define these filels in the public views they do not show up in the definition page as available/selected columns. I cannot find anywhere in the documentation where it says that flex fields only can be used in private BPM worklist views. So how do I add a flex field to a public view?
    I do not want all my BPM worklist users to have to create private views themself. I want the new flex fields to be shown in the default worklist columns for all my users by default. Can this be done?
    Best regards
    Johnny

    It this true - that no one can help here???

  • Adding Flex-field to Custom View in the Worklist

    Hi,
    I am using OAS10133. I have mapped a SIMPLE_TYPE payload attribute to a flex field label in the worklist. I created a custom view. I want to display this playload attribute as a column in custom view and want to make it searcheable. But when I create the custom view, then at the time of selecting the columns, I do not find the name of this label listed in the dropdown.
    I have also made an entry in WorkFlowLabels.properties file.
    Can anyone please let me know if I need to follow any other step to display the flex field label as a column in custom view?
    Thanks in advance.
    -sam

    Hi Pete,
    There are two exits that were used.
    A user exit IMRC0001 (MeasPoint/MeasDoc: Exit before update (after COMMIT WORK) /  FM: EXIT_SAPLIMR0_001) for the transaction IK11 to enter the value for the custom field. When the measuring document is saved a pop up appears wherein the value for the custom field can be entered.
    A menu exit IMRC0003 (MeasDoc: Menu exit for customer-specific function / FM: EXIT_SAPLIMR0_003) for the transaction IK12 in order to change the custom field.

  • How do I align a flex field segment using personalizations?

    This is my first attempt at an OAF form personalization.  I added three DFF segments (read only) to the requisition headers portion of the iProcurement requisitions form.  I'll do my best here to try and show what has happened, I hope this will maintain the formatting.  So column on the left side of the form looks like this:
                      Description:   This is a test
                      Created by:    Me
                   Creation Date:   03-DEC-2013
    Confirming Order: Yes
    Capital Expense: No
                         Deliver to:   Test
    So, you can see that the two flexfield segments, Confirming Order and Capital Expense are way over to the left and not aligning with the rest of the fields.   I'm wondering if someone can tell me how to get those to line up with the rest of the form fields.  I have the same issue with a third flexfield segment n the right side of the form.  The other fields in the column are Message Styled Text.  And if I add a field that is of that type it will line up.   Although, when using that type of field or the flex field, I have to set the CSS style, it doesn't automatically inherit it as I thought it would.  I did a view source to see what it was on the other fields then filled that in for the CSS Class for the field I had created.  So, I must be missing something else here for these not to line up.  Any guidance is appreciated.  Thanks.

    I just found this note: 
    DFF Segments Are Not Aligning Correctly When Added Through Personalizations (Doc ID 1594546.1)
    It sounds like it isn't possible, unless someone knows of a workaround.

  • Flex Fields in Oracle BPM 11g

    Hi!
    Which is the procedure to move flex fields from development to productive environment? In development I have created flex fields one by one... How can we avoid it in a productive environment?
    Thanks!
    Ana

    You can use "User Metadata Migration Utility" to move the flex fields to new environment.

  • Getting exception when trying to get taskdetails url using BPM worklist api

    Getting exception when trying to get taskdetails url using BPM worklist api method :
    String url = WorklistUtil.getTaskDisplayURL(
    wfSvcClient,
    ctx,
    task,
    null,
    "worklist",
    parameters);
    Jul 21, 2011 11:24:40 AM oracle.bpel.services.common.ServicesLogger __log
    WARNING: <oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean()> Exception while loading install config file in standalone Error : javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    oracle.fabric.common.FabricException: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:184)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean(TaskFlowPropsUtil.java:319)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfoForWeblogicServer(TaskFlowPropsUtil.java:491)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfo(TaskFlowPropsUtil.java:363)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getDefaultURLPrefix(WorklistUtil.java:264)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:353)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:293)
    at com.test.WorflowServiceClient.main(WorflowServiceClient.java:198)
    Caused by: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:662)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
    at oracle.as.jmx.framework.config.session.ConfigurationMBeanServerImpl.getAttribute(ConfigurationMBeanServerImpl.java:210)
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:78)
    ... 7 more
    Caught workflow exception: null
    Process exited with exit code 0.
    Can anyone please help me

    Actually i'm using Jdeveloper 11.1.1.4 and our requirement is to show list of BPM worklist tasks for the logged in user on the first page and onclick of each task task details page should be opened. I can use Webcenter PS3 worklist taskflow. But i'm not able to customize that taskflow. So, i'm going for Worklist client api.
    I'm able to retrive the taskId,task title and few other details like task payload. But i don't know why the below method is giving exception.
    String url =
    WorklistUtil.getTaskDisplayURL(wfSvcClient,
    ctx, task, null,
    "worklist", parameters);
    And i observed that you have also used the same code for getting Taskdetails url. And one more thing is i'm trying to access BPM worklist which is installed on remote machine.
    Can you tell me what could be the reason for the exception?

Maybe you are looking for

  • IPod to TV AND Amp - HUM

    as soon as I have video to TV & audio jacks to my Musical Fidelity X-150 amp (Apple A/V cable), the low hum is there - I tried S-video to scart/Audio line-out to Amp through a 4th gen dock too, same thing - either on their own work fine though - - i

  • How can i see visitor statistics for web page hosted on osx lion server

    Hello how can i see visitor statistics for web page hosted on osx lion server Thanks Adrian

  • Performance tuning - Gather stats and statID created

    SQL> EXEC DBMS_STATS.CREATE_STAT_TABLE('HR', 'SAVED_STATS'); SQL> SELECT TABLE_NAME, NUM_ROWS, BLOCKS,EMPTY_BLOCKS, AVG_SPACE, USER_STATS, GLOBAL_STATS 2 FROM USER_TABLES 3 WHERE TABLE_NAME = 'MYCOUNTRIES'; TABLE_NAME NUM_ROWS BLOCKS EMPTY_BLOCKS AVG

  • Unable to kill apps, icons won't wiggle

    Trying to kill apps; but, icons on bottom platform will not wiggle. Now, when I hold down "platform" buttons, x's in a black box will appear on random apps above platform - not all the apps, just a few here and there. Very weird. I have tried shuttin

  • Repository Database shows at wrong version in Grid Control

    Hi all, I have successfully installed Grid Control and have upgraded the repository database to version 10.2.0.3. When I log into sqlplus to check the version number fit shows 10.2.0.3, but when I look at the database in Grid Control it is displaying