Create entity and human task

Hello,
I have a really simple process which includes a create entity activity. It works perfectly fine as data is inserted into the table and i can see everything is completed in the flow trace. Now, when i insert a human task after the create entity activity, things start going wrong. While i don't see any errors in the flow trace and all tasks are completed as planned, the BPEL component's state is showing as running and at the end of the flow i got the message "The transaction was rolled back. The work performed for bpel instance "123456" was rolled back to the previous dehydration point, but the audit trail has been saved...." It seems like it's waiting for something from the human task (even though it was completed successfully). As long as I leave this running, the process would try everyday from 12:00 AM to 4:00 AM every five minutes. That's another issue that i can't figure out. Can someone shed some light on this? Thank you.

Hi,
its best to post this question to the SOA forum. The answer on this forum would be to use a  page template, a parametrized bounded task flow and then add the bounded task flow to each page that has the template. However, the task flow in the HT case is generated, which means that you re-build it all the time (meaning you don't work with the same task flow but multiple). If you know how to just use the HT API to access the information to display, you could write a generic bounded task flow for this. Check on the SOA forum if they can come up with a template approach for your use case.
Frank

Similar Messages

  • Process and Human task deployment version difference.

    Hi,
    I have a small issue in deploying the process and taskform. Problem is my BPEL Process deploys fine and shows the version 1.0 my TaskForm also deploys fine but somehow the version of this shows as 2.0. When I check the App Server the TaskForm shows as 2.0. Now when I log into worklist and go to task details I see an error saying /1.0/TaskForm.jsp not found. It's because the TaskForm is deployed as /2.0/TaskForm. Now if I manually go and change the context of the task form in default.xml file to 1.0 worklist shows the jsp form. Before deploying the Process I tried deleting the output directory, undeployed the form for the server, undeployed the BPEL Process and restarted everything but some how the form is always deployed as 2.0.
    When I manully force the BPEL Process to deploy as 2.0 also all works fine.
    Can someone please tell me what might be the issue. I believe it's something JDev. do when deploying the process that somehow incremenst the TaskForm version.
    I even installed a fresh JDev. version but nothing works. Is something cached in the process and if so where to look and fix it.
    If I create any new process with Human task it works fine. It's something with my current process that's not right.
    Thanks

    Hi All,
    The problem was caused by the JDev version I used.
    I used the version 10.1.3.4., but found a thread which suggested that I should use 10.1.3.3. instead. And it works!
    Here is the thread where I found this info:
    SOA Order Booking build properites - BindWebApp error: javax.management.Ref
    Peter Neumann

  • Create reusable BPM Human Task Form across Projects

    Hi,
    I have a challange in my project. I have a BPM application with many BPM process inside, and each BPM process has its own human tasks. Is easy for each HT create a form in a jspx file, for that an independent project is created.
    The challange is: most of the HT payload is just informative, and it is wanted to be shown in most of the HT across the application so, what do you suggest me to do, in order to avoid reorganize a form every time I create it with "Autogenerate Form" or "Launch Create Form Wizard" options in the HT?. With reorganize a form I mean: put this label here, change this to read-only, change the layout, etc...
    Thank you!
    AAPDL

    Hi,
    its best to post this question to the SOA forum. The answer on this forum would be to use a  page template, a parametrized bounded task flow and then add the bounded task flow to each page that has the template. However, the task flow in the HT case is generated, which means that you re-build it all the time (meaning you don't work with the same task flow but multiple). If you know how to just use the HT API to access the information to display, you could write a generic bounded task flow for this. Check on the SOA forum if they can come up with a template approach for your use case.
    Frank

  • Error while deleting instances and Human Tasks arent deleted

    Hi,
    The Error:
    Cannot delete instances.
    The process domain was unable to purge the instances from the datastore. The exception reported is: [POL-5130] table or view SYSTEM.WI_FAULT not found
    Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid.
    sql statement: DELETE FROM wi_fault WHERE domain_ref = ?
    When I query tasks over a jsp i also get the uncompleted human tasks from the deleted instances ( the try to delete them, i think they are there, but in the BPEL Console i cant see them anymore).
    The Error occured since i patched my oracle soa suite 10.1.3.1 to 10.1.3.3.
    What can I do?
    I hope someone can help me.
    My best Regards

    I think you didn't ran the upgrade-script when you've installed the patchset 10.1.3.3 to your bpel environment.
    Check the readme file of the patchset and you will see in the post-installation tasks you need to run the upgrade-script to patch your database environment as well.
    Kind regards,
    Nathalie

  • Configure Active directiory and WLS and Human Task form

    Hi Guys,
    We are using SOA Suite 11.1.6 for the current project and like to configure Active Directory as the identity provider. I know this is not a new question and did several searches in the forum and online, but not all our questions are answered. At this moment, in the WL security realm, we can see users and groups from AD. But there are still outstanding issues:
    1. Authentication with AD users
    We still cannot configure AD user to login WLS.
    2. Email users
    AD user is not showing up in the email lookup in jdeveloper. Currently, there are only two users returned: weblogic and oraclesystemuser. I believe that they are the default users.
    3. WorkList Application (Human Task)
    This is similar to #1, but not all. We like to configure AD users to login to the Worklist application.
    Any suggestion are appreciated.
    Thanks
    Steven
    Edited by: sw12345 on Apr 27, 2012 11:49 AM

    Hi Steven
    1. What you want is totally possible BUT you can have your Users only in one Security Provider. To access bpm/workspace, all the users will be referred in the first top most security provider. So make sure, your AD Authenticator is in the Top Most and also all these providers should be set to SUFFICIENT / OPTIONAL.
    Below these 2 posts should give more details:
    Weblogic administrator account is inactive after enabling DB Authenticator
    Re: BPM 11g workspace not show user from OVD - top most authentication provider
    Thanks
    Ravi Jegga

  • Cannot Create, open and run task in NI MAX

    Using the NI MAX is very perplexing to me.
    I have been using it for a lone time and I had no problems in my my PC
    Till then I installed NI MAX and NI DAQmx in another production PC.
    In it, I could not open  or run the tasks which I had imported.
    Worse still I could not create a new task.
    What could be the problem?
    I had used the same versions for both PCs.
    When there are errors, I saw that said it is standalone program I am puzzled. Is that because the prodcution PC does not have Labview Development?
    It cannot be.
    Pls advise
    Clement

    Ok Here are snap on clips
    Here I cannot create  a new task or I do not see a similiar like this above.
    Here are errors when I tried to open the device's  test panels.
     Pls advise
     Thanks in advance

  • 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

  • Problem in creating Human Task Activity in JDeveloper

    Dear Experts,
    I'm very new to JDeveloper & Oracle Bpel PM Server. So I'm trying with sample & demo application.
    I'm facing lots of issues. Kindly guide me to learn Jdeveloper.
    Now I'm trying with "Vacation Request" Application to learn about "Human Task" activity. Also
    I have gone through lot of documents respective to "Human Task" Activity. Still i'm facing problem in
    Implementation.
    +Error: Unable to save *.task file. (Reason system cant find the path specified..
    Des: Can not able to create a new Human Task activity. Also not able to map xsd parameters with
    Dynamic user path........ please suggest me a solution.
    Thanks
    Rajesh

    Please help me in developing Simple "Human Workflow activity" with proper examples or tutorials.

  • Human Task Flow conflict on Data Controls generation

    Hi, I have two distinct human tasks in one process. When I use new-> JSF-> ADF task flow from Human task to create the task flow for the second task to the same public-html/web-INF folder as the first one, after the generation, the data control for the first human task flow will disappear from the data control window.
    I am trying to rebuid my old app into a new app. Although I can create two distinct human task flows in my old app, no luck in the new app. Both apps use JDev 11.1.1.5 and on the same machine. Anybody can give me some hints on the issue?
    Thank you

    Juan C,
    I use JDeveloper 11g Release 1.
    May be I didn't explained my question correctly.
    taskdetails1 is creating, and in Data Controls I have objects of my BPM Human Task Payload.
    But in that file "PackageCreation.task" in source I can't find any link to instantly created TaskFlow.xml in my UI project.
    So, I have
    NEW project "PackageCreationUI" with PackageCreation_TaskFlow.xml in it (and TaskDetails1 file too).
    AND Did't Changed PackageCreation.task in BPM Project.
    If I use *"BPM form creation wizard"*, after creating project and TaskFlow in it I see Changes in PackageCreation.task in BPM Project, something like that:
    <taskFlowFileLocation>file:/C:/JDeveloper/mywork/testApp/PackageCreationUI/public_html/WEB-INF/PackageCreation_TaskFlow.xml</taskFlowFileLocation>

  • Human Task : assign task to user at runtime based on some conditions

    HI ,
    I have a requirement that is, Assign task to users/ groups at runtime for approval based on material qty. please help me in design approach to achieve the same.
    thanks in advance.
    Guru

    Hi Guru
    You can achieve this with and without business rules. I am assuming you have a payload with element like "qty". In task details page or somehow, this gets filled. Now later on you can have like this:
    1. Without Business Rules:
    a) Lets assume you have human tasks like ApproverDefault, Approver100, Approver200, ApproverAll etc.
    b) After your first Task, add a XOR Gateway. Default path of XOR goes to ApproverDefault. Then you have like 3 more paths with Conditions like qty between 0 and 100 goes to Approver100. Qty between 100 and 200 goes to Approver200. Qty more than 200 goes to ApproverAll.
    Quantity
    No conditions (Default) -> ApproverDefault
    qty < 100 -> Approver100
    qty > 100 and qty < 200 -> Approver200
    qty > 300 -> ApproverAll.
    2. With Business Rules
    a) This needs some learning. Please do refer detailed online docs. I am just giving brief steps. Create extra fields of type Boolean in payload like AutoApproved, NeedApproval100, NeedApproval200, NeedApprovalAny etc. Have more meaningful names as per your requirement and human task though.
    b) You need to drag and drop Business Rules component and edit it in JDeveloper.
    c) First create a Bucket set with Range of Values for Qty field like -infinity to 0, 0 to 100, 100 to 200, 200 to infinity. You just enter rows like 0, 100, 200, and rest is taken care to add these Ranges.
    d) Now create Decision Rules. For each range, create a action and set the flag(s) appropriately.
    e) See hello world example for exact steps and full understanding.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/obpm/11g/r1/firstProcess/firstprocess_obpm11g.htm
    Pros & Cons:
    a) Without Business Rules is very simple and straight forward. Quick and easy to develop and test. But if you want to control the range of values for qty, you need to modify the process and redeploy. Its kind of tight.
    b) Business Rules gives more flexible. You can change qty at run time, provided you use BPM Composer. But takes some learing and needs some debug if it fails like that.
    There are many differences and pros and cons. But above are the main ones.
    If you are a beginner, go with First Approach for now.
    Thanks
    Ravi Jegga

  • Unable to initiate a Human Task after Wait

    I am using Oracle BPEL Version 10.1.3.1.0.
    Issue:
    Human task throws an javax.naming.NameNotFoundException: java:comp/env/ejb/local/TaskServiceBean not found in ActivityManagerBean when it should initiate a Human Task Service.
    Steps:
    In Oracle BPEL workflow
    1. Have a wait state for 30 seconds.
    2. Have a Human Task created after that.
    Expected result
    Create an instance
    Human task should be created after 30 seconds.
    Actual results.
    Exception is thrown
    javax.naming.NameNotFoundException: java:comp/env/ejb/local/TaskServiceBean not found in ActivityManagerBean
    If the wait condition is removed or time is set to 0, the error goes away.
    Domain.log shows
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::> ORABPEL-30029
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::>
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::> Error in invoking task service.
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::> An client side error occured in invoking the task service.
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::>
    Please advise.

    Yes, it works.
    I can create task and see them in the worklist application.
    Even if I put the time in wait to 0, it works.
    It should be a very simple bug to reproduce. We have been able to do that on two different machines using these steps.
    A wait of 30 seconds.
    A human workflow task.
    Initiate the process, it gives error. Remove the wait. It works.
    Use a pick activity and provide timeout in onAlarm instead of wait approach. The same issue occurs.

  • Unable to create Entity objects for tables in TimesTen database using ADF

    Hi,
    I am not able to create Entity and View objects for tables in TimesTen database using ADF. I have installed TimesTen client on my machine.
    I have created a database connection by using connection type as "Generic JDBC" and giving driver class and JDBC URL. I am attaching screen shot of the same.
    I am right clicking on Model project and selecting New option after that I am selecting ADF Business components and in it I am selecting Business components from tables and there I am querying for tables.I am getting list of tables and when I am trying to create a Entity object from the table after clicking finish Jdev is closing by itself giving an error.
    Can anyone please help me how to create Entity objects for tables using TimesTen as database.I might be missing some jars or the way I am creating connection might be wrong or any plugins required to connect to TimesTen.

    What is the actual error being given by Jdev? Are you sure that the JDBC connection is using the TimesTen JDBC driver JAR and not some other JDBC driver or the Generic JDBC/ODBC bridge?
    Is ADF even supported with TimesTen?
    Chris

  • 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

  • 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

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

Maybe you are looking for

  • Linked Smart Object Layers

    This may be a very simple question (or not): As shown here, I have a Photoshop project that has many layers in it. All of the layers have pretty much the same pictures in it, but with minor differences. I'm trying to find a way to change the color of

  • Error creating outbound parameter in WE20

    Hi, Recently, I tried to create a new partner profile via WE20 of Type B (Bank) in my QA system. The profile got created, however, I could not create outbound parameters for the same. On clicking the '+' symbol to add the outbound parameter, it takes

  • Displaying Folder name in WEB I Report

    Post Author: mega-bo CA Forum: WebIntelligence Reporting Hey, I need to display the folders path, where the report has been taken/open from, in the WEB I report. like this Eg.,-.. /Datawarehouse folder/Lab Test/Lab Result Report any formula?

  • Getting stuff out of the trash

    Hi! I used iMovie to audio record a meeting, and through a mix-up (shutting the computer down before quitting the program) the audio track wound up in the iMovie trash. Is there a way to get the audio track out of the track and preserve it. All the o

  • Master Suite installation not recognising disc 2

    Title sums it up. When I put disc 2 in the installer does not recognise it and coninues to ask for disc 2. Disc is in almost perfect shape. Any help is much appreciated.