cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically adding resource to workflow

pascalt
Champ in-the-making
Champ in-the-making
Hello,

I'm want to dynamically add a resource (to the workflow package) through javascript.
I found the add_package_item item action.

Is this the right action to do this and how do i execute and add content with javascript with this action?
1 REPLY 1

davidc
Star Contributor
Star Contributor
I found the add_package_item item action.

add_package_item is an action group name.  An action group controls what's available in the UI.

If you want to add resources to a workflow packagein code, you can use javascript within your workflow definition.

Please see http://wiki.alfresco.com/wiki/WorkflowAdministration#Step_3:_Add_Behaviour_to_the_Process_Definition and http://wiki.alfresco.com/wiki/JavaScript_API