[jboss-user] [jBPM] New message: "Re: JBPM Console Error: "No UI associated with PROCESS ...""

Maciej Swiderski do-not-reply at jboss.com
Fri Mar 12 03:53:17 EST 2010


User development,

A new message was posted in the thread "JBPM Console Error: "No UI associated with PROCESS ..."":

http://community.jboss.org/message/531559#531559

Author  : Maciej Swiderski
Profile : http://community.jboss.org/people/swiderski.maciej

Message:
--------------------------------------------------------------
Hi Richard,
 
first of all I would like to suggest reading Task forms section of dev guide if you haven't done that yet - http://docs.jboss.com/jbpm/v4/devguide/html_single/#taskforms
 
In my opinion resources (including task forms) are stored in database and they will be referenced by classpath relative path on runtime.
 
You could try to check if the data base entry has correct name. Task forms are retrieved from data base using following method:
// check if a template exists
    String name = task.getFormResourceName();
    InputStream template = repoService.getResourceAsStream(procDef.getDeploymentId(), name);

and if templete is null it will throw the exception you mentioned.
 
So, possible issue could be:
1. template is not deployed due to not being compliant with rules defined in dev guide (mainly ftl extension)
2. name is different than expected (can be checked on Task object by inspecting formResourceName field
 
/Maciej

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/531559#531559




More information about the jboss-user mailing list