Problem with tasks forms in the soa-p 5.3.1 integration with jbpm 5
jmiguel77 May 30, 2013 2:21 PMHi
I am trying the jbpm 5 integration with soa-p 5.3.1. I am includine two files in the .esb deployment:
- the .bpmn file, with the process definition
- a .ftl file, with a human task form
Through the esb i can start instances of the bpm process, and get to the task i want; after that point, i am using a web client that logins to the bussiness-central-server, shows the tasks for the assignee user, and tries to access the task form, using a url like this:
http://localhost:8080/business-central-server/rs/form/task/1390/render
But when i do this invocation i get an error message like this:
13:17:35,704 WARN [AbstractFormDispatcher] Could not connect to Guvnor.
13:17:35,715 ERROR [runtime]
Expression task.names[0] is undefined on line 4, column 7 in null.
The problematic instruction:
----------
==> ${task.names[0].text} [on line 4, column 5 in null]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression task.names[0] is undefined on line 4, column 7 in null.
.....
[tons of exception info]
Caused by: freemarker.core.InvalidReferenceException: Expression task.names[0] is undefined on line 4, column 7 in null.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
at freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:209)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:209)
at freemarker.core.Environment.process(Environment.java:189)
at freemarker.template.Template.process(Template.java:237)
at org.jbpm.integration.console.forms.AbstractFormDispatcher.processTemplate(AbstractFormDispatcher.java:128)
... 45 more
So, as you can see, the form dispatcher is trying to connect to guvnor, but there is no guvnor deployed in the server (the installation guide for the jbpm 5 integration, never mentioned guvnor).
How can i access this form ?? or can't i ?? there is another way ??
thanks