How to dynamically assign assignee for human task?

I tried to use xpath expression in task editor. Expression editor suggested me to use task schema and I could not use variables from process.
I had selected systemMessageAttributes.textAttribute1 and created “Assign” activity to initiate the attribute. This does not work. When task is started assignee is empty and task is automatically completed.
Does anybody used this feature?

Hi,
You can run the soa server in debug mode by adding remote debugging parameters in startWeblogic.sh of soa server and remote debug it to check problems.
e.g.
+#For Debug Port+
+if [ "${SERVER_NAME}" = "soa_server1" ] ; then+
+JAVA_OPTIONS="${JAVA_OPTIONS} -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=9023,server=y,suspend=n"+
+export JAVA_OPTIONS+
+fi+

Similar Messages

  • How to format the URI for Human task worklist UI project?

    This information is not easily found, so I am posting it here:
    When you click on the Administration Tab of the Human workflow component in EM, It allows you to enter an URI for the TaskDetail page.
    If you Auto-generate the taskdetail page, the URI form has to be filled out as follows:
    Application Name =worklist
    Host Name=mymachine
    HTTP Port=8001
    HTTPS Port=0
    URI=/workflow/MCRT_UI/faces/adf.task-flow?_id=MCR_T_TaskFlow&_document=WEB-INF/MCR_T_TaskFlow.xml
    (Where the Project name is MCRT_UI and the TaskFlow.xml is named as indicated and is located in the WEB-INF directory.)
    HTH,
    Matt

    Hi,
    Thanks for the post. From your post , my understanding is as below. Kindly correct me if I am wrong.
    When we go for the URL,
    http://hostname:7001/integration/worklistapp
    we will get a predefined page like, we will have 'MyTask', and this will list out all the tasks assigned for that user.
    The above procedure, you have given, will it allow us to override this adf page. so that , as soon as we go to the url, we can see our OWN custom adf page?
    Thanks,
    Sabarisri. N
    Edited by: meenalingam on Dec 20, 2011 4:24 PM

  • How to use External Routing in Human Task

    Hi,
    Could you please help me knowing how to create External Routing in Human Task in SOA Composite.
    Thanks

    When defining the external routing class in the .task, you can define the name value pairs which you want to pass to the program. Here you can pass dynamic values to the class as well by reading the appropiate node from the payload. In your class the name, value would be available in the "Map propertyBag" parameters in Rajiv's example link.
    Document says:
    Map of properties — When an assignment service is specified, a list of properties can also be specified to correlate callbacks with backend services that determine the task assignees.Or if you are too lazy to map many parameters and values, you can always read the whole Task task and then use getDocument and some xml reading to determine the values. This Task is the whole document.
    API:
    http://docs.oracle.com/cd/E17904_01/apirefs.1111/e10660/oracle/bpel/services/workflow/task/model/TaskType.html#getDocument__Document says:
    Task document — The task document that is executed by the workflow. The task document contains the payload and other task information like current state, and so on.Also you need to make sure that you are maintaining the state of the assignment class, doc says:
    The assignment service class cannot be stateful because every time workflow services need to call the assignment service, it creates a new instance.Thus if you are doing multiple serial assignments one after the another and if your server restarts in between, then the approval would start at the first assignee again. Suppose in Rajiv's doc link e.g., if the task is assigned to 'wfaulk' and the server restarts then the task would be assigned back to 'jstein'. In order to prevent this you need to modify the java code and each time the variable changes it's value you need to place it in a dehydration store. Also on each action over the process you need to reinitialize the variable from that dehydration store.
    -Bikash

  • How to open and navigate between human task forms in a same page?

    Hi
    I use Oracle BPM 11.1.1.5
    I have a question about taskflows in BPM Application.
    In ADF web application, I create a sipmle task flow and insert view id and bind these to jspx pages, my pages are opend in same page when
    return an outcome.
    For exapmle I have three pages like A,B,C.
    In task flow, insert three view ids and bind to A,B,C.
    My first pages is A, and when outcome is B navigate to B, when my outcome is C then navigate to C in a same page not separate pages.
    But my problem is here.. in BPM Application when create task forms, every task has a separate task flow that there exist a single view id and a wild card flow in it.
    In BPM workspace when initiate human task form is closed, I should press refresh button to see next human task form in task list table.
    I tried to create a simple task flow and insert human task forms in it and navigate between these.. but show human task form in wrong display and don`t show some component and human task payload.
    Now, my question : How to open and navigate between human task forms in a same page like software installation?

    Having a separate Data Control for each human task is normally the case. There is a way to assign multiple human tasks to a single data control (and one task flow), but I don't think that this is going to help you with what I think you're trying to do.
    If your human task is called "EmployeeDetail", then you'd use the data control associated with this for the UI pages in the task flow diagram that is associated with this human task. For example, you might have a first page that has just the basic employee information - the fields (at least the ID field) would come from the EmployeeDetail data control. When the end user clicks "Next", you might have this UI page flow to a second UI page in the task flow diagram that has the employee's address information. You might place the address fields from the EmployeeDetail data control onto this second UI page.
    You might be asking how the work item instance can automatically flow to the next interactive activity in the process while staying inside the first interactive activity's human task's task flow diagram. This is not how it works - the task flow diagram models the end user interaction while inside a single human task that is tied to a specific interactive activity in the process. If you want a the end user to be able to move the instance through multiple interactive activities in the process in one interaction, look at "Activity Guides". Activity Guides do a nice job of this.
    Dan

  • How to create tab pages in Human task Using Wizard

    hi,
    how to create tab pages in Human task Using Wizard.i need to display the personal details and the offical details in the same page with different tabs for each.it is possible to do lika this.if yes,how can we do this.
    Regards

    Stuart,
    Within a SAP Portal Tabs are not used like you want them to
    By default Tabs are used inside an iView and not to "tab" between iViews on a page...
    The most straightforward solution would be creating a custom PageLayout that you can assign to your page.
    I would sugest to implement this custom PageLayout with DIV layers and trigger "tabbing" via JavaScript eventing.
    For more infor on how to create a custom PageLayout take a look at here:
    [http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm]
    Good Luck,
    Benjamin Houttuin

  • Libraries for Human task in managed server

    Hi All,
    We are using SOA Suite 11.1.1.6 for the current project. I have a questions regarding the setup of the managed server for Human Task Flow. For specific reasons, in our domain, we have three managed servers: admin, soa and taskform. The managed domain "taskform" will hold all ear project for human tasks.
    The question is while configuring the domain, which libraries should we install in the "taskform" managed server?
    Thanks in advance.
    Steven

    Hi,
    Have a look at
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bp_designtf.htm
    section 28.8.4 How To Deploy a Task Form to a non-SOA Oracle WebLogic Server
    This is the 11.1.1.5 documentation I am sure there would be an equilivant in your version.
    In theory the URL should be provided by the deployment process but you can check this
    In EM click on the composite with the human task component in it
    Under Component Metrics click on the human task component
    In the Administration tab you should see an entry which is the URI to the task form
    As I said I havn't got this working on our system yet and I would be intrested in hearing if you are sucessful
    Robert

  • Classes generated for Human Task UI

    Hi All,
    I created ADF UI out of a human task (using Automatically generate form option). After generating, I can see lot of .xml files under the HumanTaskForm package, in the newly generated project. I would like to know the way in which these classes (Java Bean) are generated under the HumanTaskForm package.
    Also, when I update some values in the UI page at runtime, I am able to see the change , in the response message of the HumanTask. I would like to know, from where the binding information come from, for those UI components, so that they are able to update!
    Kindly give me some good documents that would explain me regarding the bean classes generated for HumanTask.
    When I searched for the same, I could get the documents regarding the configuration of Human Task only. I need information regarding the Bean classes for Human Task.
    Thanks,
    Sabarisri. N

    Please post on the Jdeveloper and ADF Forum where you will get more help
    JDeveloper and ADF

  • Quick ? - How do I Assign IRQ For VGA (865PE)

    Quick Question - How do I Assign IRQ For VGA (865PE)
    Kim :D
    IANG

    You can't as all taken care by WinXP ACPI.

  • How config dynamic arp inspection for 300 or 500 series ?

    Hi Cisco Expert ,
    How config dynamic arp inspection for 300 or 500 series ? Do you have clearly document for this solution ? Could you please to share ?
    i find in admin guide it's no simple to do
    Thank you for kindly support.

    Hi Siriphan, using the command line is the easiest way to deal with this.
    You need to understand the difference between trusted  and untrusted interfaces. The untrusted interfaces are the ports that  will be inspected and if not specified within the arp entry list then  will get dropped.
    Any port you do not want arp inspection to be a part of, you need to trust that port.
    Below is how to make a port trusted.
    configure terminal
    interface fe1
    ip arp inspection trust
    Once you establish the trusted ports, you can build your arp list.
    configure terminal
    ip ap inspection list create ARP_INSPECTION  (the word after the create can be anything you want)
    ip 192.168.100.3 mac-address 64:31:50:1c:50:a1
    This  is the example of adding 1 entry to your arp list. You can add128 of  these entries. These IP/mac binds are the devices that are "safe" from  being dropped.
    Lastly, you need to enable the arp  inspection globally. You DO NOT want to toggle the arp inspection  without establishing your interfaces or bind list. If you do not  establish your trust interfaces and list first, you will lock down any  connection through the switch and essentially brick it.
    To toggle the global arp inspection
    configure terminal
    ip arp inspection
    Once you're done, save your running config to the start up config.
    -Tom
    Please mark answered for helpful posts

  • How to Design User Accounts and Groups for Human Task

    Hi All,
    I have a requirement wherein we have a group of people to whom tasks get assigned. Details are below
    Assume
    PO- Purchase Order
    IN- Invoice
    CL1 - Client 1
    CL2 - Client 2
    CL3 - Client 3
    REP1 - User 1
    REP2 - User 2
    REP3 - User 3
    APP1 - Approver 1
    APP2 - Approver 2
    APP3 - Approver 3
    1. There are two groups of people say PO_Team and IN_Team.
    2. REPx are the folks who are in the IN_Team. They handle monitor invoices and run reports on them (READ - Only)
    3. APPx are the folks who are in the PO_team. They approve order and sometimes modify them (READ-WRITE)
    4. CLIx are the clients each of whom send PO and expect IN in return
    5. CLI1 - APP1- REP1 together handle one client.
    Now the requirement is something like this
    1. APP1 must be able to see the PO and IN only from CLI1
    2. APP1 must be able to see editable view of PO from CLI1
    3. APP1 must be able to see red only view of IN from CLI1
    4. REP1 must be able to see the PO and IN only from CLI1
    5. REP1 must be able to see read only view of IN from CLI1
    6. REP1 must be able to see read only view of PO from CLI1
    7. In exception cases APP1 can assign a PO from CLI1 to APP2
    Can someone help me in the design of groups and permissions for this?
    TIA

    Groups are the way to go. Every Human Task can be assigned to either a user or a group or a user and a group. Select the last option so that it goes to a particular user but also to a group. That way anyone in the group can approve these tasks though it is sent to one particular users list. Anyone from that group can pick that task up and approve it

  • How to approve the request only for one time for human task in BPM Worklist

    Hi All,
    I'm having a requirement where i have made the hierarchy in the .task file where in created two users for which i need an approval in a hierarchical manner. But when i'm approving the request from worklist app for one user and the request is going sucessfully to the second user and if i approve it over there it once again coming to first user where i have approve it once again to get the request processed. how to get request processed only for one time when it is approved. Do we need to customize anything
    If you did it can anybody can share thoughts on this please. Your help is highly appreciated.
    I am not able to see the rejected request at all. where to see the rejected request.
    Regards,
    CH

    Hi,
    Following are the some important points you should understand about ESS Leave Request Workflow
    1. The Visualization ( how should it appear in UWL and what should happen when you click on a particular workitem) is defined in SWFVISU. Check for TS12300097. Generally, it invokes com.sap.xss.hr.lea.appl/LeaveRequestApprover Java WebDynpro application. Just check whether you are able to get the correct Leave Processing application called when you execute your workitem from UWL?
    2. In general it should have option to process the leave request either approve/reject. When the leave request gets approved/rejected the status of the Leave Request document gets changed ( in workflow it is &REQ.STATUS&
    3. There is a need to schedule a background job for program RPTARQPOST which will pick up all the documents in APPROVED status and creates an absence record for the same.
    4. Apart from schedule job as mentioned above, you also have to schedule a background job for program  RPTARQEMAIL, which is basically used to send e-mails for all the documents which are yet to be approved to correct manager.
    as you say , you can not see Approve/Reject options from UWL, it looks to me that correct javawebdynpro application is not being called for this task. Just check this !!
    Good Luck !!
    Regards
    Krishna Mohan

  • FYI Assignees in Human Task

    Hello,
    I would like to allow a Human Task assignee to select and assign users as FYI assignees in a parallel stage within the same Human Task. Is this possible?
    Example: User_A is assigned and logged-into the Human Task under the Worklist Application. I would like to allow User_A to select and assign users as FYI assignees in the currently active task. I only require the FYI users to comment or they can ignore entirely and User_A can reject/approve at any time.
    Is it possible to add FYI assignees to a Human Task while it is running? If so, how is this done?
    My findings so far:
    IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient();
    ITaskService service = client.getTaskService();
    What should I do from here?
    I would be open to other design ideas, as well.
    Thanks,
    Mark

    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.

  • Realm for human task

    In the BPELAdmin I have added a second domain named "hub". In is_config.xml, I have added another configuration with realName="hub". In jdeveloper, I can then deploy a bpel process that includes a human task to the "hub" domain.
    Using the BPELConsole, I can see in the new process in the hub domain "hub" and create a test instance of the process. All that is good. The problem comes when I log into the worklistapp. When I select the "hub" realm at login, I do NOT see my new task. When I select the "default" realm at login, the task is there.
    How can I specify the realm for the task?

    Thank you for the added information. I am still confused however. When I am using the workflow editor, I can select the Integration Server Connection and Realm Name just like you said. When finished I viewed the source. What I see is:
    <routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
    <globalConfiguration>
    <owner>talaveraa</owner>
    </globalConfiguration>
    <participants isAdhocRoutingSupported="false">
    <participant name="Assignee1">
    <resource isGroup="false" type="STATIC">talaveraa</resource>
    </participant>
    </participants>
    <notification includeTaskAttachments="false" actionable="false" secureNotifications="false">
    <action name="ASSIGN" recipient="ASSIGNEES"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your ....'))]]></action>
    <action name="COMPLETE" recipient="CREATOR"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your ....'))]]></action>
    <action name="ERROR" recipient="OWNER"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your ....'))]]></action>
    </notification>
    </routingSlip>
    I have studied RoutingSlip.xsd. It does not appear to allow one to specify the realm. So I selected user "talaveraa" from the "hub" realm and deployed to the "hub" domain. Now to see an instance of the task in worklistapp, I have to log in to the "default" domain. How can I force this task to be routed only to users in the "hub" domain?

  • How to get the assignees for a specific role in process in BPM 11g

    Hi, Gurus,
    I am using BPM 11g. I am trying to retrieve all the assignees for a a specific role in process. It will be a parameter for a business rule to do further routing rule. But it seems there is no way to get the information. I found that there are Identity Service Functions in Human Task Assignment. But Identity Service Functions are not listed in Business Rule Activity, neither listed in other activities except Human Task Assignment. I cannot get the assignees in my process.
    Is there any way to get all the assignees for a role? I also tried to retrieve the assignees out engine with Worklist API, but it cannot get either. Actually we can get all the assignees information in automatic activity in OBPM 10g. Maybe I am still not familiar with 11g. Any advice is appreciated.
    FYI:
    My scenario:
    Suppose we have a role named ApprovalTeam. In this role, there will be several different department manager (BPM User) added in the role through Workspace. At run time, a request (With department info) with go through the approval by ApprovalTeam. A Business Rule Activity with decide which department manager will approve this request. Different department request will be dispatched dedicate managers, not all the managers in the role. I have an external JavaBean to get the department information from LDAP. To do the routing, I also need know all the department managers (BPM User) in the ApprovalTeam role. Then I can compare which department manager is matched with the request and assign the task to him.
    Thanks a lot,
    James
    Edited by: James Piao on May 31, 2010 6:25 PM

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

  • 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.

Maybe you are looking for

  • How can i use MS Word 2013 Templete in MS office 2010

    I have a situation where I have to able to give the Word templete  to the customer who is using MS Office  2010 as well as 2013. Now i have created a word templete (added schema reference from xml Mapping menu) using  MS office 2013.When i try to do

  • My embedded video is not playing in my pdf.

    I used the multimedia fonction to insert a video in my pdf but I'm not able to play it after. It's just a grey windows. I've tried differents format and videos in different pdf and also tried few different advanced settings.  What I'm doing wrong?  T

  • Such thing as a ZIP application for our intels ???

    I'm just starting the path of working with a Moodle, the Moodle program is downloaded to a host server I have...but, in general...sharing with others, do our systems have something equivalent to a ZIP application to compress a very large file such as

  • Apps are froze in waiting mode

    updated iphone 4S apps are frozen jn waiting mode andhave been for over 8 hours

  • I am unable to attend calls even when the network is full!

    I am using Pure Sola v2 Custom Rom.Network signal is great but i can neither attend calls nor can call to a number.Most of the time I have to try 6 or 7 times in order to make a successful call. My SIM works fine on other cellphones.No such issue..Th