cancel
Showing results for 
Search instead for 
Did you mean: 

Diagram is not generated when using expression in CallActivity

spawnrider
Champ in-the-making
Champ in-the-making
Hi,

I created a simple working process with a CallActivity at the end. See the workflow below :
[img]data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAB7AfcDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9UERNo+UdPSl2R/3B+VCfdX6U6gBuyP8AuD8qNkf9wflTqKAG7I/7g/KjZH/cH5U6igBuyP8AuD8qNkf9wflTqKAG7I/7g/KjZH/cH5U6igBuyP8AuD8qN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AT0VBvf+9Rvf+9QBPRUG9/71G9/71AE9FQb3/vUb3/vUAT0VBvf+9Rvf+9QBPRUG9/71G9/71AE9FQb3/vUb3/vUAT0VBvf+9Rvf+9QBPRUG9/71G9/71AE9FQb3/vUb3/vUAT0VBvf+9Rvf+9QBPRUG9/71G9/71AE9FQb3/vUb3/vUAT0VBvf+9Rvf+9QBPRUG9/71G9/71AE9FQb3/vUb3/vUAT0VBvf+9Rvf+9QBPRUG9/71G9/71AE9FQb3/vUb3/vUAT0VBvf+9Rvf+9QBJJ9yiopHbHWigD//2Q==[/img]

Depending of the router task (Businnes Rule task) return value, I execute a specific process. This process is defined at the runtime, so the CallActivity calledElement contains an expression like this :
<callActivity id="callActivity" name="Call Activity" calledElement="${execution.getVariable('result').get(0).get('processKey')}">


When I deploy my process into Activiti, the diagram is not generated. See below : 
[img]http://s3.kkloud.com.s3.amazonaws.com/gett/1YtSuZE2/process.png.client.x675.png?AWSAccessKeyId=AKIAI...[/img]

The associated stacktrace is :

SEVERE: Servlet.service() for servlet [dispatcher] in context with path [/activiti-explorer] threw exception [Request processing failed; nested exception is org.activiti.engine.ActivitiIllegalArgumentException: key is null] with root cause
org.activiti.engine.ActivitiIllegalArgumentException: key is null
   at org.activiti.engine.impl.ProcessDefinitionQueryImpl.processDefinitionKey(ProcessDefinitionQueryImpl.java:129)
   at org.activiti.engine.impl.ProcessDefinitionQueryImpl.processDefinitionKey(ProcessDefinitionQueryImpl.java:36)
   at org.activiti.rest.diagram.services.BaseProcessDefinitionDiagramLayoutResource.getActivity(BaseProcessDefinitionDiagramLayoutResource.java:441)
   at org.activiti.rest.diagram.services.BaseProcessDefinitionDiagramLayoutResource.getDiagramNode(BaseProcessDefinitionDiagramLayoutResource.java:211)
   at org.activiti.rest.diagram.services.ProcessDefinitionDiagramLayoutResource.getDiagram(ProcessDefinitionDiagramLayoutResource.java:28)
   at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
   at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
   at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
   at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)
   at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)
   at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
   at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.activiti.explorer.servlet.JsonpCallbackFilter.doFilter(JsonpCallbackFilter.java:40)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:42)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
   at java.lang.Thread.run(Thread.java:745)


By browsing the source code, I found that the diagam definition/generator (BaseProcessDefinitionDiagramLayoutResource) is looking for the subprocess called by CallActivity using the ProcessDefinitionKey :
 // Get last definition by key
          ProcessDefinition lastProcessDefinition = repositoryService
              .createProcessDefinitionQuery()
              .processDefinitionKey(callActivityBehavior.getProcessDefinitonKey())
              .latestVersion().singleResult();


But the ProcessDefinitionKey is not defined on the CallActivity when processDefinitionExpression is setted (An expression is passed into the calledElement field).

How can we generate a diagram :
  1. For the "Deployed process definitions" view. When the process is not yet executed?
  2. For the "My instances" view. When a process has been started?
I think this require a source code modification in CallActivityBehavior or another class…
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Yohann,

I would say you have found
- an issue,
- the cause

(next step could be to create pull request. 🙂 )
Regards
Martin

jean-guillaume_
Champ in-the-making
Champ in-the-making
https://jira.codehaus.org/browse/ACT-2244 opened w/ a proposed fix solution