[jboss-user] [JBoss jBPM] - Multiple views of one process

david_ling do-not-reply at jboss.com
Thu Mar 6 09:31:50 EST 2008


Got a question regarding the process image.  Currently it is possible to see the image of a process in the portal by deploying processimage.jpg and gpd.xml.

I was wondering if it is possible to see multiple images of the same process based on who the user is.  If we take the websale tutorial for example,

- A normal user might only see 3 steps of the process from beginning to end, 1. Create websale order 2. Ship to user 3. End
- The manager/admin may see a different picture, the detailed processimage as deployed originally.

A reason for this may be that the manager of the portal does not want the user to find out each step of the business process and instead just wants to present a highlevel process to the user.  It might not be necessary (and in real life on a shopping site like eBay, it isn't) for the user to know that there is a task called "wait for money" along side with their order being shipped.

What I have in mind is that I will develop the detailed business process with Eclipse, and then modify the processimage.jpg using a paint program as well as modifying the gpd.xml based on the modified image and save both files under another name, say "HighLevelProcessImage.jpg" and "HighLevelProcessImage.xml" and then deploying these two along with processimage.jpg and gpd.xml.  Based on whoever is logged in at the time, they will either see HighLevelProcessImage.jpg or they will see processimage.jpg based on their access rights.

Is there a config file where I can say "normal users sees HighLevelProcessImage.jp and admins and managers sees processimage.jpg" or will I have to code this up?

Sorry if this question has been asked before, but any help would be appreciated.

Thanks a lot


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134573#4134573

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134573

More information about the jboss-user mailing list