Hide menu delete workflow in Workflows I've Started - Completed Workflows

cancel
Showing results for 
Search instead for 
Did you mean: 
aris
Partner

Hide menu delete workflow in Workflows I've Started - Completed Workflows

Hello,

I'm installing my client with Alfresco Community Edition 7.2 with some custom workflow. and they have been running custom workflow until completed. Some user request about workflow completed, they want to hide menu delete workflow in Workflows I've Started - Completed Workflows, it is possible ?

Thanks in advance.

Regards.

3 Replies
sanjaybandhniya
Intermediate

Re: Hide menu delete workflow in Workflows I've Started - Completed Workflows

Yes. You can Hide delete workflow menu. You also need to hide delete button in View History page also.

You need to customize workflow-actions.js to hide Delete Workflow menu and to hide button you need to customize workflow-details-actions.js

aris
Partner

Re: Hide menu delete workflow in Workflows I've Started - Completed Workflows

Hi Sanjay,

Thank you for your response, and it's very use full for me, but i have difficulties to hide the button. for now i just broke the script until user can't delete the workflow. is there any example for me.

Thanks in advance.

Regards,

aris_disya
Member II

Re: Hide menu delete workflow in Workflows I've Started - Completed Workflows

Hai Aris,

i am using alfresco 5x, and you can find it in folder /tomcat/webapps/share/components/workflow. in every alfresco version may be you can find it in same folder.