5.4.1 What Happens When Task Tracking Is Active?
When Task Tracking has been activated for a partition, all development work within LANSA will be monitored. When an object is selected (to create, compile, change, delete or review), Task Tracking will execute the following procedures every time:
1. After the user has selected an object to work with and the normal LANSA object security checks have allowed work to commence, it makes sure that:
- A valid task identifier has been specified if the user requires a task identifier to work in LANSA.
- The status of the task is either 'OPN' or 'WRK'.
- The user for the job is in the list of authorized users/groups for the Task Identifier, or is the LANSA partition security officer user/group profile or QSECOFR user/group profile.
- The user is allowed to change Task Identifiers and is authorized to work with the task that is allocated to the object if the object that has been selected to work with is allocated to another task identifier.
2. After the user has completed work on the selected object, task tracking makes sure that:
- If no task identifier has been specified from the time LANSA was invoked OR the user is required to confirm the task identifier he/she is working with, a POPUP window will be displayed. This is to prompt/confirm the user for the task identifier that should be allocated to the selected object.
- All the checks carried out in Step 1 will be performed again when the Task Identifier has been allocated in the POPUP window.
- If any of the checks performed in Step 1 have been found to be false OR the user has decided to exit from the POPUP window, a message will be issued stating that 'Work has not been committed' and LANSA database changes will not be performed.
3. If work has completed successfully for the object, LANSA database files are updated with the object changes and the Task Tracking database files are updated with the details of the events that have taken place.
Note: The Task Id locked to an object can be displayed/hidden using a function key.