workflowalfrescoalfresco-sharealfresco-webscripts

alfresco start workflow directly from document library


I use ALfresco 5.2 community edition and I need to start a custom workflow directly from the document details page, though a custom button/action.

I've already searched the web and Stackoverflow community, the nearest thing I've found is this but I can't figure it out.

I would like to use the default page for the workflow http://localhost:8080/share/page/site/my-site/start-workflow with the dropdown already selected.

How can I do that?


Solution

  • I made this customization, like you thought, with a custom button/action. I create a js method that redirect to "start-workflow" page, similar to base method on actions.js. Then i customize start-workflow.js taking my definition and work is done. I hope it helps.