Human Task change task title dynamically

Hi,
I have a BPEL Human Task with several steps in SOA 11.1.1.7.
I try to change dynamically the task title according to the Participant Name or stage .
I tried different solutions(swicth, updateTask service) but I am unable to get the participantName or the stage name before entering in the initiateTask function.
Please can you give me a clue of how it could be done?
Thank you!

Hi,
Could you please check in wftask and wftask_tl tables whether the title has been updated?
Also, could you please check "Reevaluate the translation every time" in HT and try again?
You should try this.

Similar Messages

  • Reading Human Task Title from two property files

    Good day,
    I have a problem with displaying human task title in multiple languages ,I tried the oracle workflow-114-MLSSample and deployed it over soa suite version 11.1.1.6.0 but the sample didn't work.
    have any body done with this isse.
    regards.
    Edited by: a.rababah on Dec 12, 2012 11:13 PM

    we need to perform the following steps which not mentioned in the sample :
    1. Login to EM link using Admin username/password:
    2. Select <domain>-> SOA-><SOA Infra> and right click:
    SOA Administration->Workflow Task Service Properties
    3. On the Right Hand Side select:
    Advanced->More Workflow Taskservice Configuration Properties
    then
    oracle.as.soainfra.config->Server:<servername>->WorkflowConfig->human-workflow
    On the Right Hand side click on the Operations tab and then click on the CreateLocale operation.
    4. Provide the following parameters:
    Language: de
    defaultFlag: false
    enableFlag: True
    5. Click on Invoke.

  • Internationalization Human Task Title

    Hi,
    I´ve a problem with the Internationalization of a Human Task Title, It simply doesn´t work.
    In a human task I need to have a translation of the title name. But only gets the EN languaje. I´ve all the .properties files.
    Can you help me?
    Regards

    we need to perform the following steps which not mentioned in the sample :
    1. Login to EM link using Admin username/password:
    2. Select <domain>-> SOA-><SOA Infra> and right click:
    SOA Administration->Workflow Task Service Properties
    3. On the Right Hand Side select:
    Advanced->More Workflow Taskservice Configuration Properties
    then
    oracle.as.soainfra.config->Server:<servername>->WorkflowConfig->human-workflow
    On the Right Hand side click on the Operations tab and then click on the CreateLocale operation.
    4. Provide the following parameters:
    Language: de
    defaultFlag: false
    enableFlag: True
    5. Click on Invoke.

  • Human Task Title Translation

    I have tried to translate the human task title by choosing translate in the title and I have followed the MLS example in oracle sample code.
    The sample was on vacation request. The title has been appeared in the default language correctly. But when I use another language,
    the default language title appears. This has happened in my example and in the MLS example(114).
    I am using SOA version 11.1.1.5
    Please feed me back if you have any idea about this problem.
    Thanks in advance.
    Edited by: AhmedElhamy on Mar 31, 2012 2:40 PM

    we need to perform the following steps which not mentioned in the sample :
    1. Login to EM link using Admin username/password:
    2. Select <domain>-> SOA-><SOA Infra> and right click:
    SOA Administration->Workflow Task Service Properties
    3. On the Right Hand Side select:
    Advanced->More Workflow Taskservice Configuration Properties
    then
    oracle.as.soainfra.config->Server:<servername>->WorkflowConfig->human-workflow
    On the Right Hand side click on the Operations tab and then click on the CreateLocale operation.
    4. Provide the following parameters:
    Language: de
    defaultFlag: false
    enableFlag: True
    5. Click on Invoke.

  • How to change report title dynamically??

    Hi,
    I need to change the report title dynamically. The report title must contain the value of a particular culumn in the same report.
    ex:
    col1----col2
    123----abcd
    Report title should be report123
    Thanks

    Hi BIPUser,
    Thanks for your answer.
    @1 in title view is not working. It shows @1 in the title view.
    But Narrative view is working fine.
    Thanks again
    Have great weekend
    Edited by: bob123 on Apr 2, 2010 8:41 AM

  • Change Html Title dynamic from Flash

    Hi,
    I want to change the Title of the Html page dynamically from
    the embedded Flash.
    The Title, that appears on Browser bars etc.
    Could I do this?
    On init I can load the Html source code in with LoadVars, and
    onData (src) change the Title with subString method, but, how then
    could I pass the new value back to the Html page, so the Browser
    Title changes?
    Thank you.
    Luciewong

    Thank you both GWD and Dave for the help.
    I know your code works under normal circumstances, just in my
    case, I can't get it to work.
    Because, on a subsequent Frame, called after the
    ExternalInterface.call,
    I have a getURL(javascript) to change the doc. background
    color.
    Now, either the Title changes or the background color
    changes, but both after each other, can't make it.
    I have tried Ext,CallBack function, so when the Title changes
    and callBack is true, move on, but still then it changes the BG,
    but not the title anymore.
    I must do something wrong with the callBack function?
    Thank you for your help.
    Regards,
    Luciewong

  • Changing tab title dynamically

    Hi All
    i've four tab pages in a portal page and i want to change the labels of these tab pages dynamically taking data from table.
    for example i've a table named TAB_TITLES with thest columns TAB_ID,TAB_NAME
    there are four rows
    TAB_ID TAB_NAME
    1 Tab-1
    2 Tab-2
    and so on
    i want to read values from this table and put the tab label in oracle portal page having tabs.
    thanks

    So .. ?
    You should have some expression of problem, information of your attempt, question about something or request for help. I do not see anything in this message like this, although it is also posted twice for no reason.
    so help others in assisting you my friend; or otherwise help yourself!

  • Error while updating the Human task in JDeveloper. Can not save the changes

    When I try to update my Human task the following error is occuring in JDeveloper and I can't save my changes, any help will be appreciable. thank you.
    Uncaught exception
    java.lang.NullPointerException
    o.bpel.services.workflow.verification.impl.TaskContentAccess.getAccess(TaskContentAccess.java:127)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getDefaultActionAccessData(AccessRulesUtil.java:265)
    o.tip.tools.ide.workflow.util.AccessRulesUtil.getChangedActionAccessData(AccessRulesUtil.java:174)
    o.tip.tools.ide.workflow.editor.tab.TaskActionAccessConfigurationPanel.getData(TaskActionAccessConfigurationPanel.java:272)
    o.tip.tools.ide.workflow.editor.tab.TaskAccessConfigurationPanel.getActionData(TaskAccessConfigurationPanel.java:103)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsPanel.getData(AdvancedOptionsPanel.java:215)
    o.tip.tools.ide.workflow.editor.tab.AdvancedOptionsEditor$LocalPropertyChangeListener.propertyChange(AdvancedOptionsEditor.java:141)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.tab.AssigneesEditor.propertyChange(AssigneesEditor.java:186)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.firePropertyChange(StageEditor.java:1488)
    o.tip.tools.ide.workflow.editor.v2.StageEditor.propertyChange(StageEditor.java:1081)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    j.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    j.a.Component.firePropertyChange(Component.java:8128)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor.editParticipant(ParticipantEditor.java:1304)
    o.tip.tools.ide.workflow.editor.v2.ParticipantEditor$LocalMouseAdapter.mouseClicked(ParticipantEditor.java:1004)
    j.a.Component.processMouseEvent(Component.java:6266)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6028)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4630)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4247)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4460)
    j.a.EventQueue.dispatchEvent(EventQueue.java:599)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)

    Resolved ..
    It was an issue with permissions .
    Thanks

  • In human task, dynamically assign group doesn't work

    Oracle SOA 11.1.1.4
    My bpel process invokes a human task.
    On the human task Assignment tab, I assigned 3 users (by name), 1 group (by expression).
    The group is configured in LDAP
    When I tested the bpel process, I entered the group and other data required.
    From the worklist app, I see the task listed. It is assigned to the 3 users, but not the dynamically passed-in group.
    From the Audit trail, I saw all data I entered (include the group). Everything seems correct, but I still can’t make the dynamically-pass-group work.
    If I assign the group by name in human task, it works fine.
    The problem is: dynamically assign group doesn't work.
    Please kindly advice.

    Yes, it is possible assign a group as participant of some human task, passing the group name as parameter.
    I have tested just now.
    It works pretty well in SOA 11.1.1.4 (BPEL or BPM).
    Make sure add a data parameter in your human task definition and pass a valid group name to it.
    At the Assignment tab, in the participants' list, add a group, data type by expression, and set the value to the right xpath expression to the corresponding parameter.
    For example: /task:task/task:payload/task:group
    If it is not working look the SOA log files, probably you'll find some information about the error there. Maybe there is some problem with your jazn.com configuration.
    You can also test if there is something wrong related to the group name, trying to transfer some task to the same group by the worklist.

  • Problem in setting dynamic expiration duration from Human Task

    Hi,
    I have a BPEL process, in which the Human task expiration has to be set dynamically..
    In the , I have set the expiration duration with this :-
    <copy>
    <from expression="xp20:format-dateTime(xp20:current-dateTime(),'PT1M')"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:systemAttributes/task:expirationDuration"/>
    </copy>
    Do not get confused with 'PT1M' .. I want the duration to be 1 minute... Had I used 'PT1M' as a String and assign to the expirationDuration var, it would have caused an error... It needs to be fromatted as a Date..That's y i took this approach ... I am sure this is working fine as I have checked the payload of the task..
    It has a proper duration..
    <initiateTaskInput><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><initiateTask xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <systemAttributes>
    <expirationDuration>PT1M</expirationDuration>
    Now in the Human task definition(.task file), I have set the expiration duration with "By Expression" option in this way..
    <globalConfiguration>
    <owner>oc4jadmin</owner>
    <expirationDuration duration="/task:task/task:systemAttributes/task:expirationDuration"
    type="XPATH"/>
    </globalConfiguration>
    The problem is the task(at runtime) cannot evaluate the expirationDuration from the XPATH..
    I checked with the WF_TASK table in the orabpel schema ...
    When I use a static duration EXPIRATIONDURATION cloumn gets assigned properly (ie PT1M).. But when i take the XPATH approach, it translates to PT0S.
    Can someone look into this please ?
    Struggling with this for quite sometime...
    saptarishi

    If the Human Task shows status complete, then it's possible that there was an error in the output data association in the process. In EM do you see a fault on the output for the Human Task activity, or if PS4FP the process will go to suspended state if the data association fails.

  • How to change the Task title on runtime?

    Hi experts again,
    My customer is struggling with something very simple: how to customize the Task title. You can certainly create an argument in the task, use Data Associations to map the argument, and then use XPath expression to get the value from the task payload and set it to the task title. That works fine. But it only executes once, when the process instance 'enters' in the task.
    So once the Task is created, you can see the custom title in the Workspace.
    Now, can we change the Title on runtime? I thought you could get the task payload, update the title and finally update the task but this does not seem to work. Here's the code that does it.
    In this example, the priority is updated successfully but not the title.
    FacesContext context = FacesContext.getCurrentInstance();
    String tskId = (String)context.getApplication().evaluateExpressionGet(context,
    "#{pageFlowScope.bpmWorklistTaskId}", String.class);
    IWorkflowServiceClient workflowSvcClient = WorkflowService.getWorkflowServiceClient();
    ITaskService taskSvc = workflowSvcClient .getTaskService();
    ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService();
    IWorkflowContext wfContext = WorklistUtil.getWorkflowContextForASelectedTask();
    Task myTask;
    try {
    myTask = wfQueryService.getTaskDetailsById(wfContext, tskId);
    Element payloadElem = myTask.getPayloadAsElement();
    System.out.println("****************" + myTask.getTitle());
    System.out.println("****************" + myTask.getPriority());
    myTask.setTitle("Task Title 3");
    myTask.setPriority(2);
    myTask.setPayloadAsElement(payloadElem);
    taskSvc.updateTask(wfContext, myTask);
    } catch (Exception e) {
    e.printStackTrace();
    The results which printed out in console after execute above code twice.
    ****************Task Title 1
    ****************3
    ****************Task Title 1
    ****************2

    You can use the appropriately named Window Title property. In your project you can define conditional disable symbols (right-click on the project node and select Properties) and then use a conditional disable structure in your code. However, these symbols apply to the entire project, not to a specific executable. Thus, a better route would be to use the executable name (also accessible via a property), if possible, or some other distinction between the executables. What makes the executables different?

  • How to change the response of human task if we are using the skip rule

    Hi,
    We have developed the request workflow in OIM11g for this we are using the Beneficiary Manager approval composite to approve the request by his manager.
    We are using the skip rule in the human task component to skip the user if the requester is beneficiary manager.
    After the skip rule is executing the the request is going to failed state because of the response it is sending to the OIM
    The skip rule is working as expected but the response sending to OIM is COMPLETED instead of APPROVE.
    Please let us know the steps to change the response to Approve after the skip rule is executed or how to add the response COMPLETED in OIM.
    Thanks

    You will have to write a conditional block outisde the task where you would check if the skip condition is met and if yes then you will have to hard code the approved conditions into the payload for the task outcome.
    <assign name="SetAutoApproveConditions">
                            <copy>
                                <from expression="string('APPROVE')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:outcome"/>
                            </copy>
                            <copy>
                                <from expression="string('COMPLETED')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:state"/>
                            </copy>
                        </assign>HTH,
    BB

  • Dynamic participant block in Human task flow

    Hi All,
    I am working on human task flow and got stopped on below use case.
    I have two participant block let say A and B. I want to assign participant A depends on flat inside task flow parameter. If Flag is Yes, then it should assign to A and on approval of A it should complete the task flow. But if Flag is NO, then it should first assign to B, on approval from B, it should again assign to A and after that it should complete the task flow.
    I tried to use dynamic role assignment but there i am not able to define above use case. Dynamic rule is saying you can assign A or B depends on some rule(task flow parameter) but my requirement is little different.
    If Flag is Yes,
    - assign to A -> on approval -> complete the task flow.
    If Flag is No
    - Assign to B -> on approval from B -> assign to A -> on approval from A -> complete the task flow.
    I want to build this logic inside single human task flow.
    Please help.
    -Sunil

    Hi Zaloa,
    Can you pls try this.This should work.
    1. Go to Edit Task Definition page and add a Parameter of type string(default).
    2. Now come to the human task dialog( the one you get on double clicking the human task activity) and add a value to the parametr you just added(string)using the search light .This value should be the variable containing the value of the asssigne which you want to add dynamically.
    3.Now again go to the Edit Task Definition page and select the Assignment policy and select the expression path builder.
    4. You should be able to see the parameter you just added under task:payload. select this . now your assigne is dynamically added.
    Pls let me know if you need further details. Hope this helps.
    Thnks
    Message was edited by:
    soaUser

  • Dynamic Sequential List of Approvers in the Human Task

    Hi all - I have this asynchronous BPEL process and want to dynamically assign a Sequential List of Approvers that are the result of an Invoke of a Database Adapter.
    1. Added the OutputCollection of the Invoke as a parameter to the Human Task (element type).
    2. Under Assignment and Routing Policy, chose Sequential List of Approvers, and By Expression, chose the value from the OutputCollection from the payload.
    3. After deployment, the instance falls through to completion without errors, but without assigning a task to any approvers. I can see in the Invoke where it pulled the names I want to be assigned.
    Any help or direction would be greatly appreciated.
    Using JDeveloper 10.1.3.3

    I tried to recreate the problem like listed above, but after I add the Outputcollection of the Invoke as a parameter, there is no schema info (not even task:task) when editing the Assignment and Routing Policy section. At any rate, there weren't errors to speak of - the instance completed with "The state of this instance is Completed".
    In the meantime, I've used a while loop to loop through a sequence of approvers that are result of a query. I'll have to keep track of approvers and include them in each new payload I think.

  • Dynamic role setting in human task

    Hi,
    I would like to use the human task activity in a BPEL process setting the role that has to complete the activity dynamically.
    I mean, inside the human task editor, there is a section named "Assignment and Routing policy" where I add a participant to the task. There, I have two options: By name (which I have already used) or by expression.
    I would like to assign the role from a variable of my process. This is, I invoke the business rules engine, and the result is a role. Then, I want to assign the human task to that role. It this possible? How do I do this?
    Thanks in advance,
    Zaloa

    We do the same. We invoke a service from BPEL before the human workflow activity. This service returns a department (that is also present in our OID) based on some instance data. We assign this role to the human task in the task definition like this:
    <routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
    <globalConfiguration>
    <expirationDuration duration="/task:task/task:payload/ns0:humanTaskInformation/ns0:expirationDate"
    type="XPATH"/>
    </globalConfiguration>
    <participants isAdhocRoutingSupported="false">
    <participant name="Department">
    <resource isGroup="true" type="XPATH">/task:task/task:payload/ns0:humanTaskInformation/ns0:department</resource>
    </participant>
    </participants>
    <notification includeTaskAttachments="false" actionable="false"
    secureNotifications="false"/>
    </routingSlip>
    This works.
    As Eric already indicated, you should see some error detail in the audit trail when the human workflow activity "falls through".
    Regards, Ronald

Maybe you are looking for

  • Windows 7 Pro DNS issue with static IP

    0 down vote favorite I have been unable to solve a DNS problem I am having as follows: I have a Windows 7 Professional (64 bit) computer running VirtualBox with a couple of Windows XP guests (not sure if this bit is relevant). After heavy file copyin

  • Still no playlist shuffle order view in iTunes 11.0.1. Alternatives?

    iTunes 11.0.1 has not restored the ability to view and export playlists in shuffled order. Does anyone know of a good Mac alternative to iTunes?

  • Replication Issue

    Hello all, I am checking the replication status of two master instances.Both are showing 209 pending changes from 201:48:55 in DSCC.(Directory control center) The replication tab says "Replication idle".I dont see any errors in the error logs for bot

  • Editing pics in IPhoto

    This just started happening - When I try to edit a photo in IPhoto and select that photo it enlarges but the edit button is grayed out.  Why? Previously I have had no issues and editing (enhancing) was easy.  I can go to View - full screen ......and

  • WPC - Custom Web Form: DOMException: Root Element is already present

    Hi experts, I'm trying to create a custom web form for my companies portal and I'm facing the following problem: I can create create articles with my new webform and everything is fine, but when the XSL Transformation is happing (eg. for viewing the