Human Task in Empty Process

Hi Guys!
Can someone tell me how to create a Human Task in an empty project?
These are the problems i m facing:
1. I dont have any schema in my process so i cannot choose the task parameter
2.If i choose initiateTask from workflow.xsd as the task param then the task jsps are not generated
3.If i create a variable from a schema and use it then it will say unresolved variable ..make sure it is in any of the WSDLs referenced..
4.Morever i can't import the schema which initiates the process as it has some imports and jdev says problem building schema
Any suggestions as how to go about this?

Well you must understand what the 'sync' part in your process is.
if you have a process with is sync and in it you put a human workflow which will give his callback like 3days later before your own process gives the reponse back to the caller, how do you want to communicate this to the caller ?
normally you use a sync process which will give the response back in a few moments, so the caller can wait on it, he won't wait on it for 3days.
so for you the question, whats the reason why it needs to be sync, what do you want to do with the response (even if it's getting back to you after 3days)
if it's after 3 days, why not just make the process async and put the response on for example a queue

Similar Messages

  • Reusing Human Tasks across BPM Processes with different Data Objects

    Hi
    JDeveloper 11.1.1.6, WLS 10.3.6, SOA/BPM 11.1.1.6
    I have defined 2 BPM Processes, P1 and P2, which has 2 different Process Data Objects O1 and O2.
    But I am reusing the same Human Task in both the processes.
    For the Human Task to support the activities in both the processes, I have added O1 and O2 Data Objects in the Human Task Definition.
    And hence the ADF Taskflow / page generated out of the Human Task will have both the Data Objects O1 and O2 as payload objects in the Page.
    When an instance of Process P1 is created, the payload O1 will have values, but O2 will be null.
    And when an instance of Process P2 is created, the payload O2 will have values, but O1 will be null.
    It works well like this, but I am a bit concerned about the performance from BPM Process and also ADF page.
    In ADF page, let us say, somehow I can control the rendering of the attributes or creation of the iterator bindings based on identifying which process is being executed.
    (By setting the iterator binding refresh property in page definition)
    In this way attribute bindings for O1 will not be created when P2 is being executed.
    But still when the Process instance is created, and when we see the payload structure of the human task in the EM - Audit Trail,
    I still see both data objects O1 and O2 are created in the Payload, but O1 will have nulls in process P2.
    So my question is, from performance point of view, is it advisable to define different Data Objects in reusable Human tasks ?
    Or should I have to define a separate Human Task definition which contains only the Data Objects related to the process it is being called from ?
    Thanks for any help
    Sameer 

    Martijn,
    You are correct in your assessment that the JAG in the current JHeadstart release cannot cope with multiple bc4j packages. There is no work around for this. Upgrading to 9051 will not help.
    In the JHeadstart-ADF release, this restriction has been lifted. You can place your EO, VO and AM objects in different packages, and you can group them in a separate project (Model project), while generating your JHeadstart application in a ViewController project.
    We have a number of customers that use the latest JHeadstart-ADF builds to build their ADF apps. If you are interested in joining this beta program, please send an e-mail to [email protected]
    Steven Davelaar,
    JHeadstart Team.

  • Strange human task error in BPEL process

    When we call a human task in BPEL process we are facing following error .
    We can't reach any information about that?
    is there any one face before?
    Thanks.
    Exception Trace:
    javax.servlet.ServletException: Cannot find work items.
    An attempt to fetch the work items using the where condition
    "cikey = ? and ( node_id like 'BpInv%' or node_id like 'BpRcv%' or node_id like 'BpOMs%')" from the datastore has failed.
    The exception reported is: Invalid column name 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:
    SELECT * FROM admin_list_wi
    WHERE ci_domain_ref = 0 AND cikey = ? and ( node_id like 'BpInv%' or node_id like 'BpRcv%' or node_id like 'BpOMs%') ORDER BY wi_creation_date at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:866) at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at ngWSActivityList.jspService(_ngWSActivityList.java:291) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160) at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102) at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:453) at displayInstance.jspService(_displayInstance.java:676) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

    Have you patched BPEL with any of the MLR releases? Some of the patches contain DB scripts that must be run separately from the patch install.

  • Process with Human Task (Deployment problem)

    Hi Every1,
    I'm a rookie BPEL developer who ran into a problem. I'm using a separate machine as SOA server, because I couldn't install it on my dev machine for some unknown reason. In the beginning, after setting up the necessary connection settings in Jdev everything worked fine. But when I use a Human task in my process flow and auto generate a task form for it then I can't deploy my process to the server anymore. I've found this problem in other topics, but none of the solutions worked in my case. There are mainly two reasons mentioned: 1. RMI settings - Tried to set it in build.properties, but nothing changed. 2. JDK version differs on dev machine and server - In my case, both the dev machine and the server has exactly the same version (1.5.0_06). Is there any other ideas what could be wrong?
    Thanks,
    Peter Neumann
    Finally, here is the Ant log:
    Buildfile: C:\oracle\JDev\jdev\mywork\BioTest2\BioBPELProcess2\build.xml
    [java] Java Result: 1
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/oracle/JDev/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process BioBPELProcess2 on ipds-np-laptop, port 8888
    [deployProcess] Deploying process C:\oracle\JDev\jdev\mywork\BioTest2\BioBPELProcess2\output\bpel_BioBPELProcess2_1.0.jar
    [deployProcess] Successfully deployed the process "BioBPELProcess2" on server "ipds-np-laptop" and port "8888"
    deployTaskForm:
    [echo]
    | Deploying workflow form for BioBPELProcess2 on ipds-np-laptop, port 8888
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Uploading file default_BioBPELProcess2_1_0_HumanTask1.ear ...
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Application Deployer for default_BioBPELProcess2_1_0_HumanTask1 STARTS.
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Undeploy previous deployment
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\default_BioBPELProcess2_1_0_HumanTask1.ear begins...
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Initialize D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\default_BioBPELProcess2_1_0_HumanTask1.ear ends...
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Starting application : default_BioBPELProcess2_1_0_HumanTask1
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Initializing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Initializing EJB container
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Loading connector(s)
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Starting up resource adapters
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Initializing EJB sessions
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Committing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Initialize workflowform begins...
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Initialize workflowform ends...
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Started application : default_BioBPELProcess2_1_0_HumanTask1
    [deployTaskForm]
    [deployTaskForm] 09/02/06 11:17:35 Notification ==>Application Deployer for default_BioBPELProcess2_1_0_HumanTask1 COMPLETES. Operation time: 453 msecs
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] BindWebApp error: javax.management.ReflectionException
    [deployTaskForm]
    BUILD FAILED
    C:\oracle\JDev\jdev\mywork\BioTest2\BioBPELProcess2\build.xml:97: Error while deploying the form on server "ipds-np-laptop" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:141)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:818)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:578)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:849)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:875)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 19 seconds

    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

  • Add a Human Task in BPEL but it shows as an Auto Task in BPA

    Hi, all,
    I create a BPMN flow in BPA and mapping to BPEL. And I add a Human Task in jDeveloper, and saved back to BPA server. But the problem is the updated BPMN flow shows that I added a Auto Task in BPA. Could you help me on that? Thanks in advance.
    Best Regards,
    Bill

    Hi Bill,
    Prefatory a quick intro on the basic idea of the BPA concept and a few personal recommendations. In general all changes on the control flow should be initiated top-down from the business process, which means your requirement becomes relevant only in certain cases. If the refinement of the BPEL process is going beyond the technical implementation, then the BPMN diagram itself needs to be corrected. That being said, in certain cases it may be sensible to make use of the improvement proposal feature (e.g. the IT developer recognizes the need of an additional service invocation, so that the control flow of the business process has to be refined).
    Referring to your issue these changes are displayed as Automated Activities (abstract) in the superior business process (in BPA). For this reason some activities require a different approach when it comes to accepting or rejecting by the business users. The description below provides an overview about how-to add activities in BPEL subsequently (as improvement proposals) and how they will be represented in the superior business process after synchronization (personal recommendations).
    Control flow
    Email, Fax, Pager, Pager, SMS, Voice+
    BPEL process (JDeveloper)+
    Encapsulate within a separate Abstract activity - choose a name, which helps to identify that this should be a Notification activity (define naming conventions in the conventions handbook).
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Notification' in the Symbol-dropdown list - the object appearance changes.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Invoke+
    BPEL process (JDeveloper)+
    Encapsulate within Abstract activities.
    Business process (BP Architect)+
    If encapsulated within an existing scope in BPEL - not visible in the superior process.
    If encapsulated within an Abstract activity in BPEL - represented as Automated Activity (abstract).
    Human Task+
    BPEL process (JDeveloper)+
    Encapsulate with an a separate Abstract activity - choose a name, which helps to identify that this should be a Human Task activity (define naming conventions in the conventions handbook). Ignore the Switch activity that will be added below the Human Task.
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Human Task' in the Symbol-dropdown list - the object appearance changes.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Receive, Reply+
    BPEL process (JDeveloper)+
    Encapsulate within Abstract activities.
    Business process (BP Architect)+
    If encapsulated within an existing scope in BPEL - not visible in the superior process.
    If encapsulated within an Abstract activity in BPEL - represented as Automated Activity (abstract).
    Decide+
    BPEL process (JDeveloper)+
    Add a new Abstract scope - choose a name, which helps to identify that this should be a Business Rule activity (define naming conventions in the conventions handbook). Place an Empty activity inside the scope.
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Business rule function' in the Symbol-dropdown list - the object appearance does change.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Flow, Switch, Pick+
    BPEL process (JDeveloper)+
    Only new branches within existing activities can be added subsequently. Each branch should contain at least one Abstract activity.
    Business process (BP Architect)+
    New activities should be defined in the superior business process.
    Displayed as gateways (AND, XOR <event-based>, XOR <data-type>, OR) - the definition of these activities should be initiated in the business process.
    While+
    BPEL process (JDeveloper)+
    Only within existing scopes. Loops should be defined in the superior business process.
    Business process (BP Architect)+
    If not encapsulated within a scope in BPEL - will be represented as Automated Activity (abstract).
    If encapsulated within an existing scope in BPEL - not visible in the superior process after synchronization.
    If encapsulated within an Abstract in BPEL - will be represented as Automated Activity (abstract).
    Implementation
    Assign, Transform, Throw+
    BPEL process (JDeveloper)+
    Only within existing scopes.
    Business process (BP Architect)+
    Not visible.
    Wait, Terminate+
    BPEL process (JDeveloper)+
    Not recommended to add them subsequently - should be defined in the superior business process via Intermediate events (BPMN).
    Business process (BP Architect)+
    Displayed as intermediate event - the definition of these activities should be initiated in the business process.
    Kind regards,
    Danilo

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

  • WDA Human Task does not complete/close

    Hi experts,
    I'm still struggling to flex web dynpro abap and BPM together.
    After embedding a wda chip as human task within my process, I face the next problem: The event defined as outport in my wda chip does not close the task when fired from my wda component controller. The page isn't affected by the event at all, the task is not completed. I debugged the wda method and found it throwing the event as expected.
    Since the wda page is opened as expected and shows the data mapped via Input Mapping I think the chip and system landscape definition (done via the portal system administration) are correct.
    Any clues on this? What am I missing?
    Thanks and kind regards,
    Helmut

    Hello Abhilash,
    thanks for your answer!
    I created the event (wih one parameter) in the WDA componnt controller and the component interface and made sure it is thrown correctly (I checked it via debugger).
    In the Chip I created an Outbound port (again with the parameter) and tagged it as CHIP_CONTRACT:PROCESS_STEP_END_POINT.
    On the consuming side I did nothing special with the outbound event but mapping it's output to my process context.
    Kind regards
    Helmut

  • Human Task JSPs not deploying on SOA 10.1.3.1 production

    Hi All,
    I am trying to use a custom JSP for a Human Task on SOA Suite 10.1.3.1 & JDev 10.1.3.1. It seems that the JSPs are not being deployed, or they are being deployed in the wrong place.
    The error I get in the Worklist application, when I try to view a task is:
    The requested URL /default/FridayMorning/1.0/HumanTask1/HumanTask1.jsp was not found on this server.
    I have tried this on multiple SOA Suite server machines, one with only one domain, and one with multiple domains, and have also tried developing the project on different JDevelopers on different machines, with the same result.
    I could not find the JSP registered anywhere on the AS Control. I understand they are meant to be deployed under orabpel?
    The BPEL Suitcase does not contain any jsp files, and in the output directory, there is a .jsps folder which contains the java and class files that relate to the JSPs.
    To recreate:
    Open JDev
    Create a new application
    Create a new BPEL project
    Drop a Human Task into the process
    Give it a name
    Click on the magic wand to define the task
    Give it a name
    Click on the + to add a parameter, select the payload of inputVariable
    Click on the + to add someone to route to, pick a user
    Save
    Close Human Task
    Save process
    In the Applications Navigator, expand the project, right click on the HumanTask folder and select Auto Generate Simple Task Form
    Save all
    Build all
    Deploy to BPEL server
    Go to BPEL console, start the process
    Go to BPEL worklist, select the task
    The error appears.
    We have also tried using custom JSPs (instead of simple ones).
    Also, I noticed that if you delete task form files from the popup menu, and then regenerate them, you only get the .tform file, no JSPs are generated.
    Can anyone else verify this happens to them?
    Thanks,
    Mark Nelson

    OCMS stands for Oracle Communication and Mobility Server and is basically a SIP Container embedded as a hook into OC4J 10.1.3.1. I'm using JDK 1.5.0_12-b04. Wondering if there's any other way to check configuration of the JSP compiler.
    Thanks for your help,
    Adam

  • Sub task for a human task

    dear team,
    Hi I am working on SOA 10.1.3
    I have a human task in bpel process. I want to create a subtask for that programtically.
    Can I create a sub task programatically?
    Regards,
    Radha

    There is no functionality in bpel to create subtask...you just need to creat new task or re-execute them in some sort of loop.
    If im not wrong 11g got functionality to create subtasks/wizzard-style tasks

  • Accessing output variables from human task

    Hi,
    I added a human task in my process (jdev 10.1.3) and set up a parameter to be an input field in the jsp. However, I could not find a way to copy the value from this particular variable even though this parameter is a child of payload. Do I have to define the query manually or did I miss something?
    Thank you for advice,
    Mirco

    Ok, I crosschecked the examples and it seems, that there is indeed an example for what I am looking for. In the LoanPlusDemo there is a StarLoan process and that contains the following assignment following a human task:
    <sequence id="BpSeq3" >
    <assign id="BpAss4" >
    <copy>
    <from variable="LoanApproval_globalVariable" part="payload" query="/task:task/task:payload/auto:loan"/>
    <to variable="loan" query="/auto:loan"/>
    </copy>
    </assign>
    </sequence>
    Now considering the input structure:
    <task>
    <title>Loan application for</title>
    <payload>
         <loan>
         <loanApplication>
    <ns1:SSN>123222</ns1:SSN>
    <ns1:email>[email protected]</ns1:email>
    <ns1:customerName/>
    <ns1:loanAmount/>
    <ns1:carModel/>
    <ns1:carYear/>
    <ns1:creditRating/>
    </loanApplication>

         <loanOffer>
    <providerName>Star Loan</providerName>
    <selected>false</selected>
    <approved>false</approved>
    <APR>47</APR>
    </loanOffer>
    </loan>
    </payload>
    How do you know how exactly to create the copy rules? JDev does not support this, that much was answered before. I would absolutely appreciate if someone could
    1. Tell me something about the namespaces in the copy rules e.g. why is it /auto:loan and not just /loan?
    2. An example on how to create such things.
    One of the two might be sufficient.
    Thank you.
    Hinrich
    Message was edited by:
    punkrock77

  • Is it possible to update the human task payload without using worklist API but only using advance routing rule.

    Hi,
    I have one human tasks in BPEL process in which i am using different stages and with using advance routing rules i am routing my task payload to one stage to another.My payload has Task Status and Branch,after approving the human task from first stage I want to send modified value of the Task Status to the next stage without using worklist API or manual updation but only using the advance routing rules,is it possible ??? If anyone have any idea about this than please enlight me with your valuable solutions and  advices...
    Thanx
    Regards
    Ajral

    Hi SamGoe,
    According to your description, my understanding is that you want to update the PoerPoint slide from SharePoint 2010 slide library automatically.
    It seems to be not necessary to use Macros. SharePoint provides an OOB way to notify you to check for update to the slide library slides when you open the presentation. PowerPoint does this because you selected the option
    Tell me when this slide changes when you copied the slides from the library.
    More information, please refer to the link below:
    http://office.microsoft.com/en-us/powerpoint-help/sharepoint-slide-libraries-ii-use-slides-in-the-library-RZ010254089.aspx?section=6
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Reject flow with Human Tasks

    Hi, I'm trying to model something similar to picture 10.1-1 in the %BPA_SUITE_HOME%\doc\en\method_manual_s.pdf. The only diference is that I use Human tasks instead of processes.
    I describe my model a bit:
    * I have 2 pools.
    * In each pool I have one Human Task (A and B):
    - HT A fill in a document with data
    - HT B validate the data and let the flow go on or ask HT A for more information.
    * HT A sends a message (through a message flow connection) to HT B
    * In case HT B rejects the document, it goes back to HT A. I modeled this by putting an XOR (data-based) Gateway and a message flow to HT A. In case HT B accepts the document I put a sequence flow to another activity in the same pool of HT B
    Is the model clear? In case it is clear, I explain the error I'm getting:
    When I try to transform BPMN process to BPEL process, I get a pop up that says:
    "Unable to perform transformation.
    Internal error.
    There are semantic errors in this model. The errors have been displayed on the model"
    After that warning a signal appears on the upper-right corner of HT A with the following tooltip:
    "This node is being cross-referenced. Please remove one of the incoming connections"
    is it posible to go back to (reinstantiate) a Human Task?
    Thanks in advance.
    Neuquino

    This relates to a (structural) problem translating between BPMN and BPEL: BPEL has no goto, BPMN does. (See my blog about the subject: http://www.approach-alliance.nl/index.php?option=com_jd-wp&Itemid=2&p=31 )
    From a business process point of view: is the task you redirect the flow to, exactly the same task? I think not. The first time it is called, it involves filling out the form. The second time it is correcting the form...
    So if you change it to: HTA1: fill out the form, and in case B rejects the document, a new task: correct the document. This is also relevant from a management point of view: you want to minimize the correction, not the occurrences of filling out the form...
    Hope this helps,
    Lonneke

  • Can I build an user Interface using a proccess with Human Task?

    Hi,
    I'm building an application, web application, with a several screens. The application just will be used for entering some data and depending on the data entered, some bpel process will be launched.
    I'm thinking about implementing a MVC using a BPEL Process with Human Task. I mean: I'll make everything with bpel process (*including the application*). I would make a bpel process with some human task. This process would be like a Spring Webflow file or similar. Each screen wouldl be a human task but with synchronus nature. Will it be possible? Will it be so complicated? Is it usual?
    Other way would be making a web application to enter data and then launch a proccess that will record the information in the database. That would be the normal way.
    Thank you so much.

    Hello,
    There's a more powerfull solution you may use.
    You can create a View. Some Views can be updatable (it means that it's possible to update
    the Table from the View) and, you can add constraints (Primay Key) on a View.
    For instance:
    CREATE OR REPLACE VIEW {color:red}User2.view_name{color}
    ({color:red}col1{color}, {color:red}col2{color}
    UNIQUE RELY DISABLE NOVALIDATE,
    CONSTRAINT {color:red}pk_view{color}
    PRIMARY KEY {color:red}col1{color}) RELY DISABLE NOVALIDATE
    ) AS
    SELECT {color:red}col1{color},{color:red}col2{color} FROM {color:red}User1.Table1{color};This example is from the link bellow:
    [http://www.psoug.org/reference/views.html]
    Hope it can help.
    Best regards,
    Jean-Valentin

  • Start following process human task direct from exising one

    Hi all,
    Is it possible to start the following human task inside an integrated BPM process directly from the former (now in usage) task??
    For understanding the scenario: I want the user to edit some global ERP data and after ending this, the global data should be posted to ERP with a direct RFC call, which can be the next step in BPM process (but I also can call it from UI). The first task has to be closed, because of data flow controlling parameters. The next human task, to edit local ERP data should be started immediately. I don't want the user to go to UWL again.
    I thought about starting the BPM process with the BPM API, so that I can save process instance ID in context. Is it possible to get the task ID of the actual task of the process? And is the next task callable directly in the same window or another window or tab?
    Any suggestions?
    Thanks
    Alex

    Hi Alexander,
    yes, this could be possible with the public API in EHP1 of NW 7.3 (currently in rampup).
    There you have the process instance ID available in the process context, so you can map it to the task.
    Then, use the public API to retrieve the task for the given process instance, and then forward to the task URL.
    You would need to implement some kind of polling mechanism though, since it may take some time until the next task is created (this happens asynchronously).

  • Using Human tasks in a BPM process

    Hi
    I managed to deploy the VacationRequest sample which uses human task in a BPEL process.
    I want to implement the same human task in a BPM process. Are there any tutorials or stepswise guide for the Vacation Request sample using BPM process?
    Also, what are the main differences between a BPEL and a BPM process because most of the things that are done in BPEL can be done in an BPM process as well.
    Thanks

    I was able to implement the same using a BPM Process.
    For those of you, who may require the steps:
    1. Create a webservice based on the VacationRequest.xsd with VacationRequest as request and VacationResponse as CallBack
    2. Create a human task and task flow as described in the VacationRequest.pdf provided along with the sample.
    3. Create a BPMN process, associate the Start Event to the WebService Interface and map the request and response.
    Also associate the End Event to theWebService callback port.
    4. Deploy the process and taskflow.
    But I have a query here? Even in the sample given(using bpel process) how will the requestor know that the leave has been approved/rejected.
    what exactly is sent out as the response to the call back port. And, where can the requestor view the response?
    Regards

Maybe you are looking for