Perform Compass action before changing activity

This default policy script is a placeholder: it does nothing. This policy is invoked when a developer attempts to finish an activity. The finish activity operation checks in all files that belong to the activity change set and performs HCL Compass actions, such as modifying the state of the activity to a Complete type state, based on the policies that you set. When invoked in a single-stream project or on the integration stream of a multiple-stream project, the finish activity operation is similar to a deliver operation in a multiple-stream project. Both operations share changes with the rest of the team.

You can edit the script to implement an approval process to control finish activity operations. For example, you may want to add an Approved field to the record type of the activity and require that the project manager set it before allowing developers to finish activities.