Dynamic participant block in Human task flow
Hi All,
I am working on human task flow and got stopped on below use case.
I have two participant block let say A and B. I want to assign participant A depends on flat inside task flow parameter. If Flag is Yes, then it should assign to A and on approval of A it should complete the task flow. But if Flag is NO, then it should first assign to B, on approval from B, it should again assign to A and after that it should complete the task flow.
I tried to use dynamic role assignment but there i am not able to define above use case. Dynamic rule is saying you can assign A or B depends on some rule(task flow parameter) but my requirement is little different.
If Flag is Yes,
- assign to A -> on approval -> complete the task flow.
If Flag is No
- Assign to B -> on approval from B -> assign to A -> on approval from A -> complete the task flow.
I want to build this logic inside single human task flow.
Please help.
-Sunil
Hi Zaloa,
Can you pls try this.This should work.
1. Go to Edit Task Definition page and add a Parameter of type string(default).
2. Now come to the human task dialog( the one you get on double clicking the human task activity) and add a value to the parametr you just added(string)using the search light .This value should be the variable containing the value of the asssigne which you want to add dynamically.
3.Now again go to the Edit Task Definition page and select the Assignment policy and select the expression path builder.
4. You should be able to see the parameter you just added under task:payload. select this . now your assigne is dynamically added.
Pls let me know if you need further details. Hope this helps.
Thnks
Message was edited by:
soaUser
Similar Messages
-
Human task flow call back events with external web service
Hi All,
I have a requirement to call webservice inside human task flow. I have three participant in my human task flow. Let suppose A, B and C. When A approves then task will be assigned to B and when B approves it will go for C.
My requirement is that, when A approves , then i need to call one external webservice to update database. For this i have enabled call back events from human task flow.
In this way i got while loop inside my BPEL. In onTaskAssigned operation i am now trying to call external web service. My requriment is to call external service and get data from service. After getting response from the webservice, i want to assign it to next participant.
But in this case, when user B approves, it goes to onTaskAssigned block and i am able to make external web service also but mean time, it has been assigned to User C which i do not want.
I want Human task flow to wait for the web service response then only assign it to next participant.
Please help.
Regards,
SunilHi Sunil
Have you tried using WebServices Adapter. The usecase seems pretty straight forward. You have a WebService that has some code and some Operations to update some Database. First thing, I hope you have methods/Operations defined with request and response xsd for each operation.
Now you define the main master payload, that should have all elements specific to your process and also few elements to store the output coming from each operation. Because response of each operation may need to go to other Task and get saved in the Payload also.
You have like 3 Tasks. To complicate, I will assume that each Task can either Approve or Reject. And last 2 Tasks gets data from payload, previous task and also output from the WebService Operation (method).
Task A -> Xor Gateway (Approve/Reject) -> If Approve -> Call WebServices Adapter -> Task B -> Xor Gateway(...) -> ......
At each intersection, you can map the attributes for incoming and outgoing. Based on WebServices output also, you can have Another XOR Gateway and decide to send to Task B or do something else. So combinations of outputs of each service (task or webservice adapter) and XOR gateways, you can have a decent control on the overall flow.
Note: I am hoping the webservices is Synchronous where you get the response immediately.
Let me know if I am missing something.
Thanks
Ravi Jegga -
How to know which stage has been completed in Human task flow.
Hi All,
I have one human task flow where there is three participants. Participant A, B and C and all are in sequence.
When User B approves the task, i need to do some business logic. when user B approves the task, it will be assigned to User C. I have defined call back events. There i can use task assigned condition to do my business logic.
My question is that how i can get to know that Task assigned to user C. Because it is a call back event and will be triggered when it will be assigned to A or B. I have tried to user the function previousOutcomeUpdatedBy to check whether it previous user was B or not. but in my case it is coming as workflowsystem.
instead of User B it is using workflowsystem
User:workflowsystem; State:OUTCOME_UPDATED; Outcome:CONFIRM
I am not aware, why workflow system is coming in picture.
do any one idea, how to solve this use case.
Regards,
SunilYou can get the status from back end tables.
Check in SOA INFRA tables. Below is the list of human work flow tables.
WFTASK
WFTASK_TL
WFTASKHISTORY
WFTASKHISTORY_TL
WFCOMMENTS
WFMESSAGEATTRIBUTE
WFATTACHMENT
WFASSIGNEE
WFREVIEWER
WFCOLLECTIONTARGET
WFROUTINGSLIP
WFNOTIFICATION
WFNOTIFICATIONSTATUS
BPELNOTIFICATION
BPELNOTIFICATION_FILTERMSGS
BPELNOTIFICATION_INVALADDRS
WFTASKMETADATA
WFATTRIBUTELABELMAP
WFATTRIBUTELABELUSAGE
WFUSERVACATION
BPM_PRESENTATION
BPM_PRESENTATION_GRANT
WFUSERTASKVIEW
WFUSERTASKVIEWGRANT
WFUSERPREFERENCE
BPM_USERAPPLICATIONDATA
BPM_USERAPPLICATIONDATA_GRANT
WFRULEDICTIONARY
WFTASKDISPLAY
WFTASKTIMER
WFNOTIFICATIONMESSAGES
WFTASKERROR
WFHEADERPROPS
WFCERTAUTHORITY
WFCERTIFICATEREVOKED
WFCERTIFICATE
WFEVIDENCE
WFTASKASSIGNMENTSTATISTIC
WFTASKSEQUENCECHANGES
WFTASKAGGREGATION
WFAPPROVALGROUPS
WFAPPROVALGROUPMEMBERS
Thanks,
Vijay -
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 youJuan 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> -
Participate in the same DB Transaction within Human Task Flow ADF screen.
Functionality:-
I have a ADF workflow screen generated from a Human Task flow, and for the business reason I run through the ADF Iterator and get the attribute values and persist within a table using an Application Module.
I am using the Application Module, and creating as below:-
String amDef = "model.TestAM";
String config = "AppModuleLocal";
TestAM service = (TestAM)Configuration.createRootApplicationModule(amDef,config);
Now, the issue is when I call the saving mechanism within the above AM client interface, it expects a commit, and this transaction doesnt participate in the same transaction as workflow process, so can anyone let me know how to get hold of the transaction handler and make this persistence to participate within the same one workflow transaction.
Cheers,
Saran.Hi,
don't see how the transaction can be shared between the two. Any reason you don't use a DataControl for the ADF BC access and instead use client code creating a root application module?
Frank -
Dynamic role setting in human task
Hi,
I would like to use the human task activity in a BPEL process setting the role that has to complete the activity dynamically.
I mean, inside the human task editor, there is a section named "Assignment and Routing policy" where I add a participant to the task. There, I have two options: By name (which I have already used) or by expression.
I would like to assign the role from a variable of my process. This is, I invoke the business rules engine, and the result is a role. Then, I want to assign the human task to that role. It this possible? How do I do this?
Thanks in advance,
ZaloaWe do the same. We invoke a service from BPEL before the human workflow activity. This service returns a department (that is also present in our OID) based on some instance data. We assign this role to the human task in the task definition like this:
<routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
<globalConfiguration>
<expirationDuration duration="/task:task/task:payload/ns0:humanTaskInformation/ns0:expirationDate"
type="XPATH"/>
</globalConfiguration>
<participants isAdhocRoutingSupported="false">
<participant name="Department">
<resource isGroup="true" type="XPATH">/task:task/task:payload/ns0:humanTaskInformation/ns0:department</resource>
</participant>
</participants>
<notification includeTaskAttachments="false" actionable="false"
secureNotifications="false"/>
</routingSlip>
This works.
As Eric already indicated, you should see some error detail in the audit trail when the human workflow activity "falls through".
Regards, Ronald -
Problem in setting dynamic expiration duration from Human Task
Hi,
I have a BPEL process, in which the Human task expiration has to be set dynamically..
In the , I have set the expiration duration with this :-
<copy>
<from expression="xp20:format-dateTime(xp20:current-dateTime(),'PT1M')"/>
<to variable="initiateTaskInput" part="payload"
query="/taskservice:initiateTask/task:task/task:systemAttributes/task:expirationDuration"/>
</copy>
Do not get confused with 'PT1M' .. I want the duration to be 1 minute... Had I used 'PT1M' as a String and assign to the expirationDuration var, it would have caused an error... It needs to be fromatted as a Date..That's y i took this approach ... I am sure this is working fine as I have checked the payload of the task..
It has a proper duration..
<initiateTaskInput><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><initiateTask xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<systemAttributes>
<expirationDuration>PT1M</expirationDuration>
Now in the Human task definition(.task file), I have set the expiration duration with "By Expression" option in this way..
<globalConfiguration>
<owner>oc4jadmin</owner>
<expirationDuration duration="/task:task/task:systemAttributes/task:expirationDuration"
type="XPATH"/>
</globalConfiguration>
The problem is the task(at runtime) cannot evaluate the expirationDuration from the XPATH..
I checked with the WF_TASK table in the orabpel schema ...
When I use a static duration EXPIRATIONDURATION cloumn gets assigned properly (ie PT1M).. But when i take the XPATH approach, it translates to PT0S.
Can someone look into this please ?
Struggling with this for quite sometime...
saptarishiIf the Human Task shows status complete, then it's possible that there was an error in the output data association in the process. In EM do you see a fault on the output for the Human Task activity, or if PS4FP the process will go to suspended state if the data association fails.
-
Warning after creating Human Task Flow in ADF project
I'm using JDev 11g and have created my SOA Composite containing a Human Task. After I generated the Task flow based on Human Task in my non-soa application, I get the following warnings which are preventing my application from building and deploying to the admin server. I have followed the instructions in the Developer's Guide for Implementing an ADF Task Flow for a Human Task.
Warning: <Feb 22, 2010 9:47:59 AM PST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
Warning: Unresolved WebApp library references defined in weblogic.xml, of module 'public_html' [Extension-Name: oracle.webcenter.framework.view, Specification-Version: 11.1.1, exact-match: false], [Extension-Name: oracle.applcore.view, exact-match: false].
Did I miss a step somewhere, I've double checked the class libraries, but am not sure what I should be looking for, I added the recommended libraries to the class path per the Developer's Guide.###<Feb 25, 2010 12:20:11 AM PST> <Warning> <Deployer> <den65044fwks> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1267086011065> <BEA-149078> <Stack trace for message 149004
java.lang.NoClassDefFoundError: oracle/as/scheduler/MetadataService
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:973)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:966)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:97)
at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37)
at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:228)
at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:211)
at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:107)
at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1301)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:425)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:470)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:414)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:901)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:345)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:388)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:44)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:610)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:198)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.lang.NoClassDefFoundError: oracle/as/scheduler/MetadataService
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:973)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.getFields(BaseJ2eeAnnotationProcessor.java:966)
at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.processJ2eeAnnotations(BaseJ2eeAnnotationProcessor.java:97)
at weblogic.j2ee.dd.xml.J2eeAnnotationProcessor.processJ2eeAnnotations(J2eeAnnotationProcessor.java:37)
at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:228)
at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:211)
at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:107)
at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1301)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:425)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:470)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:414)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:901)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:345)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:388)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:44)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:610)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:198)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapte -
Hi,
I have created a bpel having a human task component.
The human task component input schema is :
<emp>
<empid>
<empid>
<empid>
<empid>
<status
<emp>
The empid is an array.
When i test my bpel it successfully created the human task.
I have created the "Auto Generate Task Flow" from human task component .(Creates a project and deployed with the SOA Application)
But when i click on the human task instance in the worklistapp it does not display the data.
Can anyone please tell me the reason of this kind of behaviour ?
Thanks and Regards,
Sachin Thakkar.There's probably a problem within your assign activity. Check the domain log as Eric suggested. You can find it @:
$ORACLE_HOME/bpel/domains/<your_domain>/logs/domain.log
HTH,
Bas -
Dynamic method calls in bounded task flows?
Hi!
I have the following scenario:
We are developing a framework in which we would include modules as ADF libraries (as JAR files) with bounded task flows. This framework contains a bean class with bindings for some UI components in framework which I enable or disable (depends on user action). That is the main reason bean class should be present in framework application.
I have a bounded task flow in every module which needs to call a method in bean with UI component's bindings that would enable or disable that component.
How can I achieve that? To pass bean as a parameter into bounded task flow and then call its methods? That is dynamic method calls for bean.
I'm using JDeveloper 11.1.2.1.0
Thanks for your help
Regards, MarkoHi,
I explained this; +"I have a bounded task flow in every module which needs to call a method in bean with UI component's bindings that would enable or disable that component. How can I achieve that? To pass bean as a parameter into bounded task flow and then call its methods?"+ a couple of times already (not sure if it was all for you) and don't think I change my position here. I also explained how to use a ValueExpression to lookp a managed bean containing component bindings (should be in requestscope).
Frank -
Unable to add Human Task flow to composite
Hi,
I'm learning SOA & building up Purchase Order SOA App.
My Jdev ver is 11.1.1.6
While I'm trying to Add a Human Task to Composite I'm getting below error stack.
Invoking command: delete_namespace_from_adfconfig
Invoking command: add_namespace_to_adfconfig
Uncaught exception
java.lang.NoSuchMethodError: oracle.mds.internal.dt.net.OraMDSDTURLConnection.getInputStream(Loracle/mds/core/MDSSession;)Ljava/io/InputStream;
o.mds.internal.dt.net.OraMDSDTURLConnection.getInputStream(OraMDSDTURLConnection.java:124)
j.net.URL.openStream(URL.java:1010)
o.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStreamConnection(WSDLReaderImpl.java:576)
o.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:438)
o.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:377)
o.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:627)
o.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:269)
o.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:240)
o.tip.tools.ide.common.utils.wsdl.WSDLUtil.parseWSDL(WSDLUtil.java:1333)
o.tip.tools.ide.fabric.model.SCAWSDLManager.loadWSDL(SCAWSDLManager.java:200)
o.tip.tools.ide.fabric.api.WsdlInfo.readWSDL(WsdlInfo.java:254)
o.tip.tools.ide.fabric.api.WsdlInfo.getAbstractWsdlLocation(WsdlInfo.java:475)
o.tip.tools.ide.fabric.api.WsdlInfo.getAbstractWsdlLocation(WsdlInfo.java:466)
o.tip.tools.ide.fabric.api.SCAControllerInterfaceImpl.addInterface(SCAControllerInterfaceImpl.java:322)
o.tip.tools.ide.fabric.api.SCAControllerServRefImpl.addServiceInternal(SCAControllerServRefImpl.java:430)
o.tip.tools.ide.fabric.api.SCAControllerComponentImpl.createComponent(SCAControllerComponentImpl.java:83)
o.tip.tools.ide.fabric.api.SCAControllerImpl.createComponent(SCAControllerImpl.java:262)
o.tip.tools.ide.workflow.ide.jdeveloper.JDevWorkflowProject.createComponent(JDevWorkflowProject.java:239)
o.tip.tools.ide.workflow.ide.jdeveloper.JDevWorkflowProject.handleComponentCreation(JDevWorkflowProject.java:222)
o.tip.tools.ide.workflow.ide.jdeveloper.JDevWorkflowProject.commit(JDevWorkflowProject.java:196)
o.tip.tools.ide.workflow.util.CreateWorkflowCommand.doIt(CreateWorkflowCommand.java:75)
o.tip.tools.ide.workflow.projectwizard.JDevProjectBuilder.createIDEProject(JDevProjectBuilder.java:72)
o.tip.tools.ide.workflow.projectwizard.WorkflowCreationDialog.createProject(WorkflowCreationDialog.java:116)
o.tip.tools.ide.workflow.projectwizard.WorkflowCreationDialog$1.run(WorkflowCreationDialog.java:100)
j.lang.Thread.run(Thread.java:662)
Please Help me out..!!!
Thanks in AdvanceIts due to JDeveloper installation or cache issue...
I uninstalled completely and installed again. I am able to create Human Task now. Maybe it helps someone.
-Sudheer -
Oracle JDev 11.1.1.5 Human task flow form generation
Hi all,
JDev crashes when I try to "createForm" from a human task element.
I get .... java.lang.NoClassDefFoundError: oracle/adf/library/rc/dependencies/NameResolver
Is this class contained in the ojdbc jar? if so, why do I need it?
Any thoughts?
HowieHi all,
JDev crashes when I try to "createForm" from a human task element.
I get .... java.lang.NoClassDefFoundError: oracle/adf/library/rc/dependencies/NameResolver
Is this class contained in the ojdbc jar? if so, why do I need it?
Any thoughts?
Howie -
Hi,
how can I do validation before user can do an action on my task. for example when user click on "accept" i want that do a validation to see whether the payload is set correctly or not.
ThanksI figured out the solution. Drop selectonechoice to the page and click finish. Right-click on the component and select bind to an ADF control. From there you set the attribute to be bound and the drop down source from a data source.
-
How to dynamically assign assignee for human task?
I tried to use xpath expression in task editor. Expression editor suggested me to use task schema and I could not use variables from process.
I had selected systemMessageAttributes.textAttribute1 and created “Assign” activity to initiate the attribute. This does not work. When task is started assignee is empty and task is automatically completed.
Does anybody used this feature?Hi,
You can run the soa server in debug mode by adding remote debugging parameters in startWeblogic.sh of soa server and remote debug it to check problems.
e.g.
+#For Debug Port+
+if [ "${SERVER_NAME}" = "soa_server1" ] ; then+
+JAVA_OPTIONS="${JAVA_OPTIONS} -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=9023,server=y,suspend=n"+
+export JAVA_OPTIONS+
+fi+ -
Call web service from human task
Hi All,
I have a requirement to call webservice inside human task flow. I have three participant in my human task flow. Let suppose A, B and C. When A approves then task will be assigned to B and when B approves it will go for C.
My requirement is that, when A approves , then i need to call one external webservice to update database. I did not get any option to call webservice inside human task flow.
Please help.
Regards,
SunilThanks userN for your wonderful reply but i have one more question.
As per your instructions i have enabled call back events in Human task flow. In this way i got while loop inside my BPEL. In onTaskAssigned operation i am now trying to call external web service. My requriment is to call external service and get data from service. After getting response from the webservice, i want to assign it to next participant.
But in this case, when user B approves, it goes to onTaskAssigned block and i am able to make external web service also but mean time, it has been assigned to User C which i do not want.
I want Human task flow to wait for the webservice response then only assign it to next participant.
Please help, is there any option to do it.
Regards,
Sunil
Maybe you are looking for
-
How do I move my itunes music library to a new computer?
I bought a new PC--Dell inspiron 530, running Windows Vista. I need to transfer my itunes library (itunes 7) from my old computer which runs Windows XP. I have a CD/DVD burning capability on the old computer. I understand that there is a way to trans
-
Apple TV some videos no longer show up.
After recent update to Apple TV, I am no longer seeing some of my videos under Movies. They are still in iTunes however. It seems that these are MP4 videos. Any ideas?
-
It's very odd. I take photos with my iPhone and then later go to view the photos in the Photo Gallery on my iPhone. The photos to appear, but I keep getting "this movie format not supported" alerts, even though I am looking at photos taken by my iPho
-
Add 2 container variables in control step BPM
Hi All, I have a scenario where I need to add 2 container variables in control step under AlertMessage and I am using under exception branch Control Step StepName: XXXX Action : XXXX AlertCategory: XXXX AlertMessage: ? I am successful putting on
-
I would sure appreciate some help on this. We build a book on Sunday and when we looked at it today all of the photos are gone! What could have made that happen? How do I get them back. We still have the photos in Events, so I cant understand where t