Author |
Message
|
mkruse |
Posted: Tue Dec 16, 2003 7:25 am Post subject: Custom Java/Web/DHTML Process Monitor? |
|
|
Newbie
Joined: 12 Dec 2003 Posts: 4
|
I'm interfacing my web app with workflow in order to display to-do lists, complete items, etc. I'll be using the Java API's along with XML messages to do all this.
After this, I want to build my own custom Process Monitor. Something like the monitor in the web client, but with my own icons, my own display techniques, etc. Ideally, I'd love to have it all done with DHTML and CSS so the look and style of the process displays could be changed by changing a stylesheet.
Has anyone created a custom process monitor using the API's? Any words of wisdom? What is the general difficulty level in using the API's to extract the info needed and construct a diagram?
Thanks!! |
|
Back to top |
|
 |
jmac |
Posted: Tue Dec 16, 2003 8:25 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I can tell you that the APIs you will need to use include the InstanceMonitor, ActivityInstance, ControlConnectorInstance, Point, and SymbolLayout. I have played around with this, but never written a complete monitor.
GOOD LUCK _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
mkruse |
Posted: Tue Dec 16, 2003 8:30 am Post subject: |
|
|
Newbie
Joined: 12 Dec 2003 Posts: 4
|
I've found the Monitor.java example, and this helps quite a bit to get all the activities and connectors and such, but I'm having a hard time finding examples of using the SymbolLayout and those classes to do the actual flow layout. Do you know where examples might exist? |
|
Back to top |
|
 |
jmac |
Posted: Tue Dec 16, 2003 8:39 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
To my knowledge there is no such example. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
mkruse |
Posted: Tue Dec 16, 2003 9:42 am Post subject: |
|
|
Newbie
Joined: 12 Dec 2003 Posts: 4
|
Okay, well I'm going to take a stab at displaying the flow using DHTML - I think it should be possible
One problem I'm having in getting the whole diagram is that the start and end of the process don't seem to come from the activityInstances() call.
In one of my sample processes, I have the start process immediately forking to two parallel processes.
When I use the example Monitor.java file, it shows me the first two activities, but not the process start or the connectors from the start to the first two activities.
I can't seem to find another call which will get me the starting node, either. Any ideas? |
|
Back to top |
|
 |
Ratan |
Posted: Tue Dec 16, 2003 11:02 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
There is no call to get the start node. You need to deteremine the first activity based on control connectors.
I believe there was a similar question on this forum - do a search. _________________ -Ratan |
|
Back to top |
|
 |
gmt |
Posted: Wed Dec 17, 2003 4:46 am Post subject: I did it... |
|
|
Newbie
Joined: 17 Dec 2003 Posts: 3 Location: Argentina
|
Time ago I made a process monitor just to learn about it... Y did it in JSP, I'm not an expert developer, so it has a lot of thing to do... but it works...
If someone want it, I could send it... |
|
Back to top |
|
 |
|