Oracle BPM Human Task

Hi All,
I have a requirement like this-
I want to call a java webservice to update some record in DB whenever user selects reassign option from Task Actions on ADF Form.
Once the user will select a user to whom he wants to reassign the task and after clicking OK button that webservice should get.
Can you please guide me how to call a webservice inside  a HUMAN Task.
Thanks in advance,
Any Help would be Highly appreciated.

Yes Sir right, I tried this but when i am reassigning, flow is not coming out of the human task and also i am not getting the outcome on which i can apply condition on gateway .
Please find my Payload below after i perform reassign action:
Payload XML:
<auditQueryPayload  auditId="51145"  ciKey="340007">
<serviceInput>
<element  name="payload"  isBusinessIndicator="false">
<value>
<initiateTask>
<task>
<payload>
<docName>54</docName>  
<mimeType>45454554</mimeType>
<docURL>54</docURL>
<receivedFrom>إداره البحوث و الدراسات</receivedFrom>
<securityType>سرى</securityType>
<correpondenceSubTypeofDocument/>
<correpondenceSubType/>
<correpondenceTypeofDocument/>
<correpondenceType/>
<docType>rerfedecx1</docType>
<sectionhead>قسم التطبيقات</sectionhead>
<PriorityOut>P0Y0M3DT0H0M0S</PriorityOut>
<forwardToDept/>
<Priority>متوسط</Priority>
</payload>
<attachment>
<mimeType/>  
<name/>
<URI  xsi:type="def:string">54</URI>
<attachmentScope>Task</attachmentScope>
</attachment>
<processInfo>
<instanceId>340007</instanceId>  
<processId>DocumentManagementProcess</processId>
<processName>DocumentManagementProcess</processName>
</processInfo>
<systemAttributes>
<activityName>Review the Document and Metadata-Director</activityName>  
<activityId>ACT10502783848343</activityId>
<thread>0</thread>
<parentThread>-1</parentThread>
<swimlaneRole>Director</swimlaneRole>
</systemAttributes>
<systemMessageAttributes>
<textAttribute7  xsi:type="def:string">متوسط</textAttribute7>  
</systemMessageAttributes>
</task>
</initiateTask>
</value>
</element>
</serviceInput>
<dataState>
<dataObject  name="expOutcome"  isBusinessIndicator="false">
<value>
<expOutcome  xsi:type="def:string"/>  
</value>
</dataObject>
<dataObject  name="forwardToDept"  detailId="40026"  isBusinessIndicator="false">
<value>
<forwardToDept  xsi:type="def:string"/>  
</value>
</dataObject>
<dataObject  name="outcome"  detailId="40027"  isBusinessIndicator="false">
<value>
<outcome  xsi:type="def:string"/>  
</value>
</dataObject>
<dataObject  name="Priority"  detailId="40028"  isBusinessIndicator="false">
<value>
<Priority  xsi:type="def:string">متوسط</Priority>  
</value>
</dataObject>
</dataState>
</auditQueryPayload>

Similar Messages

  • Advance Rules for routing in Oracle BPM Human Task

    Hi,
    I am working on SOA 11.1.1.5.0. I have created a sample SOA application with a Human Task.
    following are the Assignment details for my Human Task.
    1. Created a stage1
    2. Created a participant with following details
    Type = Single
    Build a list of participant using : ApproverGroup
    Specify attribute using : Rule-Based
    List Ruleset : SampleRuleset
    I have created some Advance Rules for routing as specified at http://www.orastudy.com/oradoc/selfstu/fusion/integration.1111/e10224/bp_hwfmodel.htm#BABGJGBD .Routing is perfectly working in my application.
    But when I login into WorklitApplication via weblogic user and accessed Administration link, under Task Configuration > Data Driven tab these Routing Rules are not appearing, however I can see this SampleRuleset there.
    I want to know whether these Routing Rules will be appeared in the WorklistApplication or not?
    regards,

    Hi,
    Concerning your first question the answer is yes, you can share the same UI with various Human Tasks. Assuming that your discriminator flag is the human task type, then you can create for example a taskflow parameter, pass this value and based on this value hide and show fields. You will have to bundle your UI project as an ADF shared library and attach it to each Human Task project that you would like to use it, drag and dropping the taskflow as a region (please have in mind that your taskflow pages definition should be set to fragments).
    For you second question, again the answer is yes. This is an out-of-the-box functionality provided by the auto-generated human task. There is a section called history that holds and displays all this information.
    For the third point, again the answer is yes. What you can do is that you can enable the OnTaskCompleted event so that whenever a participant complete their task to generate an event. Then you can have a mediator or a BPEL process that can subscribe to this event and process the notification.
    For question 4 i don't think that is possible (out of the box). You will have to write like a proxy service that will fetch this additional information from your LDAP server and map it to your participants list.
    Question 5, the organizational chart allows you to define the structure and hierarchy of your organization (users, groups, application roles) which can be used in your business processes to define your various approval types.
    For you last question, the shared flag is used for to define whether your logical roles (also called application roles) should be specific to a process or can be shared across processes.
    Regards
    Antonis

  • ADF forms based on BPM human tasks - Invoking webservices/view objects.

    Hi All,
    Is anyone aware of whether the following is a valid implementation that has been carried out before.
    1. ADF forms based on BPM 11G human tasks.
    2.The ADF forms invoke webservices via Webservice data controls. It is pertinent to note that the webservice bring back complex data types. We've tried writing a few forms, resulting in data benig brought back, but not being able to print them to the screen.
    3. The ADF forms also use View Object based on sql to bring back tables of data. If view objects are embedded within the forms, the applciation gives rise to a null pointer exception.
    Considering the form will be invoked via a BPM worklist entry, is there a setting or configuration we should consider before hand. Is this feasible, is there knowledge of this being done commercially.
    Any examples or information regarding the same will be immensely helpful.
    Thanks and Regards,
    Preethi.
    NB : I have posted this in the BPM forum as well as I feel it is relevant to both BPM and ADF.

    Hi Joonas.
    Plese let me explain me better for your understanding
    A big summary for what I meant it's the following:
    1- In the procces you made, when you add the HT activity, you have to implement it, this means declare the input(s) parameters you want. This implementation create the .task file.
    2- Create an application, and projects as HT you have. Each poject are based on the .task file, and automatically create a Data Control (for each project based on a .task) with all you need.
    This w'll be an empty application, so you can customize it all you want. The task selected should have all the parameters previously defined. Those parameters can change if you want.
    2- Create a page(s) in the task flow for the task implementation. You can even split the the payload of the task in differents pages, create your custom pages and any logic you need.
    3- An important aspect is how to match these application with the HT implemented in the process. It's possible, it's a configuration en the Enterprise Manager.
    4- Deploy your application
    All these are explain in the book I mentioned
    Th book you can find it here:
    https://blogs.oracle.com/soacommunity/entry/oracle_soa_suite_11g_handbook_1
    Regards Dariel.
    PS: Please, let me know if you need more details.

  • How to assign hierachical groups from OID, in bpm human task.

    Hi,
    We have a group in OID like
    "cn=MED,cn=Reviewer,cn=NSTIP,cn=STU,cn=KSU,cn=groups,dc=kacst,dc=edu,dc=sa"
    and I am tring to assign the group to a human activity using the assignment tab of the human task.
    I am using the lookupGroup function under Identiy Service Functions as below
    ids:lookupGroup('cn=MED,cn=Reviewer,cn=NSTIP,cn=STU,cn=KSU,cn=groups,dc=kacst,dc=edu,dc=sa')
    The human task is not able to assign the user under the group MED present in myrealm and OID.
    Please suggest.
    Thanks,
    Tuku

    Hi Dear,
    Thanks for your reply.
    what you have suggested to use like ids:lookupGroup('MED') ,this is working fine and I had already tested it before, from jdev and aslo from bpm workspace administration link. But here our problem is we are having more then one 'MED' group with different hierachy . so using directly ids:lookupGroup('MED') will be a problem because we dont know which
    'MED'group it will be assigned.
    Another problem is ,when I am going to search from myrealm (jazn.com) it showing me 3 MED groups (that is present currently in our OID with different hierachy) but not the hierachy, so its also difficult to find out which MED group belongs to which hierachy.
    If we can find a solution to ids:lookupGroup('cn=MED,cn=Reviewer,cn=NSTIP,cn=STU,cn=KSU,cn=groups,dc=kacst,dc=edu,dc=sa') then there wont be any confution to assign the actual group.
    Regarding your question "Do you get like any error or is it that Task just can't get assigned. Have you tried assiging directly like from EM to make sure that Group and user in this group is all fine."
    I am not getting eny error message its just can't get assigned and goes to the end of the bpm process cathing the happy path.
    tested the groups using the url http://soahost:soaport/integration/services/IdentityService/identity here is the result.
    1 ) For group MED
    Result :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><groupObject xmlns="http://xmlns.oracle.com/bpel/services/IdentityService"><name>MED</name><realmName>jazn.com</realmName><displayName>AGR Tech Grp</displayName><description>Weblogic Admin Group</description><guid>080E537A820740B894307B6A7F97C884</guid><uniqueName>cn=MED,cn=groups,dc=kacst,dc=edu,dc=sa</uniqueName><identitType>group</identitType></groupObject></env:Body></env:Envelope>
    we have already 3 MED groups but it gave the result cn=MED,cn=groups,dc=kacst,dc=edu,dc=sa.
    2)For 'cn=MED,cn=Reviewer,cn=NSTIP,cn=STU,cn=KSU,cn=groups,dc=kacst,dc=edu,dc=sa'
    Result :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:env:Receiver</faultcode><faultstring/><faultactor/><detail><identityNotFoundError xmlns="http://xmlns.oracle.com/bpel/services/IdentityService"><faultInfo xmlns="http://xmlns.oracle.com/bpel/services/IdentityService">No Role found matching the criteria</faultInfo></identityNotFoundError></detail></env:Fault></env:Body></env:Envelope>
    Thanks
    Tuku

  • 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

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

  • Oracle BPM Ant tasks with Oracle BPM Studio cant find jar

    Hello,
    There is this documentation
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/anttasks/index.html
    which states how to run Ant tasks to do different tasks on Oracle BPM. In EVERY example in the doc and the INTERNET there is this line in build.xml
    <project name="OracleBPMExample" xmlns:fuego="antlib:fuego.tools.ant.enterprise">
    Now, could anyone PLEASE tell me where to find fuego.tools.ant.enterprise. Ive searched every jar in my installation, and couldnt find such package. From what Ive found out it should be something like fuego-antlib.jar but while it is well known and well discussed it is NOT AVALIABLE ANYWHERE.
    please, help. Im using Oracle BPM 10.3.2
    regards,
    Pawel

    You are right Mike... The ant tasks help you do process admin stuff... so that in the Enterprise environment, you can script it all, and not require manual deployments and such.
    Just download 10g Enterprise.... the library will be in there...
    HTH

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

  • BPM human task actionable user notification email not working

    Hi ,
    I am triing to send actionable email notification to assignees through the notification tab of the human task. The email settings in the em console has done fine so that I am getting the notification email without any fail.
    But the problem over here is the actionable buttons / links (Like Approve or Reject ) are not there inside the email body.
    I have checked the make notification actionable check box in jdev human task as well as configured the actionable email address in the server em console.Still the email body is not having the action items.
    email body is here
    Task Notification PendingUser Notification requires your attention.
    Access this task in the Workspace Application
    <PendingUser Notification > above is the task title.
    Please suggest
    many many thanks
    Tuku

    Hi All,
    I got the solution for it. Now the assignee is able to get the actionable email.
    the mistake i did is during the human task notification tab configuration I have put separate email id in the recipient column of first row.You need to do is ,choose Assignees from the drop down value , check the check box make notification actionable, then set the proper email in the email attribute property of the assigned user (user creation time).
    Thanks
    Tuku

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

  • Customization of Human tasks the BPM Worklist App with ADF App

    Hi All,
    We are building a custom ADF application which aims to combine several business process human tasks to a unified interface.
    And how to integrate the Human Task Flow BPM Worklist to my ADF App.
    Otherthan that
    To the BPM Worklist App we want to do customizations also like
    1.Want to customize to apply our own custom skins to customize banner logo, title to the BPM Human Task Flow App.......
    2.And based on the logged in user/role we wanted to restrict the features of the Work List App.
    Say for Example should not provide the Facility to Add New Page if the logged in user is not an Admin, like wise no provision to add or modify or delete the Worklist Views like that...
    How to get control the App based on User/Role
    Any help or pointers would be appreciated!
    I have ADF Experience from projects Using JDeveloper 11.1.1.5.
    But, for me this is the first BPM case.
    Renuka

    Hi Renuka,
    There are basically two ways to create an ADF UI for a BPM Task:
    1. Generate it from the task
    2. Create a ADF Taskflow based on Human Workflow Task
    Since I tell this by heart, I might be slightly wrong in the terms.
    You probably want to try the second option. It is accessible from the "New Gallery". You'll have to provide the Human Task from the BPM project, but then you can build up the ADF Taskflow by your self, based on the customizations of the rest of your application.
    Should not be rocket science for someone with ADF11g experience. Since it is not my dayly job, I need to figure it out every time again ;). But I did it in the past and it wasn't so hard.
    Regards,
    Martien

  • Oracle BPM checkbox

    Hi,
    I am new to Oracle BPM and I have a requirement to make a check box in BPM form. Like Select Documents: Inter [], Middle[],Master[].
    Can anyone please share a simple way to do it? I tried to convert one field into check box but how can I add more check box for that fields. Following is the snapshot. Many thanks

    Wouldn't you want a radio button if the user was only supposed to select one of the choices?  With a checkbox, the user usually thinks they can select multiple items.  To create a hard coded static radio button group on an ADF form, follow the steps listed below.  This adds a new "Request Type" set of radio buttons on the form that is bound to a human task's "RequestType" element:
    1. Right click the existing "RequestType" field (the field you want to create the new dropdown for on the form).
    2. Select Insert after Input Text -> Select "Radio Group".
    3. Click the "Create List" radio button.
    4. Click the + New icon and add an item label and value for each item you want to appear in the dropdown (e.g., Item Label "Inter" and Item Value "INTER").
    5. Click the Next button -> change the Label field to be "Request Type".
    6. Click Finish.
    7. Now that you have a new radio button field, you need to bind it to the correct attribute so that the RequestType value clicked in the dropdown is stored back into the BPM object variable’s RequestType attribute.  To get this, click the original RequestType field the field directly above your dropdown).
    With the original RequestType field selected, in the Property Inspector tab in the lower right corner, copy the text in the "Value" property to your clipboard (Control-C).
    8. Select the new RequestType radio button group and in the Property Inspector tab paste (Control-V) the clipboard value into the Value dropdown field.
    9. Delete the original RequestType field.
    To see how to create a database driven list of values or radio button group that populates a BPM human task variable look at this blog:  http://avioconsulting.com/blog/using-database-driven-list-values-populate-bpm-variable.
    Dan

  • Creation an ADF Task Flow Based on a Human Task

    Hello!
    While creating ADF Task Flow Based on a Human Task, I can't bind New TaskFlow to task, which I choose in Dialog.
    Details:
    I Have:
    BPM Project with PackageCreation.task
    ADF Project in Same Application
    I do:
    1. in Application Navigator right click on ADF Project -> New -> Web Tier -> JSF -> ADF Task Flow Based on a Human Task
    in creation Dialog I choose PackageCreation.task and Don't change name of New TaskFlow (automatically JDeveloper set this name to PackageCreation_TaskFlow)
    I have After that:
    new ADF Task Flow and my old PackageCreation.task.
    Question:
    Why my Task don't bind to created ADF task Flow based on it?
    I think, that while creating ADF Task Flow Based on a Human Task it has to change my task, writing some thing like This (inside xml):
    <taskFlowFileLocation>file:/D:/JDeveloper/mywork/SalesQuoteLab/EnterQuoteUILab/public_html/WEB-INF/EnterQuoteDetails_TaskFlow.xml</taskFlowFileLocation>
    That xml element is creating in xml of *.task, while making auto-generation form for human task in BPM Project.

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

  • Security in human task views

    Can anybody explain or give a pointer to documentation on how to implement security (authorization with roles) in BPM human task views?
    What do we need to configure to achieve this?
    // npettersson
    Edited by: npettersson on 2011-jul-29 05:07

    Securing Your WebCenter Portal Application - 11g Release 1 (11.1.1.5.0)
    Ciao

Maybe you are looking for

  • SATA Hard Drive Goes Missing After Playing Video In iTunes, How? Why?

    What in iTunes would make my 500 GB SATA drive just "disappear" from my list of drives under My Computer? Seemed to happen after I tried playing a video back in iTunes. I thought it was Windows Vista. But, I'm not having any other problems. I don't d

  • Can't scan in Acrobat 10.1.1 / Lion 10.7.1

    I cannot scan using Acrobat X (10.1.1) and an Epson Perfection 4990 scanner because it does not show up in the "select a device" dropdown box.  I can scan using the  application Epson supplies, but the resulting scan is 10-20 as large as I want, and

  • Jog / Unwanted Spacing in Header

    Using Dreamweaver CS3 I have encountered either a browser bug or error (the latter on my part). On the web site I built (http://www.PaulRussell.net) there are unwanted gaps with a header cell. The gaps are both at the top and bottom of the cell expos

  • Visible Property of Symbols

    In Flash, I can set the visible property of a MovieClip with ActionScript as follows: coke_mc.visible = false; How do I accomplish this in edge?

  • Create a disabled Select Option in javascript

    Hi By now, I want to create a SELECT object with disabled options by using javascript. I tried "selectObj.options[1].disabled = true", it can work in Netscape, but not in IE. Does anyone can help? Thanks Michael