[jboss-user] [jBPM] - Re: Concept of different locales/time zones in jBPM5

Michael Wohlfart do-not-reply at jboss.com
Sat Sep 18 04:30:11 EDT 2010


Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the discussion

"Re: Concept of different locales/time zones in jBPM5"

To view the discussion, visit: http://community.jboss.org/message/562524#562524

--------------------------------------------------------------
Hi Peter & HuiSheng,
I don't think the workflow engine should deal with things like timezones, DST or any kind of internationalization, that's not the job of the workflow engine. All dates and times the engine is dealing with should be UTC. Internationalization and localization, including calculating the local time for a specific user should happen in the user interface layer not in the core workflow engine.

The business calendar is a different story, right now there is a single business calendar per engine instance, and this doesn't cover all usecases. There might be users in different countries with different holidays. Having a business calendar per user seems to be a better approach but also a lot of overhead since most calendars are probably the same, but to me this seems to be the only change that is neccessary in jBPM4 to do localization.

Of course I might miss something, so please let me know if you think this wouldn't work...
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/562524#562524]

Start a new discussion in jBPM at Community
[http://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/20100918/9b970ef7/attachment.html 


More information about the jboss-user mailing list