cancel
Showing results for 
Search instead for 
Did you mean: 

Show workflow form startup on 'Start workflow' page

sayal
Champ in-the-making
Champ in-the-making
Hello,

i want to modify the "Start workflow" page so that a certain workflow form (e. g. the one for ad hoc workflows) is displayed from the beginning. I do not know with which method the callup of the form is invoked and what file is responsible for that.

I appreciate every hint or idea to achieve this customization.

Thanks in advance!

sayal
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
You look in to start workflow page related webscript files.
<ALF_HOME>\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\workflow
start-workflow webscript files I guess.
workflow-list.get.js seems to be fetching all the workflows from repo.

sayal
Champ in-the-making
Champ in-the-making
Hi Mits,

thanks for your response! Indeed start-workflow webscript is responsible for displaying the "Start workflow" page. I explored the script and the dependencies to other files and found out that when you select a workflow the workflow form is loaded by an AJAX method in start-workflow.js (found in \tomcat\webapps\share\components\workflow). I would like to call this method as soon the page is loaded. Know it says "onWorkflowSelectChange". How can i achieve this?

Thanks in advance!