Missing Outcomes for Human Task in Auto-Generated ADF Project
Hi
I am using SOA Suite 11g (11.1.1.5) and have created a Human Task in my composite application and then auto-generated the appropriate task form using the wizard which has been successful and created the ADF project.
My task has 3 outcomes the responses of which are then mapped out in the BPEL process.
When the human task is raised it puts a notification in the BPM worklist as expected however the 'Actions' list on the notification is blank? I was expecting there to be 3 values in the Actions list one for each of my outcomes.
I have tried re-building the ADF project from scratch from the task flow but still no joy.
I have not changed the ADF project over its default.
My next step is to look into the binding on the Actions picklist but I thought this was standard functionality and that the wizard handled this at the point of form generation.
Any assistance greatly appreciated.
Hi
User error.
I had sent the task to a group rather than a user. Before the task outcomes will display in the ADF page a user must first claim the notification using the 'Claim' button. On re-selecting the notification the task outcomes display as buttons.
Similar Messages
-
Classes generated for Human Task UI
Hi All,
I created ADF UI out of a human task (using Automatically generate form option). After generating, I can see lot of .xml files under the HumanTaskForm package, in the newly generated project. I would like to know the way in which these classes (Java Bean) are generated under the HumanTaskForm package.
Also, when I update some values in the UI page at runtime, I am able to see the change , in the response message of the HumanTask. I would like to know, from where the binding information come from, for those UI components, so that they are able to update!
Kindly give me some good documents that would explain me regarding the bean classes generated for HumanTask.
When I searched for the same, I could get the documents regarding the configuration of Human Task only. I need information regarding the Bean classes for Human Task.
Thanks,
Sabarisri. NPlease post on the Jdeveloper and ADF Forum where you will get more help
JDeveloper and ADF -
Libraries for Human task in managed server
Hi All,
We are using SOA Suite 11.1.1.6 for the current project. I have a questions regarding the setup of the managed server for Human Task Flow. For specific reasons, in our domain, we have three managed servers: admin, soa and taskform. The managed domain "taskform" will hold all ear project for human tasks.
The question is while configuring the domain, which libraries should we install in the "taskform" managed server?
Thanks in advance.
StevenHi,
Have a look at
http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bp_designtf.htm
section 28.8.4 How To Deploy a Task Form to a non-SOA Oracle WebLogic Server
This is the 11.1.1.5 documentation I am sure there would be an equilivant in your version.
In theory the URL should be provided by the deployment process but you can check this
In EM click on the composite with the human task component in it
Under Component Metrics click on the human task component
In the Administration tab you should see an entry which is the URI to the task form
As I said I havn't got this working on our system yet and I would be intrested in hearing if you are sucessful
Robert -
Unable to select an outcome in human task
Folks,
I’ve been trying to get a simple human task to work but as of yet I am unable to. I’ve followed the instructions in the BPEL Process Manager Developer’s Guide (10.1.3) and am using the “Auto Generate Simple Task Form” to create the display.
I can deploy the process without incident and am able to claim the task and see parameters passed in. I am not, however, able to see or select the outcome (which I have defined as ‘Approve’ and ‘Reject’).
The .task file is as follows:
<?xml version = '1.0' encoding = 'UTF-8'?>
<taskDefinition targetNamespace="http://xmlns.oracle.com/human_work"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://xmlns.oracle.com/bpel/workflow/taskDefinition">
<name>human_work</name>
<id>${domain_id}_${process_id}_${process_revision}_human_work</id>
<title>Task!</title>
<priority>3</priority>
<process processId="" processVersion=""/>
<routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
<globalConfiguration>
<owner>oc4jadmin</owner>
<earlyCompletion>
<outcome>APPROVE</outcome>
<outcome>REJECT</outcome>
</earlyCompletion>
</globalConfiguration>
<participants isAdhocRoutingSupported="false">
<participant name="taskApprover">
<resource isGroup="true" type="STATIC">oc4j-administrators</resource>
<resource isGroup="true" type="STATIC">oc4j-app-administrators</resource>
</participant>
</participants>
<notification includeTaskAttachments="false" actionable="false"
secureNotifications="false"/>
</routingSlip>
<workflowConfiguration xmlns="http://xmlns.oracle.com/bpel/workflow/configuration"
xmlns:ns0="http://xmlns.oracle.com/test_humanTask2">
<outcomes>
<outcome>APPROVE</outcome>
<outcome>REJECT</outcome>
</outcomes>
<restrictedActions/>
<payload xmlSchemaDefinition="human_work_payload.xsd">
<messageAttribute name="taskInput" attributeType="ELEMENT"
type="ns0:taskInput" updatable="false"/>
</payload>
<bpelEventListener>false</bpelEventListener>
</workflowConfiguration>
</taskDefinition>Any help you all can provide is greatly appreciated.
Thanks in advance,
JosephIs there any update to this thread? I am seeing the same or similar problem. I'm using BPEL 10.1.3.3.
I've created a task with two possible custom outcomes "BE" or "NOT_BE". Anyone in the oc4j-administrators group can claim the task instance. I use the auto task form generator.
As in the thread, I can claim the task instance (as oc4jadmin) and the task form displays (including one parameter that I defined in the payload); however, the only Task Action available in the dropdown list for selection is "Release". My expectation would be to see "BE", "NOT_BE", and "Release" as available actions.
Using bpeladmin yields identical results.
Here is my task definition:
<?xml version = '1.0' encoding = 'UTF-8'?>
<taskDefinition targetNamespace="http://xmlns.oracle.com/HumanTask1" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" xmlns:task="http://xmlns.oracle.com/bpel/workflow/task" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://xmlns.oracle.com/bpel/workflow/taskDefinition">
<name>HumanTask1</name>
<id>${domain_id}_${process_id}_${process_revision}_HumanTask1</id>
<title>To Be or Not to Be</title>
<priority>3</priority>
<process processId="" processVersion=""/>
<routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
<globalConfiguration/>
<participants isAdhocRoutingSupported="false">
<participant name="Deep Thinker">
<resource isGroup="true" type="STATIC">oc4j-administrators</resource>
</participant>
</participants>
<notification includeTaskAttachments="false" actionable="false"
secureNotifications="false">
<action name="ASSIGN" recipient="ASSIGNEES"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
<action name="COMPLETE" recipient="CREATOR"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
<action name="ERROR" recipient="OWNER"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
</notification>
</routingSlip>
<workflowConfiguration xmlns="http://xmlns.oracle.com/bpel/workflow/configuration"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<outcomes>
<outcome>BE</outcome>
<outcome>NOT_BE</outcome>
</outcomes>
<restrictedActions/>
<payload xmlSchemaDefinition="HumanTask1_payload.xsd">
<messageAttribute name="FoodForThoughtParm" attributeType="SIMPLE_TYPE"
type="xsd:string" updatable="false"/>
</payload>
<bpelEventListener>false</bpelEventListener>
</workflowConfiguration>
</taskDefinition> -
How to format the URI for Human task worklist UI project?
This information is not easily found, so I am posting it here:
When you click on the Administration Tab of the Human workflow component in EM, It allows you to enter an URI for the TaskDetail page.
If you Auto-generate the taskdetail page, the URI form has to be filled out as follows:
Application Name =worklist
Host Name=mymachine
HTTP Port=8001
HTTPS Port=0
URI=/workflow/MCRT_UI/faces/adf.task-flow?_id=MCR_T_TaskFlow&_document=WEB-INF/MCR_T_TaskFlow.xml
(Where the Project name is MCRT_UI and the TaskFlow.xml is named as indicated and is located in the WEB-INF directory.)
HTH,
MattHi,
Thanks for the post. From your post , my understanding is as below. Kindly correct me if I am wrong.
When we go for the URL,
http://hostname:7001/integration/worklistapp
we will get a predefined page like, we will have 'MyTask', and this will list out all the tasks assigned for that user.
The above procedure, you have given, will it allow us to override this adf page. so that , as soon as we go to the url, we can see our OWN custom adf page?
Thanks,
Sabarisri. N
Edited by: meenalingam on Dec 20, 2011 4:24 PM -
Enquiry - Task parameters for human tasks
Hello,
I am trying to create a simple process for an approval process. screenshot
I am trying to create a User task (Approval), in which I plan to pass in a Task Parameter of type Integer named "ageIn". This parameter will be used to decide upon which path to take later via an Exclusive Gateway (Approved?).
I have defined the task parameter as shown here.
I then tried to update the task's payload via Java using JAX-WS as follows:
Task task = null;
try {
task = taskQueryService
.getTaskDetailsById(taskDetailsByIdRequestType);
} catch (Exception e1) {
out.write("error!");
return;
Document document = XmlUtils.createDocument();
Element payloadElem = document.createElementNS(
"http://xmlns.oracle.com/bpel/workflow/task", "payload");
Element ageElem = document.createElementNS(
"http://www.w3.org/2001/XMLSchema#integer", "ageIn");
ageElem.appendChild(document.createTextNode("99"));
payloadElem.appendChild(ageElem);
document.appendChild(payloadElem);
task.setPayload(payloadElem);
TaskServiceContextTaskBaseType aaa = new TaskServiceContextTaskBaseType();
aaa.setWorkflowContext(workflowContextType);
aaa.setTask(task);
Task task2 = null;
try {
task2 = taskService.updateTask(aaa);
} catch (StaleObjectFaultMessage e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} catch (WorkflowErrorMessage e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
// update task outcome
UpdateTaskOutcomeType updateTaskOutcomeType = new UpdateTaskOutcomeType();
updateTaskOutcomeType.setOutcome("REJECT");
updateTaskOutcomeType.setWorkflowContext(workflowContextType);
updateTaskOutcomeType.setTask(task2);
// updateTaskOutcomeType.setTaskId(taskId);
try {
taskService.updateTaskOutcome(updateTaskOutcomeType);
out.write("Approved!");
} catch (Exception e) {
String message = e.toString();
if (e instanceof com.oracle.xmlns.bpel.workflow.taskservice.WorkflowErrorMessage) {
com.oracle.xmlns.bpel.workflow.taskservice.WorkflowErrorMessage wem = (com.oracle.xmlns.bpel.workflow.taskservice.WorkflowErrorMessage) e;
message = wem.getFaultInfo().getFaultInfo();
out.write("Error - " + message);
However, when I looked at the process instance via Enterprise Manager, I found that the process's status has been SUSPENDED. screenshot
Here is the payload XML for the offending trace:
<auditQueryPayload auditId="164000" ciKey="70019">
<dataState>
<dataObject name="age" isBusinessIndicator="false">
<value> <age xmlns:def="http://www.w3.org/2001/XMLSchema" ns0:type="def:int" xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance">0</age> </value>
</dataObject>
<dataObject name="verdict" isBusinessIndicator="false">
<value> <verdict xmlns:def="http://www.w3.org/2001/XMLSchema" ns0:type="def:string" xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance"/> </value>
</dataObject>
<dataObject name="FaultMessage" isBusinessIndicator="false">
<value> oracle.bpm.bpmn.engine.model.runtime.microinstructions.TrappableException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}uninitializedVariable} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} cause: {XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is bpmn:getDataOutput('ageIn'). The XPath expression failed to execute; the reason was: ORABPEL-77005 Uninitialized data element. DataOutput ageIn is not initialized in flow element Approval. Make sure to initialize DataOutput ageIn before using it in flow element Approval. Contact oracle support to resolve the issue. . Check the detailed root cause described in the exception message text and verify that the XPath query is correct. } </value>
</dataObject>
</dataState>
</auditQueryPayload>
Here are my data associations for the "Approval" task:
[https://dl.dropbox.com/u/22482565/images/4.PNG]
[https://dl.dropbox.com/u/22482565/images/5.PNG]
I am using JDeveloper 11.1.1.6.0.
Can anybody help me on this? Thanks!
Edited by: user1657693 on 03-Jul-2012 20:24how to make the request? is using createProcessInstanceTask in IInstanceManagementService API or other way?
cheers -
Can use another web form UI instead of ADF forms for human task?
Hi everybody
Can I use different web UI like primeface, ZK, Spring, Ext Js,... for generating forms base on human task instead of ADF forms?
For both worklist and workspace
Thanks.I read all of posts that other mentioned above and do the instruction but when i initiated a process my page went to 404 error so that can't find the URI.
The below error raised in log
<oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl> <DiagnosticsDataExtractorImpl> <createADRIncident> <incident 21 created with problem key "ADFC-06018 [ADFc]">
<oracle.adf.view> <RichExceptionHandler> <_logUnhandledException> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1>
oracle.adf.controller.ControllerException: ADFC-06018: Task flow ID EL expression '#{pageFlowScope.taskDetailsView.remoteTaskDefId}' on activity '/WEB-INF/taskDetail-task-flow-definition.xml#taskDetail-task-flow-definition@remoteTaskFlowCall' evaluated to null.
at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.getTaskFlowDefinitionId(TaskFlowCallActivityLogic.java:1155)
at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.execute(TaskFlowCallActivityLogic.java:115)
at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1241)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:1087)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:979)
at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:253)
at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.invokeTaskFlowByUrl(RemoteTaskFlowCallRequestHandler.java:103)
at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.doCreateView(RemoteTaskFlowCallRequestHandler.java:64)
at oracle.adfinternal.controller.application.BaseRequestHandlerImpl.createView(BaseRequestHandlerImpl.java:59)
at org.apache.myfaces.trinidadinternal.application.InternalViewHandlingStrategy.createView(InternalViewHandlingStrategy.java:48)
at com.sun.faces.application.view.MultiViewHandler.createView(MultiViewHandler.java:160)
at javax.faces.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:170)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:108)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:847)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.help.web.rich.OHWFilter.doFilter(OHWFilter.java:197)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
I think then main problem is where i bold.
Thanks. -
Create ADF Task Flow for Human task outside of SOA Composite
Hi,
Is there any way you can create ADF Task Flow form (for the task Details to be display in worklistapp) for a Human task out side of the SOA Composite applicaiton?. I know we can create ADF Task flow form for task details based on Human Task in SOA composite application. But I dont want to do that. I dont want to keep any association between Human task and ADF Task Flow.
If there is a way to do this, How can we assiciate this ADF Task flow form with worklist applicaiton?
Thanks
--SreenyBy using these services appropriately:
http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_workflow.htm -
Pdf email attachment for human task detail notification
We have a human task detail notification with pdf attachment.
The email notification (generated automatically) flat out all content but no pdf attachment.
Is this supported and if yes how to make it work?You can try using this tool to first remove all traces of Reader from your computer:
http://labs.adobe.com/downloads/acrobatcleaner.html
Then, you can download the full offline Reader installer from
http://get.adobe.com/reader/enterprise/
After downloading, restart your computer and run the installer before doing anything else. -
Deploy Task form for Human Task gives Exception
Hi,
I created a simple asynchronous process having just a human task to test the features of JDeveloper.
This project compiled successfully.However at the time of deployment I am facing a java.lang.SecurityException.
I am using :
JDeveloper :10.1.3.4
Ant Build O/p:
Buildfile: E:\BPEL\Examples\handson\SampleHumanTask\build.xml
[java] Java Result: 1
validateTask:
[echo]
| Validating workflow
[validateTask] url is file:/E:/BPEL/Installables/JDeveloper/integration/bpm/support/files/WorkflowTaskDefinition.xsd
[validateTask] Validation of workflow task definitions is completed without errors
deployProcess:
[echo]
| Deploying bpel process SampleHumanTask on localhost, port 8888
[deployProcess] Deploying process E:\BPEL\Examples\handson\SampleHumanTask\output\bpel_SampleHumanTask_1.0.jar
[deployProcess] Successfully deployed the process "SampleHumanTask" on server "localhost" and port "8888"
deployTaskForm:
[echo]
| Deploying workflow form for SampleHumanTask on localhost, port 8888
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Application Deployer for default_SampleHumanTask_1_0_Approver STARTS.
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Copy the archive to E:\BPEL\Installables\OracleAS_1\j2ee\home\applications\default_SampleHumanTask_1_0_Approver.ear
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Initialize E:\BPEL\Installables\OracleAS_1\j2ee\home\applications\default_SampleHumanTask_1_0_Approver.ear begins...
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Unpacking default_SampleHumanTask_1_0_Approver.ear
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Done unpacking default_SampleHumanTask_1_0_Approver.ear
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Unpacking workflowform.war
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Done unpacking workflowform.war
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Initialize E:\BPEL\Installables\OracleAS_1\j2ee\home\applications\default_SampleHumanTask_1_0_Approver.ear ends...
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Starting application : default_SampleHumanTask_1_0_Approver
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Initializing ClassLoader(s)
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Initializing EJB container
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Loading connector(s)
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Starting up resource adapters
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Initializing EJB sessions
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Committing ClassLoader(s)
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Initialize workflowform begins...
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Initialize workflowform ends...
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Started application : default_SampleHumanTask_1_0_Approver
[deployTaskForm]
[deployTaskForm] 08/09/16 09:45:54 Notification ==>Application Deployer for default_SampleHumanTask_1_0_Approver COMPLETES. Operation time: 188 msecs
[deployTaskForm]
[deployTaskForm]
[deployTaskForm] BindWebApp error: javax.management.ReflectionException
[deployTaskForm]
BUILD FAILED
E:\BPEL\Examples\handson\SampleHumanTask\build.xml:97: Error while deploying the form on server "localhost" 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: 17 seconds
Can anybody point out where I am going wrong?
Thanks
DileepHi,
I tried that but did not work.
Build.properties file:
platform = ias_10g
hostname = localhost
http.hostname = localhost
http.port = 8888
cluster = false
oc4jinstancename = home
j2ee.hostname = localhost
rmi.port = 12401
opmn.requestport = 6003
admin.user = oc4jadmin
admin.password = welcome1
jndi.user = ${admin.user}
jndi.password = ${admin.password}
asinstancename =
domain = default
rev = 2.0
verbose = false
apps = E:/BPEL/Installables/OracleAS_1/j2ee/home/applications
default-web-app.dir = E:/BPEL/Installables/OracleAS_1/j2ee/home/applications/../default-web-app
bpeltest.minCoverage = 100%
bpeltest.timeout = 90
bpeltest.numWorkers = 1
bpeltest.package =
bpeltest.results.dir = ${default-web-app.dir}${file.separator}results
bpel.version = 10.1.3.1.0
bpel.build = PCBPEL_10.1.3.1.0_GENERIC_061009.0802
bpel.home = E:/BPEL/Installables/OracleAS_1/bpel
oracle.home = E:/BPEL/Installables/OracleAS_1/bpel/..
j2ee.home = E:/BPEL/Installables/OracleAS_1/bpel/../j2ee/home
jndi.url = opmn:ormi://HTIPL-40130:6003:home
jndi.InitialContextFactory = com.evermind.server.rmi.RMIInitialContextFactory
soapServerUrl = http://LOCALHOST:8888
client.classpath = E:/BPEL/Installables/OracleAS_1/bpel/../j2ee/home/oc4jclient.jar;E:/BPEL/Installables/OracleAS_1/bpel/../j2ee/home/../../lib/xml.jar;E:/BPEL/Installables/OracleAS_1/bpel/../j2ee/home/rmic.jar;E:/BPEL/Installables/OracleAS_1/bpel/../j2ee/home/../../lib/dms.jar;E:/BPEL/Installables/OracleAS_1/bpel/../j2ee/home/oc4j.jar;E:/BPEL/Installables/OracleAS_1/bpel/../j2ee/home/lib/jmxri.jar;E:/BPEL/Installables/OracleAS_1/bpel/../j2ee/home/lib/javax77.jar;E:/BPEL/Installables/OracleAS_1/bpel/../j2ee/home/admin_client.jar;E:/BPEL/Installables/OracleAS_1/bpel/lib/orabpel.jar;E:/BPEL/Installables/OracleAS_1/bpel/lib/orabpel-common.jar;E:/BPEL/Installables/OracleAS_1/bpel/lib/orabpel-thirdparty.jar
Is there some other thing I should take care of?
Thanks
Dileep
Edited by: user10230482 on Sep 18, 2008 1:44 AM -
Hi all,
How can I create cusstom JSP for my Human task? Where can I see the log if I modify anything in the JSP?
I am not able to see any log anywhere when I pass some messages through payload jsp.
RegardsHi All,
Atleast I came to know where payload-body.jsp resides. I got all my list of values inside my JSP. Now I want to select only one value and want to send only that selected value to the process.
I've customised payload jsp and I've put radio buttons against all the values but when I select any one radio button then also, its sending all list values to the process and not the selected one.
What shall I do now? How to pass only selected value to the process?
Hope we all can make this happen. Looking forward for your support again.
Thanks & Regards -
In the BPELAdmin I have added a second domain named "hub". In is_config.xml, I have added another configuration with realName="hub". In jdeveloper, I can then deploy a bpel process that includes a human task to the "hub" domain.
Using the BPELConsole, I can see in the new process in the hub domain "hub" and create a test instance of the process. All that is good. The problem comes when I log into the worklistapp. When I select the "hub" realm at login, I do NOT see my new task. When I select the "default" realm at login, the task is there.
How can I specify the realm for the task?Thank you for the added information. I am still confused however. When I am using the workflow editor, I can select the Integration Server Connection and Realm Name just like you said. When finished I viewed the source. What I see is:
<routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
<globalConfiguration>
<owner>talaveraa</owner>
</globalConfiguration>
<participants isAdhocRoutingSupported="false">
<participant name="Assignee1">
<resource isGroup="false" type="STATIC">talaveraa</resource>
</participant>
</participants>
<notification includeTaskAttachments="false" actionable="false" secureNotifications="false">
<action name="ASSIGN" recipient="ASSIGNEES"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your ....'))]]></action>
<action name="COMPLETE" recipient="CREATOR"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your ....'))]]></action>
<action name="ERROR" recipient="OWNER"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your ....'))]]></action>
</notification>
</routingSlip>
I have studied RoutingSlip.xsd. It does not appear to allow one to specify the realm. So I selected user "talaveraa" from the "hub" realm and deployed to the "hub" domain. Now to see an instance of the task in worklistapp, I have to log in to the "default" domain. How can I force this task to be routed only to users in the "hub" domain? -
Create ADF Task Details for Human task
Hi,
Is there any way you can create ADF Task Flow form (for the task Details to be display in worklistapp) for a Human task out side of the SOA Composite applicaiton?. I know we can create ADF Task flow form for task details based on Human Task in SOA composite application. But I dont want to do that. I dont want to keep any association between Human task and ADF Task Flow.
If there is a way to do this, How can we assiciate this ADF Task flow form with worklist applicaiton?
Thanks
--SreenyBy using these services appropriately:
http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_workflow.htm -
How to Design User Accounts and Groups for Human Task
Hi All,
I have a requirement wherein we have a group of people to whom tasks get assigned. Details are below
Assume
PO- Purchase Order
IN- Invoice
CL1 - Client 1
CL2 - Client 2
CL3 - Client 3
REP1 - User 1
REP2 - User 2
REP3 - User 3
APP1 - Approver 1
APP2 - Approver 2
APP3 - Approver 3
1. There are two groups of people say PO_Team and IN_Team.
2. REPx are the folks who are in the IN_Team. They handle monitor invoices and run reports on them (READ - Only)
3. APPx are the folks who are in the PO_team. They approve order and sometimes modify them (READ-WRITE)
4. CLIx are the clients each of whom send PO and expect IN in return
5. CLI1 - APP1- REP1 together handle one client.
Now the requirement is something like this
1. APP1 must be able to see the PO and IN only from CLI1
2. APP1 must be able to see editable view of PO from CLI1
3. APP1 must be able to see red only view of IN from CLI1
4. REP1 must be able to see the PO and IN only from CLI1
5. REP1 must be able to see read only view of IN from CLI1
6. REP1 must be able to see read only view of PO from CLI1
7. In exception cases APP1 can assign a PO from CLI1 to APP2
Can someone help me in the design of groups and permissions for this?
TIAGroups are the way to go. Every Human Task can be assigned to either a user or a group or a user and a group. Select the last option so that it goes to a particular user but also to a group. That way anyone in the group can approve these tasks though it is sent to one particular users list. Anyone from that group can pick that task up and approve it
-
Defining a Calendar to be used for Human Task
Hi Guys,
I have created a new Calendar using BPM Workspace (steps described here: http://docs.oracle.com/cd/E17904_01/user.1111/e15175/bpmug_ws_admin.htm#BAJDBCAH)
How can I refer to this Calendar within a Human Task, so that the expiration & renew happens accordingly?
Thanks for the help,
VivekHi,
Sorry for bumping this, but am really stuck with this.
Anyone know how I can exclude weekends while determining the expiration date?
- Vivek
Maybe you are looking for
-
How can I create a 3D baseball with art mapped to it?
I am creating art for work that will be printed on both soccer balls and baseballs. This art needs to be made into a mockup to represent the final product. I made this for the soccer balls: Gyazo - 3cbfe225e8afa3d95be87fdd12947ec4.png However, I am h
-
IMac G5 - hang on start-up with roaring fans
Hi all Problem occured after trying to instal CD that came with WD-external hard disk 250Gb. My friends iMac G5 will not cont when starting-up after showing the Apple. • Showing Apple and moving it slightly down with a jump (less than 1cm) • No rotat
-
Generating a new table based on user choices - Code Problems
A while ago someone posted on one of the Adobe forums the following code (sorry I do not remember the name / link). This code is meant to generate a second table (an Object list in this case) according to the user's choices at another table (in this
-
DMS Migration of Documents - Loadercli tool
Hi Dear, we did a migration of our DMS. Our DMS was installed in São Paulo and we moved to Houston with the same hardware and software configuration. We export the database and import successfully on the server that is located in Houston. But when we
-
Back charges senario , how to map????
Hello friends, I need help to map below scenario in SAP: We have third party business process, where vendor V1 is supplying material to customer. When customer receives material; V1 invoices us and we make payments to V1.At this point PO is closed fo