AnsweredAssumed Answered

[Resolved] Access to Node (documents) from a workflow

Question asked by dranakan on Jun 2, 2009
Latest reply on Feb 14, 2012 by mitpatoliya
Hello,

I would like to access the properties of the documents associated to a workflow. The problem is that I don't know how to retreive the nodes from the ExecutionContext…

The workflow load the java class :

<node name="notifyERP">
      <event type="node-enter">
         <action class="manageoffice.workflows.Demobase" />
      </event>
      <transition to="end1"></transition>
   </node>

The Java class :

public class Demobase implements ActionHandler, configurationModule {
   private static final Logger logger = Logger.getLogger(Demobase.class);
   private BeanFactory factory;
   public Demobase() {
      super();
   }

   @Override
   public void execute(ExecutionContext executionContext) throws Exception {
      if (logger.isDebugEnabled()) {
         logger.info("Will notified ERP Database");
      }
???


How can I get the nodes that where attached at the beginning of the Workflow ?

Thanks :)

Outcomes