What's the main workflow class

kisito
2006-07-08
2013-05-02
  • kisito
    kisito
    2006-07-08

    Hi

    When a workflow is trigger, what's the first class, and the first method which's started? they are many class in the org.compiere.wf package, but i don't know what's the main class.
    best regard

     
    • Carlos Ruiz
      Carlos Ruiz
      2006-07-08

      Hi, I haven't tested but I think that the execution flow is something like this:

      org.compiere.apps.ProcessCtl.startWorkflow

      here instances a MWorkflow object and call the method

      org.compiere.wf.MWorkflow.start

      Please give us feedback about your finding.

      _______________________
      Carlos Ruiz - globalqss
      http://globalqss.com