How to open a workflow directly from dashlet?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
marondo
Active Member

How to open a workflow directly from dashlet?

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
roberto_gamiz
Established Member II

Re: How to open a workflow directly from dashlet?

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,

marondo
Active Member

Re: How to open a workflow directly from dashlet?

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

Re: How to open a workflow directly from dashlet?

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.

roberto_gamiz
Established Member II

Re: How to open a workflow directly from dashlet?

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

marondo
Active Member

Re: How to open a workflow directly from dashlet?

Thank you.