0 Replies Latest reply on Aug 10, 2012 1:13 PM by new bee

    Workflow design

    new bee Newbie

      Hi,

      I am planning to design a simple workflow framework which contains simple nodes which includes actions to perform in that node and parameters of that node.. ....

       

      In this i want to add persistency feature so that if client ends session in the middle and wants to restart process, then i can get info from database and restart session....

       

      Here i need your help for schema design?

       

      My main questions are :

      1) Parameters and attributes of node changes from one node to another node....Then how could i store node info in DB? Is Serializing the object and storing in relation database is better approach? Or Any other format or databases?

       

      2) If at any point client wants to come back,How would i know the previous node? Do i need to store previous node of each node in database?

       

      3) We give conditions on the edge between nodes in workflow...What is suggested format and datatype for conditions ?

       

      Assume i am implementing this framework with plain java......

       

      Please reply as soon as possible...

       

       

      All suggestions are welcome.......