6 Replies Latest reply on Jan 18, 2013 1:53 PM by Scott Brodersen

    How to add payload to Workflow Packages programmatically?

    angerwin Level 1



      we have the future request where a Workflow Package must be created and some pages must be added as payload programmatically.


      Which is the best way to achive this? 


      The Documentation here Handling Workflow Packages tells me how to read the payload from an existing Workflow Package. But how can i add a Page as Payload. The Class ResourceCollection has the Method "add(Node node)" but this isn't implemented correctly (CQ5.5) because it throws a UnsupportedMethodException with the Message "Not yet implemented".