cancel
Showing results for 
Search instead for 
Did you mean: 

How to open a workflow directly from dashlet?

marondo
Champ on-the-rise
Champ on-the-rise

Hello everyone.

I'm new to alfresco.

I'm creating a dashlet for the purpose of opening a workflow from a button on it. Could someone help me to achieve this?

5 REPLIES 5

roberto_gamiz
Star Contributor
Star Contributor

Hello,

Your requirements seems to be similar to the current mytask dahslet but eliminating all the filters and modifing the calls te repository services to get the info of your especific workflow.

You could see the source code of this dashlet to get ideas to develope yours.

share/my-tasks.get.desc.xml at master · Alfresco/share · GitHub 

Best,

Thank you for the assistance. I'll follow the link, something I'll say.

marondo
Champ on-the-rise
Champ on-the-rise

I would like to code the document flow button to open this task.

This is the dashlet example. I want to encode this button to directly open the indicated workflow.

This would be the open workflow when you click the button.

You can find all the information you will need to create your dashlets in this two links

http://docs.alfresco.com/community/concepts/dev-extensions-share-surf-dashlets.html

http://docs.alfresco.com/community/concepts/dev-extensions-share-aikau-dashlets.html

Using this info and the current task dashlet you will be able to develope a dashlet with this UI and that open the start workflow page.

Once you have this you will have to modifyng the start workflow page to get your workflow by default.

http://docs.alfresco.com/community5.1/concepts/dev-extensions-share-override-ootb-surf-pages.html

Regards

Thank you.