BPM Task Flow

Hi ,
I created a BPM application which has a human task in the BPM flow. This task takes a parameter (requestor id) and sends an email to this requestor to submit a form.Data enetered should be saved in the database.
How can i achieve this?
Thanks,
Lakshmi.

Hello Lakshmi -
Assuming that you are using BPM10g.
1. Please go thru the Expense report example tutorial on Oracle.com
Ref : http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/tutorial/index.html
Then create a simple process as your requirement.
Sample process for this example :+CreateData+ is my Global Creation (Accept data from user - here using screen flow)
               And Save is Interactive Activity.(Email and DB insertion)
2. The extra things you needs are following..
a) Create BPM Object for input Data (Here DataEntry is the Module name, Data is BPM Object)
b) Catalog your DB into BPM by using Catalog an SQL Component under DataEntry Module.
     Here using scott.emp table from Oracle sample schema
c) Persisting input data code
d) Sending email code
CIL for c and d in Save activity.
// Persisting data.
INSERT INTO DataEntry.SCOTT.EMP(ename, job, empno)
VALUES (this.data.name, this.data.job, this.data.empId);
logMessage "!!!!!!!"+activity.name+"data insertion completed !!!!!!!!!!!!!!!"
// Email
mailer as Fuego.Net.Mail
sender as Fuego.Net.MailSender
mailer.from = Participant.email
mailer.recipient = "[email protected]"
mailer.subject = "Test email from BPM10g"
mailer.message = "Input message here.... RequestId : "+this.data.req_id
sender = Fuego.Net.MailSender(mail : mailer)
send sender
logMessage "!!!!!!!"+activity.name+"email sent !!!!!!!!!!!!!!!"Also you need to configure Email server info
Right Click on your Project -> Engine Preference --> General --> Networking section --> Fill up the details.
BR,
Justin

Similar Messages

  • Oracle BPM task flow documents save on server

    Hi,
    I want to know where I can store Oracle BPM process attached document except Oracle Webcenter or UCM. Can I store them in database or some other server. I shall be very thankful for help.

    Maybe this can help you: http://mike.hostetlerhome.com/2007/02/12/weblogic-oracle-and-blobs-oh-my/
    It shows how to obtain a vendor object from the weblogic wrapped instance.
    From the blog
    weblogic.jdbc.wrapper.Blob cast1 = (weblogic.jdbc.wrapper.Blob) o;
    BLOB myblob = (BLOB) cast1.getVendorObj();

  • Create Custom ADF Task Flow for BPM

    Hi,
    I'm working an project on BPM and I'm required to create a custom ADF task flow with multiple views based on the human tasks in BPM. Since I'm new to ADF, could some one please give me some pointers?
    Thanks,
    Debojit

    Hi,
    You have to implement your own custom worklist screens for such a subject. As you know the OOTB worklist screen shows the logged-in users' assigned, etc. tasks. You have to implement the API of SOA workflow.
    You can check Mark Nelson's blogs on Redstack to accomplish this. Hope this is the answer of the problem you are looking for.

  • How to access BPM 11g payload or process varibles in ADF task flow

    I am trying to view/edit data in a UI tied to a database using a foreign key, requestId. The foreign key comes from a BPM process where it is passed into the task flow, from a human task. The foreign key comes from process variables or payload values. I know I can simply load the payload in BPM with data from the tables, but I'm looking for a better solution to leverage ADF Business components to view and edit the data directly in the UI.
    The BPM process uses a web service to kick off the process. The web services takes a primary key as a parameter to reference a column in the database table. The database is pre-populated with content and a primary key reference. The first activity is a user activity. I want the task flow behind the user activity to accept this primary key and use it to locate the desired row in the database so views associated with database bounded ADF Business Components can work to present the data in the UI.
    I've tried two approaches to the problem. The first uses the operation setCurrentRowWithKeyValue. The other modifies the SQL where clause, used by the ADFbc Iterator, to only return a row for the given requestId. Both approaches fail to work because I don't know how to access the BPM payload or data variables coming into the task flow. Here's the snipet of code I used to try to set the row using setCurrentRowWithKey value:
    public String setRequestId() {
    FacesContext context = FacesContext.getCurrentInstance();
    Object requestObj = context.getApplication().evaluateExpressionGet(
    context, "#{bindings.RequestId.inputValue}", Number.class);
    if (requestObj== null)
    return null;
    Number requestId;
    requestId = (Number)requestObj;
    DCIteratorBinding itr = (DCIteratorBinding)
    getBindings().get ("PatfRequestHdrView1");
    itr.setCurrentRowWithKeyValue(requestId.toString() );
    return null;
    I haven't gotten very far with the second approach, modified SQL where clause, since I don't know Groovy. I think I need something like:
    adf.object.viewObj.RequestId. But there isn't a viewObject associated with BPM data, so I'm sure this particular expression won't work.
    Any help you can give me is very appreciated.
    Regards,
    Mark

    The first thing I want the task flow to do is display a page with a form showing the values from the database. This is why I tried to call the method first. If I add the setCurrentRowWithKey to the form as a button, I can get the form to load the data, but it's a two step process, requiring the user to click a button. The method approach throws the following exceptioin
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity '/WEB-INF/ApproveTravel_TaskFlow.xml#ApproveTravel_TaskFlow@setTravelRecord'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:927)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:2

  • How Worklist/BPM knows which task flow to invoke at runtime

    Hi, I use JDev 11.1.1.5
    In my BPM, I had one Human task activitiy state. Then I create a task flow through "ADF Task Flow Based on Human Task". I found that there is no any configuration value for taskFlowFileLocation property in .task source file. However, the process succefully invoke the correct task flow when I run it.
    I am curious on how the worklist engine associate the task flow with the human task? If there are multiple task flows for the same human task, which file is the right place to find the configurations?
    Thanks,

    Hi Yannick,
    I have a same scenario like yours. Have you implemented that? How to modify the preferences in backing bean? I change the input parameters of taskflow in backing bean. But when popup the edit dialog, the old value is still there. Thanks.
    Regards,
    Joe

  • Jdeveloper 12c  bpm 12c why the task-flow-registry.xml causes issues when recompiling?

    when i run a new build I receive the following when it used to work well any ideas?
    classes/META-INF/task-flow-registry.xml'
    [2:43:55 AM] Compilation complete: 4 errors, 0 warnings.
    [2:43:55 AM] Compilation complete: 4 errors, 0 warnings.
    Feb 16, 2015 2:43:55 AM oracle.tip.tools.ide.utils.LogUtil logStackTrace
    SEVERE: oracle.jdeveloper.deploy.DeployException: Build failed.
      at oracle.jdeveloper.deploy.common.BuildDeployer.build(BuildDeployer.java:348)
      at oracle.jdeveloper.deploy.common.BuildDeployer.buildAll(BuildDeployer.java:277)
      at oracle.jdeveloper.deploy.common.BuildDeployer.compileDependants(BuildDeployer.java:137)
      at oracle.jdeveloper.deploy.common.BuildDeployer.deployImpl(BuildDeployer.java:100)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:95)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdevimpl.deploy.fwk.TopLevelDeployer.deployImpl(TopLevelDeployer.java:54)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:410)
      at oracle.jdevimpl.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:371)
      at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:310)
      at oracle.tip.tools.ide.fabric.deploy.workflow.TaskflowPackager.deployImpl(TaskflowPackager.java:107)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:95)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.SequenceDeployer.deployImpl(SequenceDeployer.java:60)
      at oracle.jdevimpl.deploy.fwk.TopLevelDeployer.deployImpl(TopLevelDeployer.java:54)
      at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:152)
      at oracle.jdeveloper.deploy.common.AbstractStatefulDeployer.deploy(AbstractStatefulDeployer.java:130)
      at oracle.jdevimpl.deploy.fwk.DeploymentManager.deployImpl(DeploymentManager.java:410)
      at oracle.jdevimpl.deploy.fwk.DeploymentManager.deploy(DeploymentManager.java:371)
      at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:310)
      at oracle.jdeveloper.deploy.cmd.DeployCommand.deploy(DeployCommand.java:399)
      at oracle.jdeveloper.deploy.cmd.DeployCommand$DeploymentProgressShellAdapter$1.deploy(DeployCommand.java:529)
      at oracle.jdevimpl.deploy.fwk.RunnableImpl.deploy(RunnableImpl.java:337)
      at oracle.jdevimpl.deploy.fwk.RunnableImpl.run(RunnableImpl.java:394)
      at java.lang.Thread.run(Thread.java:745)

    That is the problem actually. When I run the link directly it works fine. But I need to launch the ADF application from a non-ADF app which is not hosted on WLS.
    The scenario above was just to simplify the problem...
    Is there any security settings etc that may cause this ?
    Thanks

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

  • Error while deploying the ADF task flow project based on a SOA human task

    Hi,
    I created a SOA project with a BPEL process containing Human task, deployed it and could able to test it successfully. I created ADF task flow project based on the Human task created in the earlier project and tried to deploy it. It is giving the following error. The idea is to display the task details in BPM worklist.
    [04:10:53 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application RevisionApprovalMgmtTaskFlow [Version=V2.0] on soa_server1.: null.
    [04:10:53 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException
    [04:10:53 PM] See server logs or server console for more details.
    [04:10:53 PM] weblogic.application.WrappedDeploymentException
    [04:10:53 PM] #### Deployment incomplete. ####
    [04:10:53 PM] Deployment Failed
    The server log shows this detailed error.
    java.lang.IllegalArgumentException
         at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:178)
         at oracle.xml.xpath.JXPath.evaluate(JXPath.java:288)
         at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.initialize(XmlConfigurationFactory.java:425)
         at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:149)
         at oracle.security.jps.internal.config.deploy.CredentialStoreDeployer.getCredentialStore(CredentialStoreDeployer.java:56)
         at oracle.security.jps.wls.listeners.CredentialDeployment.migrate(CredentialDeployment.java:83)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.migrateAppCredential(JpsApplicationLifecycleListener.java:137)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.preStart(JpsApplicationLifecycleListener.java:78)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:277)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:194)
         at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:57)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:279)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:609)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Apart from these, I have Model and View Controller projects in the application. If I create the ADF task flow based on a Human task in another sample application, it works fine. Only in this application, it does not work. Not sure what this error is. Any ideas?
    Thanks,
    Manoj

    What I suggest is go into EM and undeploy this composite and all versions. (Only if you don't want the existing ones). Then redeploy your process. This will avoid the version conflict and create a new version. 1.0. Then the next time you try and deploy you need to either specify a new version or check the box to say the version can be over written.
    cheers
    James

  • ADF Task Flow based on HumanTask - Region withiin Task form

    Hello All,
    Was wondering if anybody here has sucessfully used region in their human task forms? I really like the idea of regions and after going through the tutorial here* I tired to implement it.
    Following are some additional details of the issue I'm facing.
    I have created a UI project based on a human task. The main <human task>_taskFlow.xml is bounded and non-fragmented. I then dropped 'view' component within this task flow and create a blank jspx page underneath. I then dragged and droped another bounded and fragmented task flow (which is also a train) on to this jspx page. The 2nd task flow has some jsff pages in a train. When I deploy run this bpm project,I can't see train form within the region and I get following Null Pointer Exception on the server:
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:233)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    Any help would be much appreciated.
    *http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/boundedtaskflow/bounded_task_flow.html                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Update: After struggling with it almost whole day, I recreated the UI project and the problem has gone away.

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

  • Separate project for each ADF task flow?!

    Hi,
    We have a BPM process application which is having a few human tasks. The form for each of the human tasks is similar. We’d like to be able to share some page fragments or code between them and create single web application to handle all the human tasks for this BPM process application. Then I found the following in the Oracle document “Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1.4.0)”:
    “If the SOA composite contains multiple human tasks, create a separate project for each ADF task flow associated with each human task.”
    I wonder if we have to do that and if so, what is the reason.
    Do you have any clue? Please help.
    Thanks a lot,
    Helen

    This is answered in SOA forum: Re: Why Dev Guide says "create a separate project for each ADF task flow ..."

  • Why Dev Guide says "create a separate project for each ADF task flow ..."

    Hi,
    We have a BPM process application which is having a few human tasks. The form for each of the human tasks is similar. We’d like to be able to share some page fragments or code between them and create single web application to handle all the human tasks for this BPM process application. Then I found the following in the Oracle document “Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1.4.0)”:
    “If the SOA composite contains multiple human tasks, create a separate project for each ADF task flow associated with each human task.”
    I wonder if we have to do that and if so, what is the reason.
    Do you have any clue? Please help.
    Thanks a lot,
    Helen

    Hi Helen
    1. I do not know the reason why they mentioned like separate project for each human task. NO, this is not required and we can have just one UI Project like MyTaskForms and have all the JSPs in this same project for each Human Task.
    2. On our side, we have like 10 Human Tasks, all using the same Payload. So we have 10 .task file. For the very first .task file, we used Auto Generate Project and gave project name like OurAppTaskForms. The reason we did this is, so that it adds all the required dependent libraries, tag libs etc properly. For all remaining 9 .tasks file, we did NOT use auto generate. Instead we used standard New -> JSF From Human Task and select one task at a time and follow the steps. These steps are covered in the online documentation. At the end in our BPM App, we have just one UI Project with all the 10 screens.
    3. ALSO, all the 10 screens have some common data. This we put in a reusable JSF Fragment page. And associated a custom Managed Bean for this to set and get values from this fragment and also some Actions for some buttons in the JSF. Then we included this JSF in each taskform jsf file, uisng the include tag. We added this include tag, somewhere in the top. So all screens share common jsf fragment page.
    4. We can refine the above stuff further. As per above, we still have 10 JSF screens for each one of the 10 .tasks. Ofcourse all these 10 jsf have same common jsf fragment. BUT instead of 10 individual jsf screens, we can have only ONE Jsf screen also. Refer online docs for the details. The challenging part is, since we have only one jsf, there may be some bussiness stuff, validatoin stuff to take care of in custom ValidationCallback Handler classes. Say for Task1, we had to show some buttons, but NOT for Task2. So we had to handle this logic. Also in validation call back, we can always get each Tasks, title also. So we can workaround this issue also. We are in the process of doing this right now. But first 3, we already did and they are working fine.
    My personal suggestion is first go with single jsf fragment and include in all tasks jsp files. Any changes to common elements need to make only in one place i.e fragment page.
    Thanks
    Ravi Jegga

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

  • BPM task not appearing in universal worklist

    Hello All.
    We have installted NWCE 7.2 for a developing a pilot . We have created a sample BPM application and build and deployed it.
    For some reason the BPM task (first activity in our process model)  is not appearing in the UWL
    We have ensured that UWL is configured properly and SAP_LocalSystem BPEMUWLConnector is configured and running successfully.
    After deploying the process model, we have started the process following the NWA, Configuration Mgmt , Processes and tasks , Start the process .
    In the manage Processes: Process Instance the status is showing In Progress and Show Process flow shows the first process is active.
    Note: The process is not trying to connect to any backend applictaion for timebeing, Administrator has full previliege on the Pool, Lane and Human activity / task
    If any one has encountered similiar problem with NWCE7.2 Sp1 please help us how to go about and overcome this issue.
    We have to demo the smaple this week so any help would be highly appreciated
    thanks
    Mukhuti

    Hi,
    Check the task owner in Nwa > Operation Management > Processes and Tasks > Mange Tasks. If you are able to locate the task then make sure that the user has been assigned the BPEM END user role.
    Hope this helps!!
    Cheers,
    Arafat

  • Composite Application with a Task Flow and form created manually

    Hi,
    I'm using Oracle SOA Suite 11G and i'm trying to create a task form for a human task without using the auto generate wizards and i'm having trouble getting the form to show in BPM worklist.
    I have followed instructions in the developers guide to create the form against the human task including the following
    27 Designing Task Forms for Human Tasks
    27.4.3 How To Create a Task Form Using the Complete Task with Payload Drop Handler
    27.8 Deploying a Composite Application with a Task Flow
    After i deploy and test, the task appears and works correctly in BPM worklist, but the form does not show. This is when i have the task form within a composite application or in a separate project. When i generate the form automatically using the wizards, this all works fine.
    Updated: Noticed that when i create the task form manually and deploy it does not create entries as per instructions
    20.3 Managing the URI of the Human Task Service Component Task Details Application
    I have the details in hwtaskflow.xml, but for some reason, they are not automatically created... It is annoying to have this created each time...
    Am i missing something? I don't see any errors in BPM worklist or on the server. Any advice would be appreciated.
    Thanks
    Edited by: user5535771 on Mar 12, 2010 5:01 PM

    Hi Duncan,
    Thanks for your reply.
    The later option of not using Query_Only would involve massive custmizations, as there are so many forms apart from the absence forms.
    There is just one taskflow that contains the person, assignment, Absence and SIT screen, how can we do like an standalone absence screen does not have tehe query only as Yes.
    Please let me know in case you dint get me i will mention my development steps in points.
    Many Thanks,
    Vineet

Maybe you are looking for

  • How to display results set of multiple reports into a single report table

    Our goal is to create a single report (or dashboard) that shows the "funnel" of object creations related to each campaign. The flow goes from Activity to Lead to Opportunity as well as multiple steps within each (ie. Unqualified Lead -> Qualified Lea

  • No more Photoshop tools in Bridge?

    I normally use Bridge in combination with PShop to browse my RAW files then select and use the 'Merge to HDR Pro' script from the tools menu (in Bridge) This feature seems to have disappeared in CC 2014 and been replaced with an Automate script which

  • Is this possible without PBR - Routing from Specific Host to Any

    Hi, I have an issue where I don't currently have PBR options on my core switch. Now I know I can amend the SDM template and enable the routing one then reboot (I'm also runing ipservices). At the moment though this is not an option. I have a host - 1

  • Where to find screen and field definitions?

    Dear All, I need to be able to find all the screen and field definitions that exist in the SAP Repository for an application I am developing.  Can anybody tell me where to find them?  I specifically need to know which field types are defined for each

  • ADF Mobile: What is the row element of AmxAccessorIteratorBinding ???

    I can obtain the iterator, but methods don't give any clue. What shall I cast AmxAccessorIteratorBinding.getCurrentRow or BasicIterator.getCurrentRow ??? None returns any specific type, all are Object. When I capture by propertyListener, it's the sam