[jboss-user] [jBPM] - Re: Is it possible to get UUID of a process opened in designer from drools-guvnor url
Tihomir Surdilovic
do-not-reply at jboss.com
Mon Jun 24 09:00:41 EDT 2013
Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the discussion
"Re: Is it possible to get UUID of a process opened in designer from drools-guvnor url"
To view the discussion, visit: https://community.jboss.org/message/824554#824554
--------------------------------------------------------------
The above solution probably works, but it is dependent on Guvnor 5.x. If you switch to jBPM 6 I'm pretty sure you wont be able to carry it over. You could ask Designer itself what the UUID is that it has currently open which is compatible across versions (2.4 and the upcoming 6.0):
- locate the frame that Designer is opened in and ask for ORYX.UUID which contains that value, for example: window.frames[4].ORYX.UUID
Designer has a very good public JS api from which you can get a lot more than just the UUID (you can get the process json, svg, bpmn2 etc etc).
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/824554#824554]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130624/f7ac405b/attachment.html
More information about the jboss-user
mailing list