cancel
Showing results for 
Search instead for 
Did you mean: 

Attach space as workflow package

bpeters
Champ in-the-making
Champ in-the-making
Dear all,

Does any one if it is possible to attach a space (like for example a Fileplan in Records Management) to a workflow as a workflow package in version 2.0?

Thanks in advance,

Bas
3 REPLIES 3

evdgeest
Champ in-the-making
Champ in-the-making
I am also very interested in this, I hope someone can tell us how to make this work.

Thanks.

davidc
Star Contributor
Star Contributor
It's possible to use any existing container (Space, folder, …) as a workflow package.  However, currently, this feature is only exposed via the Workflow Java API - http://wiki.alfresco.com/wiki/Workflow_Reqs_and_Design#Workflow_Service

Take a look at the method
public NodeRef createPackage(NodeRef container);
.

Unfortunately, the "Start Workflow" Action doesn't allow an existing space to be passed in.  But, it wouldn't be difficult to modify - take a look at org.alfresco.repo.workflow.StartWorkflowActionExecuter.java.

We'll look to fix this in the core as several requests have now been made.

evdgeest
Champ in-the-making
Champ in-the-making
Thanks for your quick reply.

Do you have any idea in witch version of Alfresco this feature will be available?

Thanks.