Adding Comments in BPM 11g on Human task

Hi
Whenever i am adding comments on bpm human task,I am getting the following error when i submit the form.
"Workflow Service Engine callback to SOA mesh failed.Callback operation ontaskcompleted from default/BPMProject!1.0/ApproveTask to Process/HumanTasks.ApproveTask.reference failed with error:Schema validation failed for message part payload.Please ensure at the message sender level that the data sent is schema compliant.Invalid text ' in element:type.Check the underlying exception.Ensure that the SOA composite is configure correctly."
But if i try to submit the human task without adding comments it works fine.
Please tell me what am i missing here.
Regards....

hi
any inputs...Urgent
Regards...

Similar Messages

  • Unable to deploy BPM projects with human tasks from BPC

    I’m trying to edit and deploy a BPM process from Business Process Composer (web based tool). To do it, I followed the steps below:
    1.     I created I project in JDeveloper
    2.     I created the Human task from using the “Auto-generate task form” option
    3.     I converted it to a template
    4.     I published it to BPM MDS
    5.     On Business Process Composer I created I new project based on my published template
    6.     And I finally I deployed it with no errors.
    When I ran the BPM it creates I human task but I’m not able to access its form on Business Process Workspace.
    On Business Process Workspace I can see the task created by my BPM process, but when I click on it to access its form I get a 404 message (message below).
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    I think this error occur because my Task form project was not deployed. To fix it I undeployed all the applications and then I deployed the BPM application with all its tasks forms from JDeveloper. It worked fine (I can actually access the task form on Business Process Workspace), but now I’m not able to edit the BPM process on Business Process Composer anymore.
    Then I finally repeated the steps 3 to 6 on top of this post in order to make the BMP process editable on Business Process Workspace but this time I receive the error at the end of this post taken from server log.
    No matters if I publish the project on MDS BMP repository as a template project or as non template project. I always have the same problem.
    So, how can I use a BPM project that contains Human Tasks forms on Business Process Composer?
    I’m using:
    •     JDevelopper: 11.1.1.5
    •     Oracle Soa Suite 11.1.1.5
    Error:
    <Error> <ServletContext-/soa-infra> <AUSDCCMTPRF03> <soa_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <daba687c30fc2ae1:5f5821e2:131915bbc92:-8000-000000000001c442> <1312478914395> <BEA-000000> <Error during deployment
    oracle.fabric.common.FabricException: Deployment Failed: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
         at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:62)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:378)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:226)
    Caused By: oracle.fabric.common.FabricException: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:244)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
    Caused By: oracle.fabric.common.FabricDeploymentException: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    {rootCauses=[]}
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:908)
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:368)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:239)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.

    I came across the same issue, and now resolved it like this.
    Firstly, you shouldn't deploy QuoteProcessLab with other UILabs like ApproveDealUILab and so on. So, if you already did it, then go to Weblogic EM and undeploy it.
    Secondly, you should deploy each of UILab separately as standalone application. So, deploy EnterQuiteUILab, BUsinessPracticesUILab, and so on each. These will run independently behind and when your project created based on template in the Composer runs, it will link each of these on human task.
    Thirdly, publish you QuoteProcessLab. And follow the book about how to create a project based on template in the Composer.
    Just one thing you should be careful with is, when you do auto-generation for human task, it sometimes doesn't work fully, unfinished halfway through. So, make sure that the icon 'go to existing business form taskflow' in .task file takes you to the human taskflow.
    If it fails, do another auto-generation. Sometimes DataBindings.cpx can get corrupted by JDev, but let's not go too far for now.
    Mostly, it will work.
    Sung

  • BPM 11g: problem initiate task from API

    Hi all,
    First of all, i have deployed a BPM process and his initiator task is a human task implementation. Then the user can click on it in teh workspace and they are redirect to my J2EE aplication, in wich i want throw a new instance of my process when the user complete the form data.
    I'm do know how to implement it, and i trying two ways:
    one: initiate a process instance with oracle.bpm.service. package the the server give me this error:
    http://kr.forums.oracle.com/forums/thread.jspa?messageID=9244238
    java.io.InvalidClassException: oracle.bpel.services.workflow.verification.impl.WorkflowContext; local class incompatible: stream classdesc serialVersionUID = 3642712178109525089, local class serialVersionUID = 1
    two: initiate a new task programmatically, is it wright? a new task of my human initiator task from java is that i need for create a BPM Process? i don't know, becouse i get this other error:
    http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bp_worklistcust.htm#CIHEAFBB
    WSM-09004 Component auditing cannot be initialized
    any ideas? thank you very much in advance, and sorry for my poor english.

    I hope you have got the solution for this problem.
    will you please share the solution. as I am also facing the same...
    Thanks

  • Update an ADF Task Flow based on Human Task

    Hello friends,
    I'm working on Oracle BPM Suite 11g. So, I created a process including its human tasks. Later, I created a Task Flow based in the human task that I setup before. Now I added a new parameter to the human task and I need to update the task flow because (of course) it only contains the payload of the previous configuration.
    Can I do that? What can be the solution?
    Regards....
    AYVR

    It's covered in docs here: http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_designtf.htm#BDCDFBCB
    Note that this only updates the control. You'll have to now drag those new payload properties onto the form. If you had removed any properties you'd need to remove those from the form.
    You should also do a refresh of the window that contains the data controls. Sometimes that's necessary to see the changes.

  • Fault/Error Handling in Human Task

    Hi,
    We are using Oracle BPM 11.1.1.3.
    1. I create "synchronous" BPM process containing Human Task. Is synchronous process containing Human Task correct? When I invoke this process through EM console, it hangs, i.e. I can not interact with EM console any more. I think the reason is, Human Task activity when executed expects human interaction. I am correct?
    2. I create "asynchronous" BPM process containing Human Task. I invoke it and it runs properly. I login to workspace and work on task.
    My main question is: "Asynchronous" process executes Human Task and waits for Human Interaction. My process is invoked by Java. How will calling Java code know if execution was successful? If any fault/error occurs how can I notify? How will I notify calling Java code if human task encountered any error?
    Please let me know if my question is not clear.
    Many Thanks.

    Hi Anirudh,
    Thanks for quick reply.
    I have a requirement where based on certain condition i need to update the task and reassign it.
    There is a batch that runs and performs the task. While doing so i dont have any info as to whom
    the task is assigned.
    So i am using bpeladmin to perform the task.
    If task is assigned to user and i try to update the task using bpeladmin then am able to do so.
    But if the task is assigned to Group i am getting the error. If task is assigned to user, i am able to
    acquire the task but not able to update the task.
    While updation it shows the task has been acquired by some other user.
    Is there any other way by which i can implement the same ?
    Regards,
    Bhavik

  • BPM 11G comments and file attachments issue on human tasks

    Hi all,
    We have used JDeveloper 11G and SOA suite 11G + BPM (with PS1,PS2) to create and deploy a simple BPM process. The process consists of two swim-lanes ( Business Analyst and Snr Executive). The BA swim-lane has a human task which which initiates the process and the second swim-lane (SE) has a voting task. Both forms were auto generated.
    ------ Process steps ----
    step 1. The initiator of the process( Business analyst) submits a document and adds comments on the form. (1st swim lane)
    step 2. The task is received by the Snr Executive group and they need to accept or reject the document.
    step 3. If any of the Snr Execs rejects the document, the process flow goes back to the Business analyst(the requester or initiator) for review.
    (the voting group is able to share comments and the file attachments).
    step 4. The business analyst receives a task on her list. This task list should have the comments made by the Snr Execs who rejected the document. ---This is where we are having a problem. The business Analyst, receives the task, but the document and comments are not updated. This still shows the original document and comments, she sent when initiating the process.
    We have opened a SR with My Oracle support and it was suggested we apply a hot fix 9958661, which was done (see output below). Unfortunately this did not solve the problem.
    Questions:
    1. Is the default behavior of BPM 11G ?
    2. How can we change this behavior to do what we want ?
    ---------------------------------------opatch update output -----------------------------------------------------------
    ApplySession adding interim patch '9958661' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 9958661 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 9958661 are present in Oracle Home.
    The local system has been patched and can be restarted
    I any suggestions would be welcome.
    Thanks
    Mocheche

    Ok, this is what i did:
    - I have a Process Data Object called CustomComments with just 1 attribute called comments.
    - I have added that object to my user screens (adf page)
    - Changed its columns att to 65 and rows to 8 (i chose that layout)
    - Used a tableLayout to add an icon next to this text area to allow the user to add comments:
    <af:commandImageLink shortDesc="addCommentImage" id="addCommentImage" partialSubmit="true" icon="/hw_images/new_ena.png">
         <af:clientListener method="myFunction" type="click"/>
         <af:clientAttribute name="attributeName" value="attributeValue"/>
    </af:commandImageLink>
    I use that clientAttribute to send the logged user to the javascipt.
    - I added this after the af:document on top of the page to make the customComments readonly to the user (you need to do it here because if you set it in the properties the element is not updated later), so the user has to use the button i put to add comments:
    <f:facet name="metaContainer">
         <f:facet name="metaContainer">
         <af:resource type="javascript">
              function readOnly(){
                   var comms = document.getElementById("it1::content");
                   comms.setAttribute("readOnly","true")
         </af:resource>
    </f:facet>
    <af:clientListener method="readOnly" type="load"/>
    - Somewhere i added the javascript the commandLink calls:
    <trh:script id="myScripts">
         function addComment(evt){
              var commentArea = document.getElementById("it1::content");
    var user = evt.getSource().getProperty("user");
    var comm = prompt("Please enter your comment: ","");
              if (comm != null) {
                   if (comm != ""){
                        if (commentArea.value !=""){commentArea.value = commentArea.value + "\n"}
                        commentArea.value = commentArea.value + "user.value" + " : " + comm;
    </trh:script>
    After all this, you have an object that carries the comments from one screen (UI project) to another and is updated each time.
    I know it may not be the perfect solution and that it could be improved a lot, but so far it does what i need so i use it.
    If there is anything i wasnt clear enough, please let me know. Hope this helps.

  • Hide ADF components in email notification Human Task BPM 11g

    How can I hide ADF components in email notification?
    I what to hide some buttons and comments section.
    I'm using BPM 11g 11.1.1.6
    Thanks everybody.

    Hi Frank,
    Just wanted to know if someone has already tried a usecase similar to this as it also involves ADF DI. :)
    Posted in SOA Suite forum : ADF DI integration with SOA Human Task
    Thanks,
    Anoop
    Edited by: Anoop Kumar Shukla on Jan 29, 2013 2:32 AM

  • Display the status of parallel human tasks in ADF web page (BPM 11g)

    Hi,
    We create a BPMN process (BPM 11g) which splits into parallel branches. Each branch has its own user activity. We want to show the task status of ALL the parallel user activities (running or completed) in the ADF web page implemented for the user activity so the user would have the whole picture of the process.
    In another words, we are able to check the status of the component instances associated with the process instance in the Oracle EM. We want to provide the similar information (in our case, we only want to show the status of the human task components) to the user when they access the human task page.
    I wonder if the only solution is to write Java code with the API to lookup the BPMN process instance. We try to avoid Java coding if possible. Please advise. Also, so far, I have not found any complete instruction/document on how to access the BPMN process instance and check the tasks etc. through the API. Please help if you know where I could get such information.
    Thanks a lot,
    Helen

    sorry!!
    http://www.esnips.com/doc/dca05e99-d5ca-49ce-80c8-5bedfe27a24a/screenshot-2

  • BPM 11g - Human task not removed when interrupting boundary event fired

    In BPM 11g (11.1.1.1.3), I am testing a message catch event on the boundary of a human task. It is set for interrupting, so it should, when the event fires, remove the human task from the work list and follow the flow out of the event. The event flow is being followed, but the human task is being left active in the user's work list. I would expect the human task to be removed when the interrupting boundary message event occurs.
    I think this is a bug, but would welcome any suggestions on how to solve it. Does anyone know if this works in the latest release (11.1.1.1.4)? We might upgrade pretty soon. Has anyone else tried boundary message events and gotten them to work properly in BPM 11g?
    Just FYI....in order to make the BPM message event occur and provide instance correlation, we had to add a mediator and BPEL correlation. We followed process documented in a previous post to do this (http://blog.andrade.inf.br/2011/01/implementing-correlation-in-bpm-11gr1.html). Thanks to whomever posted that...it got us a few steps further along!

    I do not think this is bug based on
    Oracle® Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management
    23.1.1 Understanding the Relationship Between SOA Composites and SOA Components
    "In a similar way, when an interrupting timer or message boundary event arrives to a user task, the BPMN process instance leaves the user task but the associated Human Task remains available. Because the interrupting timer or message boundary event arrived before the user completes the user task, the human task remains unfinished, and you can still access it thought the Worklist application. However running that human task does not have any effect on the BPMN process."
    This also gives us big trouble. I am looking for the solution.
    Helen

  • BPM 11g deployment error when include Human Task

    During deployment, when I include a Human Task in my BPM 11g project, the deployment fails.  The error message in JDeveloper is:
    Weblogic Server Exception: weblogic.application.ModuleException:
    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: [unixODBC][Driver Manager]Data source name not found, and no default driver specified
    If I don't include the Human Task application in deployment, it's fine.  I used the Auto Create feature to generate the ADF project/form.  I've deleted and recreated the Human Task, but that hasn't helped.
    What can cause this error?  I've googled for days, but have not found anything similar.

    Kunwar - Thank you very much for your reply.  I checked in EM under Applications, and there is no application with the name of my Human Task application that is part of my BPM project.  To be sure, I just rebooted the server and checked again, but it is not there, and the reboot did not solve the problem.
    I'm not sure if this is related to the problem, but here is some other information.  A few days ago when I tried to redeploy just the BPM project (keeping save revision, and checking "Overwrite any existing composites"), I received a null pointer exception error.  Since then, I must Undeploy the BPM Application using EM to then redeploy it using JDeveloper.  Here is the error I was getting:
    [08:03:59 AM] Sending archive - sca_PERAC91A_rev1.0.jar
    [08:04:07 AM] Received HTTP response from the server, response code=500
    [08:04:07 AM] Error deploying archive sca_PERAC91A_rev1.0.jar to partition "default" on server AdminServer [http://soabpm-vm:7001]
    [08:04:07 AM] HTTP error code returned [500]
    [08:04:07 AM] Error message from server:
    There was an error deploying the composite on AdminServer: Error occurred during deployment of component: PERAC91A to service engine: implementation.bpmn, for composite: PERAC91A: java.lang.NullPointerException.
    [08:04:07 AM] Check server log for more details.
    [08:04:07 AM] Error deploying archive sca_PERAC91A_rev1.0.jar to partition "default" on server AdminServer [http://soabpm-vm:7001]
    [08:04:07 AM] ####  Deployment incomplete.  ####
    [08:04:07 AM] Error deploying archive file:/D:/Data/consulting/AllStar/PERAC/Dev/JDeveloper/PERAC91A/PERAC91A/deploy/sca_PERAC91A_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

  • Custom Escalation in Human Task in Oracle SOA BPM 11g

    This is a sample that demonstrates custom escalation in Human Task in Oracle SOA BPM 11g.
    package oracle.bpel.services.workflow.assignment.dynamic.patterns;
    import java.util.Map;
    import oracle.bpel.services.workflow.assignment.dynamic.DynamicAssignmentException;
    import oracle.bpel.services.workflow.assignment.dynamic.IDynamicTaskEscalationFunction;
    import oracle.bpel.services.workflow.task.impl.WorkflowUtil;
    import oracle.bpel.services.workflow.task.model.Task;
    import oracle.tip.pc.services.identity.LocalIdentityService;
    public class CustomEscalation implements IDynamicTaskEscalationFunction {
    public CustomEscalation() {
    super();
    public String getTaskEscalationUser(Task task) throws DynamicAssignmentException {
    String currentAssignee;
    try
    currentAssignee = WorkflowUtil.getCurrentAssignee(task);
    return getTaskEscalationUser(currentAssignee);
    } catch (Exception e) {
    throw new DynamicAssignmentException(e);
    public String getTaskEscalationUser(String user) throws DynamicAssignmentException {
    try
    if (user == null)
    return null;
    String manager = null;
              * Replace below code with your acutal logic.
    // if( user.equalsIgnoreCase("john")){
    // manager="jcooper" ;
    return manager;
    } catch (Exception e) {
    throw new DynamicAssignmentException(e);
    public void setInitParams(Map map) {
    public String getFunctionName() {
    return "CUSTOM_ESCALATION";
    public String getDescription() {
    return "Custom Escalation";
    Please refer below link to register above custom escalation class on SOA Server.
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_hwfmodel.htm
    regards.

    Thanks for your reply and confirmation, really appreciate it.
    Yes, I found the difference of the invoking process API and was able to invoke bpel process using direct and ADF-BC binding by following Edwin's blog. But I have not found any official reference to compare this API difference between 10g and 11g ( I will mark this question as answered if anyone can find an official source from oracle, need to prove it to the team). The API to work with human task workflow seems pretty much the same between 10g and 11g.

  • Advanced human task routing on Oracle Bpm Suite 11g.

    Hi
    Do Oracle Bpm Suite 11g human tasks have concept of advanced routing of tasks ? For example if we have three groups of people, each of these groups have skills defined. And when task is created then the skills required fulfill the task (could be defined in task metadata) is compared against the three groups. The task is then assigned to the work queue of the most fitting group ?
    So what I mean by this, is that you can specify rules which define which work queue (and multiple user can be assigned to the work queue) receives which tasks ?
    Thank you for answering and I will gladly give more details regarding this issue...
    Best Regards Tuomas Katva

    I must disagree a little... Human task's have been separated from process logic and I think it reasonable. I don't think that routing logic belongs to the business process, ofcourse this just semantics but I think it would make separation of concerns more apparent. If the human task - service/manager could determine the routing logic (to whom the task is assigned) based on the parameters it receives, it would then make clear separation of logic: business process would handle the overall control flow and the human task manager would handle the human task flow.
    What I'm asking is there some pattern or API or something that would allow for example skill based routing of task. I know that Bea Aqualogic had "parametrized roles" which allowed the task to be routed on runtime to a "dynamic role", and IBM has "Business categories" and "Workbaskets" which allows advanced routing of a task based on runtime properties. Let me give you an example:
    Let's say we have two skill categories:
    Language
    Claim type (for example in insurance)
    Applicant posts the claim and the insurance case is assessed by insurance handler. When the process flow comes to a human task it passes the claim's language and type of the claim to the human task manager. The human task manager would then determine who should handle this task. Let's say that Mike speaks spanish and has skills in car insurance claims. The human task manager would be responsible for determening that this task belongs to Mike (in case that the claim was in spanish and it was car insurance claim).
    Is there any patterns or examples how this should be handled. I know this quite like case management but I think modern BPM's should be able to handle case management.
    Thank you
    Best Regards Tuomas Katva

  • Filter database lookup based on human task (BPM 11g)

    Using BPM/SOA 11g PS3
    I have a business case where a field is pulling data from an external table and the user would like to filter the return based on the current step in the flow. For example:
    Database would return: A, B, C, D, E, F
    Human task 1 should show: A, B, C
    Human task 2: A, B, E, F
    Human task 3: C, D, E
    Human task 4: D, E, F
    Human task 5: E, F
    The BA would also like the ability to change this (if possible) without us having to redeploy. If I can avoid it, I don't want to hardcode these into the JSPX.
    Thoughts on how best to implement something like this?

    I was looking into using a business rule and using a decision table. I thought first, could I put the business rule in my task ADF...but then how do I know what task I am on, how do I pull that into my decision table?

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

  • Error in adding multiple attachments to Human Task in BPM

    Hi
    Hope you are doing fine.
    My version is 11.1.1.5 without Feature Pack.
    I have a scenario where I get a set of documents from UCM, and I have all of them in an array(of type GetFileByIDResult(UCM GetFile Webservice response type)).
    Please note that for a single attachment, I'm not getting this problem.
    I know that ExecData.Attachments[] takes array of Attachment types.
    But I could not create an Attachments[](array type) type data object, What I could create is of type '<>Attachments' which I thought was an array, but not, as it is not letting me associate to ExecData.attachments
    So, I've created a variable of type ExecData(say PDOExecData), used a script task, and did XSLT between the array and this new PDOExecData
    I've used for-each on the arrayOfUCMOutput, mapped the content, name, etc.
    And, now, in the human task association, I've assigned PDOExecData.attachments to Human Task's ExecData.attachments
    But I'm getting the following error
    XPath query string returns multiple nodes. The assign activity part and query bpmn:getDataObject('taskExecData2')/ns:attachment are returning multiple nodes. The assign activity part and query named in the error message returned multiple nodes. It should return single node. According to BPEL4WS specification 1.1 section 14.3, the assign activity part and query named in the error message should not return multiple nodes. Verify the part and xpath query named in the error message at line number -1 in the BPEL source.
    This means htat attachments take a single element, but it should take array of elements, and that is what is showin in the mapper file indicated by attachments[] in the ExecData
    Would you please help me in this regard.
    One possible solution could be, if I'm able to create an array of 'Attachment' type, I could map to it and finally map this var to ExecData.attachments, but how to create an array of a type in BusinessObjects/ProcessDataObjects
    Regards
    RaviKiran

    Resolved!
    Will write a blog and paste the link
    Regards
    RaviKiran

Maybe you are looking for

  • Simple question.

    I have a button labeled "call report" on my canvas. I am using forms 6i. How can I call a report? It does not have to have any parameters passed. The report already created is basicaly the result of a select query. Thanks!

  • Doesn't detect external monitor

    Hi, I'm trying to connect my Imac to my tv (sony) but when i connect o dont get the blue screen, it's like my imac doesnt detect the monitor, but on the tv the HDMI port becomes active, no picture or anything. I tried my Imac using my friends tv (sam

  • BAPI_ENTRYSHEET_CREATE returns "No service items selected"

    I was wondering if anybody could help. Does anybody have an example using BAPI_ENTRYSHEET_CREATE? I would appreciate it.

  • Cisco Work (LMS 2.6) Device Configuration

    Hi, Can anyone tell me where is the default location of device configuration ( Running conf ) saved in Cisco Work (LMS 2.6) Server. Thanks & Regds, Lalit

  • Export to MOV with embedded Movies -- sound erratic

    Help! I've trying to do too much with Keynote, I'm sure: I need to make a multi-media presentation with bg music, VO narration, standard Keynote transitions AND embedded movie clips -- then exported as a MOV file. When I do export it, and play the MO