Set dynamic user to the Workflow
Hi,
I created and published a role 'EDC' in the AppWorks platform,
then i set the Assignee Type to 'Role' in a workflow activity, to read from message,
the message element is assigned a fixed value 'EDC' in the activity pre-assignments.
Now when i run the workflow, following error is raised, please advise:
The "HumanInteraction" request did not process successfully because of "the assignee ID 'EDC' does not exist.".
Actor: cn=Notification,cn=soap nodes,o=system,cn=cordys,cn=defaultInst,o=bass.com.eg
Detail: Cordys.Notification.Messages.exceptionEncounteredHumanInteractionthe assignee ID 'EDC' does not exist.com.cordys.notification.exceptions.NotificationRuntimeException: the assignee ID 'EDC' does not exist.
at com.cordys.bpm.runtime.communication.webservice.ESBClient.sendAndWait(ESBClient.java:184) at com.cordys.bpm.utils.humantask.HumanTask.execute(HumanTask.java:293) at com.cordys.bpm.runtime.activity.task.HumanTaskHandler.start(HumanTaskHandler.java:207) at com.cordys.bpm.runtime.activity.Activity.performActivityExecution(Activity.java:664) at com.cordys.bpm.runtime.activity.Activity.execute(Activity.java:439) at com.cordys.bpm.runtime.activity.Activity.executeActivityWrapper(Activity.java:3053) at com.cordys.bpm.runtime.activity.Activity.lambda$executeActivity$22(Activity.java:3085) at com.cordys.transaction.TransactionProvider.callInExistingTransaction(TransactionProvider.java:152) at com.cordys.transaction.TransactionProvider.createTransactionAndExecuteWork(TransactionProvider.java:133) at com.cordys.transaction.TransactionProvider.lambda$callInNewTransaction$1(TransactionProvider.java:82) at com.cordys.transaction.TransactionProvider.callWithoutTransaction(TransactionProvider.java:111) at com.cordys.transaction.TransactionProvider.callInNewTransaction(TransactionProvider.java:82) at com.cordys.bpm.utils.db.ProcessTransaction.callInNewTransaction(ProcessTransaction.java:31) at com.cordys.bpm.runtime.activity.Activity.executeActivity(Activity.java:3088) at com.cordys.bpm.scxml.core.ActivityExecutor.execute(ActivityExecutor.java:135) at com.cordys.bpm.scxml.interpreter.ReleaseActivity.execute(ReleaseActivity.java:68) at com.cordys.statemachine.model.Executable.execute(Executable.java:151) at com.cordys.statemachine.model.Transition.gotoTarget(Transition.java:227) at com.cordys.statemachine.model.Transition.execute(Transition.java:103) at com.cordys.statemachine.runtime.StateMachineInstance.processEvent(StateMachineInstance.java:293) at com.cordys.statemachine.runtime.StateMachineInstance.consumeEvent(StateMachineInstance.java:251) at com.cordys.bpm.scxml.core.SCXMLProcessInstance.consumeEvent(SCXMLProcessInstance.java:349) at com.cordys.bpm.scxml.core.SCXMLProcessInstance.consumeEvents(SCXMLProcessInstance.java:580) at com.cordys.bpm.scxml.core.SCXMLProcessInstance.resumeInstance(SCXMLProcessInstance.java:490) at com.cordys.bpm.scxml.core.SCXMLProcessInstance.execute(SCXMLProcessInstance.java:440) at com.cordys.bpm.runtime.interpreter.bpml.ProcessActivity.executeProcess(ProcessActivity.java:582) at com.cordys.bpm.runtime.interpreter.bpml.ProcessActivity.<init>(ProcessActivity.java:413) at com.cordys.bpm.runtime.interpreter.bpml.Package.<init>(Package.java:148) at com.cordys.bpm.runtime.engine.ProcessInstance.execute(ProcessInstance.java:1061) at com.cordys.bpm.runtime.engine.ProcessInstance.lambda$run$1(ProcessInstance.java:756) at com.cordys.applicationserver.EJBContextProvider.invokeWithPlatformContext(EJBContextProvider.java:105) at com.cordys.applicationserver.EJBContextProvider.lambda$invokeWithPlatformInformation$5(EJBContextProvider.java:97) at com.cordys.applicationserver.EJBContextProviderInternal.invokeWithClassLoader(EJBContextProviderInternal.java:66) at com.cordys.applicationserver.EJBContextProviderInternal.lambda$invokeWithEJBContext$1(EJBContextProviderInternal.java:56) at com.cordys.applicationserver.PlatformContextBean.invoke(PlatformContextBean.java:20) at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173) at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:181) at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:100) at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:192) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:173) at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85) at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:227) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:194) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:317) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:312) at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:92) at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:325) at com.cordys.applicationserver.PlatformContextBean$$LocalBeanProxy.invoke(com/cordys/applicationserver/PlatformContextBean.java) at com.cordys.applicationserver.PlatformContextBean.invoke(PlatformContextBean.java:12) at com.cordys.applicationserver.EJBContextProviderInternal.invokeWithEJBContext(EJBContextProviderInternal.java:56) at com.cordys.applicationserver.EJBContextProvider.invokeWithPlatformInformation(EJBContextProvider.java:97) at com.cordys.applicationserver.EJBContextProvider.invokeWithPlatformInformation(EJBContextProvider.java:78) at com.cordys.bpm.runtime.engine.ProcessInstance.run(ProcessInstance.java:755) at com.cordys.bpm.runtime.threadpool.WorkerThread.runIt(WorkerThread.java:142) at com.cordys.bpm.runtime.threadpool.WorkerThread.startWork(WorkerThread.java:102) at com.cordys.bpm.runtime.threadpool.WorkerThread.access$100(WorkerThread.java:9) at com.cordys.bpm.runtime.threadpool.WorkerThread$1.run(WorkerThread.java:41) at java.lang.Thread.run(Thread.java:745)
Tagged:
0
Comments
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 147 General Questions
- 136 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 82 Digital Asset Management
- 9.3K Documentum
- 30 eDOCS
- 175 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 6 XM Fax