Assigning Participants in Human task

we can assign participants from JAZN or an LDAP server, and I want to ask can we assign participants from the existed Database?
Thanks
Jayson

Hi Jayson,
One possibility would be to implement a custom JAAS provider, see the Oracle® Containers for J2EE Security Guide at http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28957/toc.htm and implement this functionality yourself. However I don't know if this is technically feasible and even more, if you really want to do this (technically difficult, implementation over configuration, more maintenance, etc.). But maybe there are other possibilities than implementing this yourself. I would certainly consider using OID and possibly migrate DB authentication/authorization to OID. We use OID in our current project and it works smoothly.
Regards, Ronald

Similar Messages

  • Assign the next human task to the specific participant??

    If my process has two swam, the first swan has a Script Task, and the second swan has a human task. If I want the script task to update the participant for the next human task who will belong to the role, how can I do it? Can I do it on the over the xpath? Because each human task should belong to one of the specific people in the role to handle, I don't want to show it to all people who belong to same role in the workspace.

    In BPM 11g you can use xpath expression to assign users, groups, or roles. See this section in the docs:
    http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10224/bp_hwfmodel.htm#BABGCCJA

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

  • Human Task allocation in 11g

    Hi,
    The Human task defined in BPEL process through the jdev in 10g had an option to edit the task definition, wherein one could change the allocation of task. But this option is not to be seen in 11g jdev editor. The task definition seems to be read only with an option to edit the task rather then change the task allocation. Is there a way to achieve this in 11g ?
    Thanks.

    Hi,
    Thank for the prompt reply, this seems to be a tedious job, all the more painful in case if you have an application been migrated from 10g to 11g. We have this application which has 12 different groups to be assigned across numerous human task. When this application was migrated from 10g to 11g through the jdev, all the human task by default got allocated to one group. In the absence of reassignments, deleting these human task and recreating with new assignments is final option, but considering the numerous human task this would be a really agonizing task. Is there any other alternate option available.

  • Human Task expiration containing Task History from another Human Task

    Hi All,
    Let me explain you my complete workflow in brief.
    I have 8 Human Tasks and all are sharing Task history. My each individual Human task are in Scope activity. In my payload I have a variable "strExpiryDuration" and I am setting its value in an Assign activity before my last human task. I have assigned this variable "strExpiryDuration" in the expiry duration of my last human task definition. For the reference I am giving the value as "*P0DT1M*". But it is not expiring my last human task at all. I doubt it may be because task history which I am sharing in my human tasks is overwriting the payload values and thats why the value of strExpiryDuration is not setting up in task definition.
    I checked by assigning the same variable strExpiryDuration to some other value ("*P3DT1M*") and assigning it to my first human task definition. In this case, whenever the workflow is assigned to my last human task it is also showing Expiry date as of after 3 days. What is the issue here? Please help.
    Regards,
    Murtaza
    Email:
    murtaza.ghodawala @ alshaya.com
    Edited by: user8977605 on Apr 21, 2011 6:48 AM

    I have found the solution to this generic problem. Whenever you have a human task sharing task history in your workflow, you need to ensure that the changed/modified payload value is assigned to the human tasks properly. In most of the cases, Task history sharing Human Task will override the payload values with the payload values of the previously executed human task in the workflow.
    For that the fix is as below:
    1. Expand the Human Task.
    2. In the Assign activity, write a copy operation in which copy the changed individual payload variable to the payload variable of the Human task whose task history we are sharing.
    For e.g.
    <copy>
    <from variable="inputVariable"
    part="payload"
    query="/client:TravelRequestProcessRequest/client:ExpiryDays"/>
    <to variable="ApprovalsTask_1_globalVariable"
    part="payload"
    query="/task:task/task:payload//client:TravelRequestProcessRequest/client:ExpiryDays"/>
    </copy>
    3. Make this copy operation as the first operation in the Assign Activity.
    I hope this solution will help you to resolve your issues.
    Regards,
    Murtaza Ghodawala
    Email:
    [email protected]
    Edited by: user8977605 on Apr 24, 2011 12:53 AM

  • Accessing output variables from human task

    Hi,
    I added a human task in my process (jdev 10.1.3) and set up a parameter to be an input field in the jsp. However, I could not find a way to copy the value from this particular variable even though this parameter is a child of payload. Do I have to define the query manually or did I miss something?
    Thank you for advice,
    Mirco

    Ok, I crosschecked the examples and it seems, that there is indeed an example for what I am looking for. In the LoanPlusDemo there is a StarLoan process and that contains the following assignment following a human task:
    <sequence id="BpSeq3" >
    <assign id="BpAss4" >
    <copy>
    <from variable="LoanApproval_globalVariable" part="payload" query="/task:task/task:payload/auto:loan"/>
    <to variable="loan" query="/auto:loan"/>
    </copy>
    </assign>
    </sequence>
    Now considering the input structure:
    <task>
    <title>Loan application for</title>
    <payload>
         <loan>
         <loanApplication>
    <ns1:SSN>123222</ns1:SSN>
    <ns1:email>[email protected]</ns1:email>
    <ns1:customerName/>
    <ns1:loanAmount/>
    <ns1:carModel/>
    <ns1:carYear/>
    <ns1:creditRating/>
    </loanApplication>

         <loanOffer>
    <providerName>Star Loan</providerName>
    <selected>false</selected>
    <approved>false</approved>
    <APR>47</APR>
    </loanOffer>
    </loan>
    </payload>
    How do you know how exactly to create the copy rules? JDev does not support this, that much was answered before. I would absolutely appreciate if someone could
    1. Tell me something about the namespaces in the copy rules e.g. why is it /auto:loan and not just /loan?
    2. An example on how to create such things.
    One of the two might be sufficient.
    Thank you.
    Hinrich
    Message was edited by:
    punkrock77

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

  • SOA/BPM/Human Tasks 11g -- add new task participant through Workflow API

    Heya folks. Got a question that's been driving me nuts, hope you can help.
    I have a bunch of Human Tasks in a BPMN process. Each task is pretty simple -- for assignment a single stage only; parallel approval; list of participants is passed in -- via the task payload -- as a comma-delimited list. When the task is initiated it produces a root task, and one child task for each participant. So, say we have participants "fgolfer,atreyvaud" we get three task objects: the "master" or root task and one each for fgolfer and atreyvaud.
    Now what I want to do is add another approver (let's say "gfrog") -- i.e. create a new task for gfrog which is a child of the master task and leaves the tasks for fgolfer and atreyvaud as they are. As far as I can figure, this is NOT a Reassign nor an Ad-Hoc Route. Applying either of those to an existing task effectively removes the existing user from the task and assigns it to the new user.
    On another track, if I programmatically create a new task (with initiateTask() from the Task service, using the values from an existing task), I seem to get a NEW master task with attendant child tasks, while leaving the existing master task and children.
    Make sense? Neither of these outcomes is what I want.
    Seems like this should be pretty simple but for the life of me I can't figure it out. I could create an FYI task or a todo task or a subtask but again this isn't what I want -- need to create a task with all the custom outcomes and such.

    In case folks are playing along at home, I've yet to find a solution for this. Because I need to move forward with my project, I've decided I can't do it through the Workflow API and I'm taking a different route -- basically, triggering a custom task outcome which returns to the same Human Task in the BPMN flow, thus starting the task again. Before doing that I update the task's payload, which contains the task assignees.
    I'm not happy with this, it seems like a nasty hack to overcome a limitation with the Workflow API.
    Understand, though, I'm not saying this is impossible through the Workflow API, just that I haven't found a way to do it. I've spent 2-3 person weeks on this and it's time to move on.

  • 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

  • Human task Parellel participant issue

    Hi all,
    I am new to SOA BPEL. I have made a process with Human Task. In human task I have used parallel participant option.  One to "Manager" and second to a group "ABC"
    Now once it execute I am getting the workitem assigned to both the participant. But my requirement is once any of the participant "APPROVE" or "REJECT" I want to flow to move ahead and end.
    What is happening as of now is If I approve as a manager still my full workflow waiting somebody from the group "ABC" to respond and then only it is going to END.
    Can anybody tell me what would be the configuration or way to achieve this?
    Thanks in advance.

    What happened when 'ABC' group user approve or reject?
    Also have you configured the option for percentage of outcomes i.e. you can set the percentage of particular outcome if that condition of percentage met the workflow will continue other wise it will wait. By default it is set 50% for any of the outcomes that mean when 50% percent of outcome done out of total assignment the workflow will continue.
    Regards,
    Anshul

  • Human tasks, complex types and variable assignment.

    Hi folks,
    I encountered a problem while working with 10.1.3.1 which I haven't managed to solve yet and would be grateful for assistance. I have defined a complex data type (just a sequence of strings) and want to fill that data type by going through a flow of screens, e.g. through several human tasks. I have defined that type as a variable to the BPEL process and have managed to assign simple expressions to the variable and pass that into a Human Task. In the task I see now a simple input form for all attributes of the type.
    Now the problem. After I fill out the form and complete the human task, I have
    The global variable:
    <outputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                   <vorname/>
                   <nachname/>
                   <strasse/>
                   <nummer/>
                   <postleitzahl/>
                   <stadt/>
                   <maximaleDauer/>
                   <minimaleDauer/>
              </MyProcessResponse>
         </part>
    </outputVariable>
    and the return value from the human task:
    <task>
         <title>CaptureData</title>-
              <payload>
                   <MyProcessResponse>
                        <vorname>David</vorname>
                        <nachname>Beckham</nachname>
                        <strasse>HighStreet</strasse>
                        <nummer/>
                        <postleitzahl/>
                        <stadt/>
                        <maximaleDauer/>
                        <minimaleDauer/>
                   </MyProcessResponse>
              </payload>
    </task>
    Now the only thing I would like to do is to replace the original values in the variable with the new values that have been returned from the task, this should be performed in an extra assign step. Sounds simple. JDeveloper wouldn't even let me klick through the return value from the HumanTask, so it seems as if I have to do things manually.
    These are my tries:
    Command 1:
    <copy>
         <from variable="CaptureData_1_globalVariable"
    part="payload" query="/task:task/task:payload" />
    <to variable="outputVariable" part="payload"
    query="/ns1:MyProcessResponse"/>
    </copy>
    Result 1:
    <outputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <ns0:MyProcessResponse xmlns="http://xmlns.oracle.com/bpel/workflow/task"     xmlns:ns0="http://xmlns.oracle.com/VacationRequest">
                   <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                        <vorname>David</vorname>
                        <nachname>Beckham</nachname>
                        <strasse>HighStreet</strasse>
                        <nummer/>
                        <postleitzahl/>
                        <stadt/>
                        <maximaleDauer/>
                        <minimaleDauer/>
                   </MyProcessResponse>
              </ns0:MyProcessResponse>
         </part>
    </outputVariable>
    --> There is one MyProcessResponse element too many
    Command 2:
    <copy>
         <from variable="CaptureData_1_globalVariable"
    part="payload" query="/task:task/task:payload"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:MyProcessResponse/ns1:vorname"/>
    </copy>
    Result 2:
    <outputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                   <ns0:vorname xmlns="http://xmlns.oracle.com/bpel/workflow/task"                     xmlns:ns0="http://xmlns.oracle.com/VacationRequest">
                        <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                             <vorname>David</vorname>
                             <nachname>Beckham</nachname>
                             <strasse>HighStreet</strasse>
                             <nummer/>
                             <postleitzahl/>
                             <stadt/>
                             <maximaleDauer/>
                             <minimaleDauer/>
                        </MyProcessResponse>
                   </ns0:vorname>
                   <nachname/>
                   <strasse/>
                   <nummer/>
                   <postleitzahl/>
                   <stadt/>
                   <maximaleDauer/>
                   <minimaleDauer/>
              </MyProcessResponse>
         </part>
    </outputVariable>
    --> This was moreless expected, since I tried to copy the stuff to some wrong place.
    Command 3:
    <copy>
         <from variable="CaptureData_1_globalVariable"
    part="payload" query="/task:task/task:payload/ns0:MyProcessResponse"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:MyProcessResponse"/>
    </copy>
    Result 3:
    --> Task does't return (!!!). In the BPEL Worklist, the task is completed, however in the BPEL console it still apears as "waiting to return from Human task".
    Does anyone have a hint on how to copy the values so that I get exactly the structure that I printed at the very top?
    Thanks for help. Rock On !

    Hello everyone,
    It seems that we are talking about different things, I am afraid. Let me describe the scenario once again:
    - I want to have a BPEL process with more than one role involved
    - This process should be used to gather some complex data.
    - All data gathering should be done through HumanTasks.
    So I defined an xsd complex type, that contains a sequence of fields. This complex type should be part of the process payload.
    Now before HumanTask 1 is called, I copy the contents of this variable into the input for tasks1. This works fine and I see the appropriate values, when opening the Human Task in the BPEL worklist application.
    Now after HumanTask1 is completed, the values I entered inside that tasks are returned as a variable from the HumanTask. My problem is, that I cannot copy the contents of the task back into the main process. With simpleTypes this is relatively ok, since Jdev supports the assembling of the copy operation, however for complex tasks it fails.
    A typical scenario for this would be where e.g. a customer fills a shipping address and afterwards a store staff fills product details in the same order. In Java this could be solved via "pass by reference". Who can provide an example?

  • Human Task: how to get the participant name in the task form?

    HI All,
    I am using SOA Suite 11.1.1.6 in the current project. For a human task, there are multiple participating groups. For each participant, the payload is different. Currently, we are calling Human Task multiple times to pass the payload. However, I like to take advantage of new features in 11g Human task. I like to setup multiple groups as parallel. Then, jsf page can selective display corresponding parts of the payload for different partidipants. The problem is how JSF can get the name of the participant when page is invoked?
    Thanks in advance,
    Steven

    Hi,
    Variants are stored in table VARI and VARID.
    You can use RS_ALL_VARIANTS_4_1_REPORT to get all the variants for a report program.
    please check out the link below it will be helpful to you
    Re: Programs for a transaction variant
    Hope this helps.
    ashish

  • Human task assignment for users in Group1 and Role1

    Is there a way to make a Human Task assignment in Oracle SOA Suite BPM 11g for all the users in Group1 who has the Role1 role?.
    I don't want to assign the task to all the Group1's users plus all the Rrrole1's users. I only need the users who belong to both: Group1 and has Role1, but I don't know how to configure this in the HumanTask.
    Edited by: alfredozn on Feb 23, 2011 10:04 AM
    Edited by: alfredozn on Feb 23, 2011 10:06 AM

    repost.

  • How to change Human Task state from "Completed" back to "Assigned"

    I am working with human task through BPEL Worklist API
    There is Human Task with state “completed”. We need to change the state back to “Assigned”
    In other words or get this task with “Assigned” state or get exactly the same task with the same number (that I can use as int parameter in ITaskQueryService.getTaskDetailsByNumber method invocation) .
    Is it possible?
    I tried to use ITaskService methods but without results.
    Thanks.

    Hi ,
    This request sits in table RSBKREQUEST with processing type as 2 in data elements USTATE, TSTATE and this 2 is actually "Processed Successfully" status which is obviously wrong.
    All we need is, ask your basis person to change the status to 3 in both these data elements.Then you can delete the previous bad request . Once the request is deleted, the request status gets updated as "4" in table RSBKREQUEST.
    For manually status change you can use the function  module RSBM_GUI_CHANGE_USTATE
    Hope this helps you...
    Regards,
    Debjani...

  • Error in Dynamic Human Task Assignment

    Hi,
    I am trying to assign task dynamically using Xpath but i keep getting error when i deploy & run the BPEL process.
    I tried using orcl:create-nodeset-from-delimited-string(') but it returns the error
    "Error while processing xpath expression, the reason is message can't be null.
    Please verify the xpath query."
    I tried using Qname as 'task:assignee' as well as '/task:task/task:systemAttributes/task:assigneeUsers/task:id' but it returns the same error!
    I would really appreciate if someone can tell me how can I assign user dynamically!

    The trick is that the user id to which you will assign the task should be present somewhere within your payload. When editing the task file, the dynamic user xpath expression you enter should be pointing to this element which contains the user id. That's all indeed.
    By the way, "message can't be null" error may occur if you are not setting the payload instance correctly. You specify the message or element types for the payload while editing the task file, however you should specify real object instances for the payload elements in the dialog box which opens when you double click the human task activity in the BPEL diagram.
    Hope this helps..
    Serkan

Maybe you are looking for

  • IPhoto library won't open

    My iPhoto library on my new Macbook Pro suddenly won't open.  When I open up iPhoto, it now takes me to a screen that says "which photo library do you want iPhoto to use".  There are no options.  I then click on "other library", and I can see my iPho

  • HT2506 PDF issues

    Since installing Adobe, I have had trouble with my IMac opening PDF files.  Any ideas?

  • Skydrive music won't copy to itunes media in windows 8.1

    I am using Itunes 11.1.3.8 and Windows 8.1 This new version of windows skydrive keeps the files on the cloud. I have set itunes to copy music to its own local folder. So, when I add folder to itunes, I thought it would locate the skydrive music and d

  • Subtle Window Manager Blocks All keyboard Input?

    So I'm trying to use subtle on a headless server box of mine over a tightvnc server. Yet for some reason all keyboard input is blocked. If I'm using twm instead, everything works fine. ~/.vnc/xstartup #!/bin/sh export XKL_XMODMAP_DISABLE=1 xrdb $HOME

  • Installing Time Machine on Time Capsule

    It seems I have made a huge mistake in buying a Time Capsule. I managed to get a copy of my MacBook Pro Lion OS on the TC via ethernet cable between both. However, afterwards it was not possible to see the disk in the Time Machine. After setting up a