cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript

gslamy
Champ in-the-making
Champ in-the-making
Hi,

How execute javascript at the end my workflow?
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
<a href="http://docs.alfresco.com/5.0/concepts/wf-process-def-listeners.html">Alfresco documentation about Activiti listeners</a>

gslamy
Champ in-the-making
Champ in-the-making
Where i will must write this code? I created custom workflow and need help.

My workflow structure:
tcModel.xml – description of the model content
workflows/PublishPaperProcess.xml – description of business processes
tcWorkflowModel.xml – description of the business process model
tcWorkflow_ru_RU.properties – localization of the business process
web-client-config-custom.xml – setting Alfresco Web Client
webclient_ru_RU.properties – localization of Alfresco Web Client

I want run my js or java code after start workflow. Can you show me how do it (example, logging start time the workflow in .*txt file).

This is my start node in workflows/PublishPaperProcess.xml:

   <start-state name="Start">
      <task name="tcwf:submitTask" swimlane="initiator" />
      <transition name="" to="Submit" />
   </start-state>


And i wanted to ask you. Does last Community version Console?

Thanks in advance.