Alessandro Dionisi [
https://community.jboss.org/people/cecchisandrone] created the
discussion
"Link between org.drools.definition.process.Process and asset in Guvnor"
To view the discussion, visit:
https://community.jboss.org/message/760782#760782
--------------------------------------------------------------
Hi all,
in my application, I use a KnowledgeAgent that scans a Guvnor ChangeSet in order to see
the latest modification on the process definitions.
I can list the process definitions in the kbase using:
*ksession.getKnowledgeBase().getProcesses()*. This call returns a list of
org.drools.definition.process.Process objects that has the following attributes: *id,
name, version, package name, type, metadata*. This is an example of table displaying that
data:
https://community.jboss.org/servlet/JiveServlet/showImage/2-760782-19549/...
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-760782-19...
Now I want to add an edit feature, that opens directly the Designer in the application
context, not Guvnor, using the URL:
http://localhost:8080/drools-Guvnor/org.drools.guvnor.Guvnor/standaloneEd...
http://localhost:8080/drools-Guvnor/org.drools.guvnor.Guvnor/standaloneEd...
+ *processUuid* + "&client=designer";
The problem is that I can't find a link from the Process object to the UUID of the
resource in Guvnor. How can I find the UUID starting from
org.drools.definition.process.Process object?
Thank you for an answer,
Alessandro
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/760782#760782]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]