JBoss Community

Re: jBPM 4 - Deploy only if ProcessDefinition changed or new

created by rapa in jBPM - View the full discussion

If anyone has a cleaner solution, be welcome to correct me.

 

In fact I don't understand the reason of some mappings of the jbpm4 tables. For instance, why does the DeploymentImpl class contain a protected Map<String, Lob> resources, where the key set are the resource names? Shouldn't there be only ONE resource name (and respective Lob) per deployment?

That is why I have this nasty

resourceName = deployment.getResourceNames().iterator().next();

in my code...

 

Instead of a simple deployment.getResourceName();

 

Cheers.

Andrea

Reply to this message by going to Community

Start a new discussion in jBPM at Community