cancel
Showing results for 
Search instead for 
Did you mean: 

Group of files as one task/package. [SOLVED]

jimcornmell
Champ in-the-making
Champ in-the-making
Hi All,

I have a requirement to move several files around a workflow as if they one one package.  For example:

- Job12345.ai
- Job12345.pdf
- Job12345.gif
- Job12345.doc
- Job12345_Image1.gif
- Job12345_Image2.gif
- Job12345_Image3.png
- Job12345_Instructions.txt

So the user handles Job12345 and essentially can work the ai (Adobe Illustrator) file, when then causes the pdf, gif and doc to be updated.  But also other files might be attached as extra information for the user to use, maybe graphics and text which are to be included in the ai file.  The important thing is to keep these together as one and display them in tasks list as simply Job12345.

Applogies if this has an obvious answer but I'm a bit of a newbie.

Thanks in advance.

Jim
      3 REPLIES 3

      davidc
      Star Contributor
      Star Contributor
      Advanced workflow allows the routing of one or more files within a single "in-flight" workflow.  When you receive a task and open it, all the files associated with the workflow are listed.

      In the Web Client, you can only "right-click" start workflow on one file.  However, the subsequent dialog allows the addition of more files.

      Via the API (Java, and soon Javascript), many files may be associated when starting the workflow.

      jimcornmell
      Champ in-the-making
      Champ in-the-making
      Thanks David thats useful.

      However I cannot see how to execute Java under the Create Rule Wizard.  I'm currently using this to run some JavaScript to do most of what I want via "Execute a Script" option.

      I'm guessing from what you are saying that I will have to take a step back to add my files and perform this outside Alfresco using direct Java API calls.

      Jim

      jimcornmell
      Champ in-the-making
      Champ in-the-making
      Hi All,

      I've solved this see "Creating a new advanced workflow in java" http://forums.alfresco.com/viewtopic.php?t=9684.

      Jim