Paul Lorenz
unread,Jul 19, 2009, 11:21:52 PM7/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sarasvat...@googlegroups.com
Hi all,
I have an idea for graph loading I wanted to see if anyone had feedback on.
Problem:
Ensure that the latest process definitions are loaded when your application starts up.
Solution:
Add a custom_id field to wf_graph Populate it with the hash of the process definition file. On startup, iterate over the process definitions files and compare their hashes with the hashes in the database. If the hash doesn't match, load the process definition.
Variation:
Try to create a canonical form of the xml first, so that ordering, whitespace and line endings don't affect the hash.
cheers,
Paul