Type: Service Pack Request
Affects Version/s: Alfresco Process Services 1.6.0, Alfresco Activiti 1.5.2, Alfresco Process Services 126.96.36.199
Fix Version/s: Alfresco Process Services .N
Component/s: APS Tasks
Steps to reproduce
1. Setup Activiti 1.5.2
2. Login as firstname.lastname@example.org to activiti-app
3. Via kickstart import and publish the attached app READ-ONLY-change-tab.zip
a) This app contains a simple process: start event -> user task (assigned to initator) -> end event
b) The user task is having a form
c) The used form has four tabs.
d) The form has configured the following code for the formTabActivated event
e) Tab Two contains the field with "Label7"
4. Start a process from the published app from your landing page
5. Open the created user task "Task1"
6. Click on the second tab
You are seeing two alerts:
"The formTabActivated event triggers when clicking a new tab, not after the new tab was rendered"
The second alert indicates, that script is triggered in the scope of current tab and not in the scope of the tab that is activated.
Reproduced current behaviour in latest Activiti 1.5.2. There is no event option to trigger something for a rendered tab.