Working with Human Task Service

Hello everybody,
I'm trying to do some exercises with Human Task Service and ADF, but I have no clue how to do it. Ok here is what I'm trying to do. I've got a small BPMN process, which calls a WebService and gets a list of locations. Afterwards the locations are passed to the user task. A location is composed of the following elements: street (string), city (string) and a zipcode (integer).
The user should be able to select a startLocation, an endLocation and a startDate when he wants to do his trip. The result should be passed to the process.
So far I've created an Human Task with the following parameters: a list of locations, a start location, an end location and a date. I used the autocreation tool to create an adf form. The tool always creates a single table for the locationList and uses input fields for all the elements of startLocation and endLocation. But I want to use 2 selectOneChoice lists, one for startLocation and one for endLocation. An item in the selectOneChoice list should be a single String containing street, city and zipcode.
Could somebody tell me the basic steps to do so? Where and how can I do the transformation of a 'location' into a single string and vice versa? How to bind a selectOneChoice to locationList and startLocation?
Thank you in advance, Chris

You should be able to drag the parameter of the method over to the page and choose to drop it as a selectOneChoice component - you'll then need to bind it to a data control that will provide the possible list of values.
Here is how you would do this conversion of a parameter to a dropdown list in an ADF BC case:
http://blogs.oracle.com/shay/2009/12/adf_query_with_parameters_and.html

Similar Messages

  • BPEL Test waits forever to receive callback from human task service

    Hi,
    I've created a test (CreditCardInvalidTest.xml) to test a bpel process (testbpel.bpel) which contains a call to a human task service. The problem is when the test executes it waits forever to receive the response message from the human task service but clearly i've emulated it! Would appreciate help.
    I've attached both files and highlighted the relevant sections. Thanks.
    testbpel.bpel
    <process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
    xmlns:client="http://xmlns.oracle.com/testbpel"
    xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
    xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:testbpel"
    myRole="testbpelProvider" partnerRole="testbpelRequester"/>
    <partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
    partnerLinkType="ns5:execute_pptLT"/>
    <partnerLink name="CreditCardService"
    partnerRole="CreditCardServiceProvider"
    partnerLinkType="ns6:CreditCardService"/>
    <partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
    partnerRole="TaskService"
    partnerLinkType="taskservice:TaskService"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="inputVariable"
    messageType="client:testbpelRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:testbpelResponseMessage"/>
    <variable name="n" type="xsd:integer"/>
    <variable name="Invoke_ShipmentService_execute_InputVariable"
    messageType="ns5:orderRequest_request"/>
    <variable name="paymentFault"
    messageType="client:testbpelFaultMessage"/>
    <variable name="ApproveOrder_1_globalVariable"
    messageType="taskservice:taskMessage"/>
    <variable name="orderRejectedFault"
    messageType="client:testbpelFaultMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_6">
    <throw name="Throw_AllFaults"
    faultName="ns8:testbpelGenericFault"
    faultVariable="paymentFault"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:testbpel" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <scope name="CheckForApproval">
    <sequence name="Sequence_4">
    <sequence name="Sequence_5">
    <scope name="ApproveOrder_1"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    wf:key="ApproveOrder_1_globalVariable">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="initiateTaskInput"
    messageType="taskservice:initiateTaskMessage"/>
    <variable name="initiateTaskResponseMessage"
    messageType="taskservice:initiateTaskResponseMessage"/>
    </variables>
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="ApproveOrder_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </from>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    </assign>
    <assign name="ApproveOrder_1_AssignSystemTaskAttributes">
    <copy>
    <from expression="ora:getInstanceId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessVersion()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
    </copy>
    <copy>
    <from expression="ora:getDomainId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
    </copy>
    <copy>
    <from expression="string('BPEL')"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
    </copy>
    </assign>
    <invoke name="initiateTask_ApproveOrder_1"
    partnerLink="TaskService"
    portType="taskservice:TaskService"
    operation="initiateTask"
    inputVariable="initiateTaskInput"
    outputVariable="initiateTaskResponseMessage">
    <correlations>
    <correlation initiate="yes"
    set="WorkflowTaskIdCor"
    pattern="in"/>
    </correlations>
    </invoke>
    *<receive name="receiveCompletedTask_ApproveOrder_1"*
    partnerLink="TaskService"
    portType="taskservice:TaskServiceCallback"
    operation="onTaskCompleted"
    variable="ApproveOrder_1_globalVariable"
    createInstance="no">
    *<correlations>*
    *<correlation initiate="no"*
    set="WorkflowTaskIdCor"/>
    *</correlations>*
    *</receive>*
    </sequence>
    </scope>
    <switch name="taskSwitch">
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <assign name="AssignOrderRejected">
    <copy>
    <from expression="string('Order rejected by manager')"/>
    <to variable="paymentFault"
    part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowOrderRejected"
    faultName="ns9:orderRejectedFault"
    faultVariable="orderRejectedFault"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_1"/>
    </sequence>
    </case>
    <otherwise>
    <bpelx:annotation>
    <bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_2"/>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    </sequence>
    </scope>
    <scope name="CheckCreditCard">
    <variables>
    <variable name="InvokeCreditCardService_process_InputVariable"
    messageType="ns6:CreditCardServiceRequestMessage"/>
    <variable name="InvokeCreditCardService_process_OutputVariable"
    messageType="ns6:CreditCardServiceResponseMessage"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
    <to variable="InvokeCreditCardService_process_InputVariable"
    part="payload"
    query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
    </copy>
    </assign>
    <scope name="Scope_1">
    <compensationHandler>
    <sequence name="Sequence_7">
    <empty name="Empty_3"/>
    </sequence>
    </compensationHandler>
    <invoke name="InvokeCreditCardService"
    partnerLink="CreditCardService"
    portType="ns6:CreditCardService" operation="process"
    inputVariable="InvokeCreditCardService_process_InputVariable"
    outputVariable="InvokeCreditCardService_process_OutputVariable"/>
    </scope>
    <switch name="CheckCreditCardValid">
    <case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
    <sequence name="Sequence_3">
    <assign name="AssignCreditFault">
    <copy>
    <from expression="string('Invalid credit card number')"/>
    <to variable="paymentFault" part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="ns7:CreditCardNumberFault"
    faultVariable="paymentFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <assign name="AssignInitial">
    <copy>
    <from expression="string('Select Manufacturer')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:result"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="n"/>
    </copy>
    <copy>
    <from expression="0.0"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('n') &lt;= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
    <sequence name="Sequence_1">
    <assign name="DoCalculation">
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('n') + 1"/>
    <to variable="n"/>
    </copy>
    </assign>
    </sequence>
    </while>
    <assign name="Transform_2">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="Invoke_ShipmentService_execute_InputVariable"
    part="orderRequest"/>
    </copy>
    </assign>
    <invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
    portType="ns5:execute_ppt" operation="execute"
    inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:testbpelCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    CreditCardInvalidTest.xml
    <BPELTest processName="testbpel"
    xmlns="http://xmlns.oracle.com/bpel/instancedriver"
    xmlns:client="http://xmlns.oracle.com/testbpel">
    <initiate operation="initiate">
    <inboundMessage>
    <part fileName="testInput.xml" name="payload"/>
    </inboundMessage>
    </initiate>
    <activityDriver name="callbackClient">
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="false" patternMatch="false">
    <message>Expected "Select Manufacturer"</message>
    <actualPath>/client:testbpelProcessResponse/client:result</actualPath>
    <expected>Select Manufacturer</expected>
    </assertValue>
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="true" patternMatch="false">
    <message>Expected price of "1"</message>
    <actualPath>/client:testbpelProcessResponse/client:price</actualPath>
    <expected>1</expected>
    </assertValue>
    </activityDriver>
    *<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
    *<emulate duration="PT">*
    *<inboundMessage>*
    *<part fileName="approverResponse.xml" name="payload"/>*
    *</inboundMessage>*
    *</emulate>*
    *</activityDriver>* <--- it waits FOREVER at this bit to receive the approverResponse.xml :s
    <activityDriver name="InvokeCreditCardService">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="creditCardServiceResponse.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    <activityDriver name="initiateTask_ApproveOrder_1">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="getApproval.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    </BPELTest>

    RaviKiran,
    I agree that the explanation oracle provided in the attach link, is a bit confusing. The main goal there is to describe the behavior of processes, when there is a need to combine, or split the transactions within those processes (or in some cases the processes themselves).
    The thing is - The default transaction for a synchronous process is requiresNew. That was until version 11.1.1.6. On this last version, you are asking to enter a Transaction parameter when creating a new synchronous bpel process. The default value being prompt is required and that's what causing the problem – You automatically accept the default.
    The assumption is, that developing bpel processes, should come with understanding of all those behaviors.
    The problem for my understanding is that some of those behaviors were not so cleared until now.
    Arik

  • VBS objshell.AppActivate doesn't work with Windows Task Scheduler

    Hi all,
    This script do the following : 
    Open Adobe Flash media Live Encoder with an encoding profile
    Activate the Adobe Flash... Window
    Send enter key to start encoding
    Set objShell = WScript.CreateObject( "WScript.Shell" )
    objShell.Run """C:\Program Files (x86)\Adobe\Flash Media Live Encoder 3.2\FlashMediaLiveEncoder.exe"" /p ""C:\Users\process\AppData\Roaming\Adobe\Flash Media Live Encoder 3.2\profile.xml"""
    'Loading time
    WScript.Sleep 5000
    objshell.AppActivate ("Adobe Flash Media Live Encoder 3.2")
    WScript.Sleep 5000
    objShell.SendKeys "{ENTER}" 'start encoding
    This script perfectly works manually, but the objshell.appactivate command doesn't work when i run it with the windows task Scheduler.
    Any ideas ? Thx

    Hi to all! I have found workaround for this issue - I wrote vbs, made run it via bat file, and converted the bat file to exe
    vbs
    Set oShell = CreateObject("WScript.Shell")
    If oShell.AppActivate ("Connecting error to Bee") Then
    WScript.Sleep 2000
    oShell.SendKeys "%{F4}"
    End If
    bat
    start C:\Users\User\Desktop\close.vbs
    bat to exe
    Advanced BAT to EXE Converter v2.83
    I know it's some weird solution but it is working with Win Task Scheduler correctly. Try it ;)
    In some cases you need to mark checkbox "run this program as an administrator" and (or not) disable UAC.

  • Does ws adapter only work with asynchronous web service?

    Hi all,
    can you please confirm whether or not ws adapter (PI 7.1) only works with asynchronous web service?
    I have created an async. outbound service interface in PI 7.1, generated the client proxy in ECC, created an web service based on the proxy, wrote a test program to call the web service (PI scenario uses ws adapter in the sender CC). Everything works fine.
    Then I did the same thing with sync. outbound service interface. I got exception while calling the web service in ECC.
    I've heard that ws adapter is designed for async. communication. Does it mean that it won't work with sync. web service?
    I haven't seen any official SAP document saying taht ws adapter only works for async. web service. If you have any, can you please share it?
    Thanks
    Jayson

    Thank you all for your information.
    The error I got when calling the proxy with logical port (web service) is:
    SOAP:1,007 SRT: Unsupported xstream found: ("HTTP Code 404  : Not Found") 
    I will debug it to see what exactly happens. And will keep you guys updated.
    Just debugged, the error is because the http header's content type is text/html while it should be test/xml. However this type is set by the ws runtime, not by the application. Anybody has an idea about this?
    Jayson
    Edited by: Jayson on Feb 18, 2009 10:04 AM
    Edited by: Jayson on Feb 18, 2009 12:11 PM

  • Working with "Adaptive web service model"

    Hi,
    Please refer any blogs or documents related to working with "Adaptive web service model".
    Thank you.
    Regards
    Bhanu.

    Hi,
    refer these,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d076c662-8c0f-2b10-8ca4-e63c26e2e489
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e
    How To Reimport Web Service Models in Web Dynpro for Java
    The specified item was not found.
    Using RFC as WebService in WebDynpro
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
    http://help.sap.com/saphelp_nw04s/helpdata/en/46/ddc4705e911f43a611840d8decb5f6/frameset.htm
    Regards,
    ramesh
    Edited by: Ramesh Babu V on Oct 20, 2008 2:44 PM

  • 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

  • Human Task service not working

    Hi helping hands,
    I recently stepped into BPEL world.
    I created a human task for approve & reject, when I try to run this in BPEL engine, its giving me orabpel-10561 error and the msg: creator is empty.
    I tried to find this error code,however I wasnt getting anything from anywhere.
    I use SOA suite 10.1.3.1.
    If possible give me a link, to learn about human task.
    Thanks, Viki

    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/workflow.htm#BABFICJF
    This will give you a good overview of the human task

  • Unable to deploy BPM projects with human tasks from BPC

    I’m trying to edit and deploy a BPM process from Business Process Composer (web based tool). To do it, I followed the steps below:
    1.     I created I project in JDeveloper
    2.     I created the Human task from using the “Auto-generate task form” option
    3.     I converted it to a template
    4.     I published it to BPM MDS
    5.     On Business Process Composer I created I new project based on my published template
    6.     And I finally I deployed it with no errors.
    When I ran the BPM it creates I human task but I’m not able to access its form on Business Process Workspace.
    On Business Process Workspace I can see the task created by my BPM process, but when I click on it to access its form I get a 404 message (message below).
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    I think this error occur because my Task form project was not deployed. To fix it I undeployed all the applications and then I deployed the BPM application with all its tasks forms from JDeveloper. It worked fine (I can actually access the task form on Business Process Workspace), but now I’m not able to edit the BPM process on Business Process Composer anymore.
    Then I finally repeated the steps 3 to 6 on top of this post in order to make the BMP process editable on Business Process Workspace but this time I receive the error at the end of this post taken from server log.
    No matters if I publish the project on MDS BMP repository as a template project or as non template project. I always have the same problem.
    So, how can I use a BPM project that contains Human Tasks forms on Business Process Composer?
    I’m using:
    •     JDevelopper: 11.1.1.5
    •     Oracle Soa Suite 11.1.1.5
    Error:
    <Error> <ServletContext-/soa-infra> <AUSDCCMTPRF03> <soa_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <daba687c30fc2ae1:5f5821e2:131915bbc92:-8000-000000000001c442> <1312478914395> <BEA-000000> <Error during deployment
    oracle.fabric.common.FabricException: Deployment Failed: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
         at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:62)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:378)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:226)
    Caused By: oracle.fabric.common.FabricException: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:244)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
    Caused By: oracle.fabric.common.FabricDeploymentException: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    {rootCauses=[]}
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:908)
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:368)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:239)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.

    I came across the same issue, and now resolved it like this.
    Firstly, you shouldn't deploy QuoteProcessLab with other UILabs like ApproveDealUILab and so on. So, if you already did it, then go to Weblogic EM and undeploy it.
    Secondly, you should deploy each of UILab separately as standalone application. So, deploy EnterQuiteUILab, BUsinessPracticesUILab, and so on each. These will run independently behind and when your project created based on template in the Composer runs, it will link each of these on human task.
    Thirdly, publish you QuoteProcessLab. And follow the book about how to create a project based on template in the Composer.
    Just one thing you should be careful with is, when you do auto-generation for human task, it sometimes doesn't work fully, unfinished halfway through. So, make sure that the icon 'go to existing business form taskflow' in .task file takes you to the human taskflow.
    If it fails, do another auto-generation. Sometimes DataBindings.cpx can get corrupted by JDev, but let's not go too far for now.
    Mostly, it will work.
    Sung

  • Problem with Human Task(hw_services)

    Hi,
    We are facing a problem using the Human Task in a BPEL process.
    When we add a human task and for any BPEL process in Jdeveloper and tried to add a new user to it no Realm is getting selected.
    And when we try to lookup for users getting an error message
    ' Identity Service Client Error
    BPMIdentityService has client error
    Contact oracle support if error is not fixable'
    We're using the default settings for security on dev server.
    Our SOA suite configured on HP-UX machine and using Oracle XE DB which is on Windows XP machine.
    This is working fine with other configurations working on Windows machines.
    And other interesting thing we found is,When we open the em console we didn't find any webservices unders 'hw_services'
    ( IdentityConfigServicePort,IdentityServicePort IdentityService, TaskMetadataServicePort TaskMetadataService,TaskQueryServicePort TaskQueryService,TaskServicePort are not there)
    seems our hw_services are not configured properly. Everything else is working fine.
    Please help advice as it is very urgent...
    Thanks in advance...
    -Sri

    Hi Marc,
    Thank you very much for the reply.
    WorkList Application's URL mentioned in the wf_config.xml is working fine and we are getting the login page.
    But the SOAP endpoints mentioned in wf_client_config.xml for other webservices like Identity Services are not working. Getting HTTP 404 Not Found error message
    We didn't face any other problems with the config.
    Please help advice whether any other details are needed to solve this issue....
    Thanks again...
    -Sri

  • Will ipod touch 4 gen work with windows vista service pack 1?

    Will ipod touch 4 gen work with vista service pack 1?

    All Apple says is:
    PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    Does it work/sync with SP1?
    Why not update to latest Vista?

  • Team Explorer don't work with Employee Self Service

    Hi,
    We're testing the <b>Team Explorer</b> iview on our EP 6.  After long tests, we had success in show all data that <b>TeamViewer</b> has. Now, we are facing another error (or maybe not). The Team Explorer iView doesn't work with ESS iView. When I pick somebody on the <b>TeamExplorer</b>, the ESS iView has no reaction. And here is my question. Somebody knows if the <b>Team Explorer</b> iView was made to interact with <b>Employee Self Service</b> iView? Like the TeamViewer it's able to with "<b>ESS in MSS</b>" functionality.    Waiting for news.
    <i>Best Regards,</i><b>Daniel Kiel</b>

    Hi Daniel,
    the Team Explorer doesn't work with ESS-iViews, cause these iViews don't react of the raised events. The other way around, you can use MSS-iViews in ESS. Just hide the Team Explorer.
    Sebastian

  • 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

  • How can Lion upgrade work with Microsoft Terminal Services.

    We have a new Mac Mini and was told that Lion would work with Microsoft's Terminal Services.  If this a correct statement because 'NOW " we have been advised they are not compatible unless we use parrallel or bootcamp is this correct?

    Do you want to use the Mac mini to connect to a Windows system using the Windows Terminal Services protocols?  Then you can install an RDC (Remote Desktop Connection) client.
      Microsoft Remote Desktop Connection Mac OS X Client (free)
    <http://www.microsoft.com/mac/products/remote-desktop/default.mspx>
      CoRD (Microsoft RDC Screen Sharing)
    <http://www.macupdate.com/info.php/id/22770/cord>
    On the other hand, if you wanted to use the Mac mini as a server and have Windows systems connect using Windows Terminal Services, that is not going to happen, unless you install Windows on the Mac mini.
    If you want to just remote connect to the Mac mini and see the screen from a Windows system, you can use a Windows VNC client (there are many VNC clients available) to connect to the Mac mini, after enabling System Preferences -> Sharing -> Screen Sharing.  If the Mac mini has multiple accounts, you should be able to have multiple users connect concurrently, however, a Mac mini is not all that powerful, so I would not expect a lot of concurrently users can use the system at the same time.
    If the above has not answered your questions, please be more specify about what you want to do with the Mac mini.  Maybe some explicit examples.

  • 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

  • JFileChooser() not working with windows task scheduler

    I have a program that would send emails with attachments to users. The program should be ran according to the scheduled time, and because of that I use task scheduler to do it for me. I did all necessary steps to make this happen. (create .bat file to activate/run the jar file then task scheduler will trigger the .bat file if it hits the stated schedule.) The problem right now is that when the program is ran or is triggered by task scheduler, it gives off this error:
    java.lang.NullPointerException
    at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
    at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)I tried running it manually by using the .bat file and it works fine with no errors or whatsoever. I'm suspecting it has something to do with jFileChooser() because It wont retrieve the attachments in the default directory, but I'm not sure, there might be other causes. Here's the function that retrieves the attachments in the default directory:
    public String getMyDocument(String filename)
         JFileChooser fr = new JFileChooser();
         FileSystemView fw = fr.getFileSystemView();
         return fw.getDefaultDirectory().toString()+"\\"+filename+".xls";
    }PS.
    All required attachments are present in the default directory, no misspelled words or misplaced characters. I also did some research but so far i haven't found any solutions yet.

    gimbal2 wrote:
    sabre150 wrote:{quoteStrange code anyway to use a filechooser to get a directory, especially when apparently no actual GUI is created. My immediate thought when I saw the code. I'm not even sure there is a default directory if the component is not realized but I have never checked. I would like to suggest to the OP that he uses the "user.home" directory but again I have never checked where that points when used with the task scheduler. It could be that it is not defined and that file chooser uses this as the default if not explicitly set. This is why I suggest that the OP writes out the value.

Maybe you are looking for

  • URGENT ISSUE Flexfield segment disabling on tab out event

    I have a flexfield on my page. i have to set one flexfield segment(A) disabled when we tab out of the other flexfield segment(B) (i.e.wen B loses focus) how do we capture such an event and show results thru a controller class? Is it a case of partial

  • Can you add plugins to imovie 11

    Can you add in new transitions to imove11???

  • Disk Quota not enabling

    Folks, We're having a problem with enabling quotas on our client accounts. I've set everyone's account limit in workgroup manager, then under server admin i've ticked the box to enable quotas, but it won't save. At first, this didn't seem to be a pro

  • Default behavior of tableSelectOne

    Hi all, again. What I can do so that the tableSelectOne do not mark any row the first time that page is loaded? Thanks!

  • Intermittent errors with mxmlc

    Hi All, I have recently begun to encounter intermittent errors when executing the mxmlc ant task.  This appears to be some sort of timing issue, because I can just re-run the task and have the build run to completion.  The errors that I get vary, but