Human Task and Exit Activity in parallel

Hi ,
I have a case where in Process1 there is a Human Task , and also there is an OnEvent (which is another operation on the same process1 wsdl) for terminating the process. This On Event contains only one activity namely "Exit".
I could see that when a terminate activity is triggered the process instance is getting terminated, however the Human Task still shows as active in the BPM.
Has anybody faced this ?
I am using the em console to test the Process and using the correlation to hit the correct instance which is happening.
Thanks.

Maybe I have to pass some variable to the other human task? But..., with my comments I don't pass any variable and it works...
Edited by: 876766 on Aug 15, 2011 1:39 PM

Similar Messages

  • How to retrieve a due date from a human task and create a report in BAM with it

    Hi.
    I'm working with a BPM process, the requirement is that I have a human task and a working hours limit to complete it. For this purpose I created a calendar in the bpm workspace and I've associated it to a role that executes that human task. Now I need to know how can I pass it into a data_object in BAM in order to create a Dashboard that lets me know whether a human task was completed just in time.
    I'm using Oracle SOA Suite 11.1.1.7.0
    Thank you.

    There's a correction to the code. For whatever reason doing it that way still sets it as a "remind me when" parameter. Use the following code instead:
    tell application "System Events" to set FrontAppName to name of first process where frontmost is true
    if FrontAppName is "Reminders" then
              tell application "Reminders"
                        set duedate to (current date) + (2 * days)
      make new reminder with properties {name:"New Reminder", due date:duedate}
              end tell
    else
              display dialog "failed to make new reminder!"
    end if

  • Payload on Human Task and Task Form

    Hi all,
    I have implemented a simple BPM process on Oracle BPM 11g suite, that it calls a human task activity. The payload, for this activity, is a Data Object (related to external XSD) and it is editable via worklist. The user interface for this Human Task implementation is generated automatically through Auto-Generate actions without any customization.
    The application has been deployed successfully from JDev, but when I open the task by Workspace, I see all fields of payload in read-only mode, so I cannot edit nothing in the task form.
    Please let me know what could be the problem.
    Thanks,
    Paolo

    Are you using ps2 (11.1.1.3)? There was an issue where initiator human task activities that had parameters that were complex types needed to have the Data Object initialized via a script activity, or the fields could not be edited in the task from.
    There's an example of how to use the script in the SalesQuoteDemo. Basically you use the oraext:parseXML() function to create an initialized version of the Data Object and assign it to the Data Object in a script activity that's placed before the Initiator Human Activity. It can also be used to set defaults if needed. Here's a snippet of the expression from the SalesQuoteDemo.
    oraext:parseXML('<ns1:QuoteRequest xmlns:ns1="http://www.mycompany.com/ns/salesquote"><ns1:Summary>....</ns1:Summary<ns1:QuoteRequestStatus/></ns1:QuoteRequest>')

  • Unable to create Human Task and Business Rule in JDeveloper

    Hello,
    I am unable to create Human Task or business rule in my JDev... am getting below error in Feedback tab.
    Previously reported error [NoSuchMethodError in o.mds.internal.dt.config.NamespaceConfigBuilder:397]
    And Below is the message log trace.
    Oct 15, 2012 12:58:51 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
    Oct 15, 2012 12:58:51 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
    Oct 15, 2012 12:58:51 PM oracle.jps.common
    WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: line 3 column 19.
    Any idea/suggestions would be greatly helpful.
    Thanks,
    Sudheer

    Its due to JDeveloper installation or cache issue...
    I uninstalled completely and installed again. I am able to create Human Task now. Maybe it helps someone.
    -Sudheer

  • Deploying EBF with a Human Task and Task Forms usingAIA Deployment Plan

    Hi All,
    I have a set of composites for an invoice interface - File Adapter, Req ABCS, EBS, Prov ABCS, DB Adapter, Resp EBS and an EBF. If my invoice doesnt go through due to some validation errors, I let the user edit the invoice using a Human Task called from my EBF.
    When I deploy the EBF from the jdeveloper, it deploys the Task Form as well, and they get deployed correctly. For the test and production instances, we use AID scripts, and they work fine for all the AIA components. I am looking for suggestions on how to deploy the Task form (ADF) linked to the Human Task of an AIA component.
    Thanks for the help.
    Regards
    Anish.

    Anish,
    tasks forms are not really different from other applications when it comes to deployment via an AIA deployment plan. There are some examples available for this in FP's own deployment plan, e.g. like this:
    <Application name="ActorNotNull_FYINull"
    filelocation="${AIA_HOME}/Infrastructure/Install/applications/ActorNotNull_FYINull.ear"
    wlserver="fp" failonerror="false" action="deploy"/>
    So these task forms can simply be deployed like any other ear, you just need to explicitly call it out in the deployment plan.
    Gerhard

  • Human Task and worklistapp

    Hi.
    SOA Suite 10.1.3.1.0
    If I create a blank BPEL process and add a human task (only modifications to the default settings is title and adding one assignee as username) the approval (or any outcome selection) of the task from the worklist application sometimes succeeds, but most of the time it fails.
    guess it has to be some kind of timeout issue... ?!
    any suggestions on this matter?
    tqx
    it actually says:
    An error occured while processing your request.
    An exception occurred during transaction completion: ; nested exception is: javax.transaction.RollbackException: Timed out.
    If you need more information, please check with your administrator with the following exception-identifier: "2007/10/12_07:48:02:921_wshake"
    Message was edited by:
    user598353

    did you create the bpel as asynchronous?

  • Taskflow based on human task and commons logging error

    Hi,
    Is the logging changed after the soa update. When I deploy the humantask taskflow to the soa-infra I got .the following error
    Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.)
         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
    I had to remove the commons logging library from the project and add this to the orion-application.xml

    I don't use log4j , I just created a fusion webapp where I add taskflow based on a human task that's it.
    If I remove the commons logging then deployment fails.

  • HUman Task and process variable

    Hi Experts,
    Can you tell me
    1)how to aceess the value of process variable
    2) calculate total number of human task assocciated with a process using API's in worklist.
    I am using BPM 11g,JDeveloper 11g
    Thanx in advance

    Hi Experts,
    Can you tell me
    1)how to aceess the value of process variable
    2) calculate total number of human task assocciated with a process using API's in worklist.
    I am using BPM 11g,JDeveloper 11g
    Thanx in advance

  • How to take human task values and store them in DB table

    Hi, I have a workflow and when I assign the task to someone I want to store some info in a database table that I created.
    I have checked the box allow task and routing customization in bpel call backs.
    And under the on Assign message, I put an assign bpel construct and an invoke.
    in the assign construct I am trying to copy some of the elements from my humantasks_globalvariables to certain columns in my database table.
    I have found out you can't copy them directly because the humantasks_globalvariables are of type string and my database columns are anonymous. So I tried using parseEscapedXML(), when I do this I get the error that
    oracle.fabric.common.xml.xpath.XPathFunctionException: parseXML() expects the argument to be either a string or an XML element.
    The humantasks_globalvariable I am using says it's of type string but it gives me this error.
    I am obviously doing something wrong. If anybody know how to take values from a human task and store them in a database table any help would be greatly appreciated.

    In the actual database the column types are varchar2. But when I drag an invoke from the bpel constructs I associate it with by DBadapter partner link and click the button automatically create input variables. It creates an xsd and this is what one of the elements looks like.
    <xs:element name="anyvalue">
        <xs:simpleType>
            <xs:restriction base="xs:string">
                 <xs:maxLength value="20"/>
            </xs:restriction>
        </xs:simpleType>
    </xs:element>When I do an assign and try to assign the values from the humantasks_globalvariables xsd there types look like this.
    task:title string
    and the input variable I automatically generated look like this.
    ns7:anyvalue <anonymous>

  • "Reassign" and "Adhoc Route" Actions in human tasks

    Has anyone run into oddities when using either the "Reassign" or "Adhoc Route" actions from within a task in the BPM workspace?
    When I try to re-assign to a different participant, it seems the assignment gets lost altogether. The task history section on the task form shows the particpant went from the user I was logged in as and performed the reassign action to a "blank" participant on the next row. The Action column next to the blank participant shows "System Update" and the updated by column shows the participant from the previous row.
    When I attempt to Adhoc Route, I select the participant to send to (via the search and moving them from the LHS to RHS of the shuttle widget) and add my comment - but when I click OK it doesn't go anywhere. The screen updates and the task history shows a new row indicating a comment was added, but not the adhoc routing assignment. It just stays in the current assignment as if nothing changed except the comment.

    It also seems that the "Edit Routing Slip" option isn't functioning properly. If you go into a human task and click the "edit" pencil next to the "Task will go from starting to final participant" and check "Allow participants to edit new participants" then when you view the task within workspace the routing slip within the "History" section will appear with buttons to add/remove/edit rows in addition to an "Apply" and "Reset" button. However the add/remove/edit icons are always disabled. I tried with a participant within the routing slip, the Process Owner as well as an administrative user, but the results were the same. Am I doing this incorrectly?
    Are these bugs or have these features not yet been implemented?

  • 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

  • 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

  • Human Task - Send Attachment

    Hi.....
    While creating a Human Task, I am facing an issue, while attaching any .xsl in "Specify StyleSheet For Attachment" in "Advance Settings" in " .task " file for transformation of Task file (WorkFlowTask.xsd) to either xhtml or xml.
    it is sending the attachment as message.html file............ can I change it to .xml also. b'cos I am attaching .xsl to convert to xml to xml not to the html.
    Thanx in Advance
    Nitin

    Add a new assign-activity after the human task and add a copy operation: copy the variable /task:task/task:attachment to the second human task.
    Don't use the assign activity CopyPayloadFromTask in the switch activity because it is automaticaly generated when you change the workflow.
    Harrie

  • WD-ABAP as BPM human task

    Hi Experts,
    Has anyone used Webdynpro-ABAP as a human task in BPM activity?
    could anyone please explain the detailed steps for the same?
    Any tutorial or related documents would be of great help.
    Thanks,
    Ramanath.

    Hi Ramanath,
    I´m not aware of a tutorial. However, there is official documentation available on help.sap.com:
    http://help.sap.com/saphelp_nw73/helpdata/en/9d/f22b87282e4abd8f156192bba26be0/content.htm
    In principle, you have to create a CHIP in the ABAP backend first for your UI. Once this has been done, you can import this into Process Composer and make use of it as part of a Task resp. Human Activity.
    Best regards,
    Stefan
    P.S: Be aware that WD-ABAP integration is a feature that is only available in 7.30.

  • Invoking Web Service from BPEL PM Human Task

    Hello,
    I have done the following tasks
    Create a BPel PM , Add a Human task and customized it.
    Create a Web service Proxy and Generate a Jar File from that classes like "wsCallRegions.jar".
    First issue : Where can i put my Jar File ? i don't have any WEB-INF\lib directories to add this Jar to my Webcontent on the human Task.
    Second Issue : I imported the library and all dependencies Using Jdev / import Libraries tool. But when i try to call this Web service in my Paylod-body.jsp say it does´t find the class of WS that i´m using ( I can rebuild it with no errors and deploy it to the server ), this just happen when load the payload-body.jsp page customized.
    How can i make my ant deployment description to load a Lib directories or add this jar to my human task customized ??
    can somebody help me please ?
    Many Thank,
    Vitor

    The problem is that now, with Weblogic Server the project is divided in two...
    And the import goes with the BPEL.JAR and not with EAR files to Weblogic SoaDomain.
    Someone knows where I can find some documentation about this issue ? This maybe could be a "bug" when deploying Human Tasks to Weblogic Appserver ?
    Thanks

Maybe you are looking for

  • Looking for a certain app for unwanted caller

    I am trying to find an app that when a particular caller is calling, it will inform them "I have a new number" or "this number is changed." Or something similar to rid of these unwanted calls. Any information would be helpful.

  • Error in BED in MIGO transaction

    Hi Experts, The BED is getting populated for 1No. only. It is not getting multiplyed with the GR quantity.  We are using TAXINJ and please guide me how to resolve this. Thanks Ganesh

  • ELoad throwing error - Failed to find navigation path

    Hi, I have a script that runs fine in eTester but fails in eLoad with error - Failed to find navigation path when it tries to click on a dynamic link on a page. I think it records the text of the link based on what account I have searched on. If I it

  • External Audio Editor to compliment GarageBand/Logic

    May I ask what other people are using and what people like for editing aiff and wav files. For example, comparing waveforms visually, cutting drum samples and loops quickly, converting aiff/wav to MP3, and doing simple fades, etc.. I realize of cours

  • [SOLVED]Run-time error in calculator. Wrong results.

    I've tried running the program a couple of times noticing that only the division returns the correct answer.. Here's the code: * File: Guical.java                    * * Author: Richard JR Wallnerstrom     * * Date: 2007-05-09 -                 * * C