Community
Thumb_workitem-hooks-requiresignature

Save Hook: Require Comment for Declined LiveDoc Signature

 This save hook for LiveDoc Documents prevents users from declining a workflow signature without providing a signature comment

Description

When users perform a LiveDoc workflow signature, they can optionally provide a comment with the signature. Especially for declined signatures, it is useful to provide some reasoning in the comment as to why the signature was declined. This save hook prevents users from declining a LiveDoc signature without providing such a comment. When they try to save the LiveDoc, the hook will abort the action and give the users the chance to provide the missing comment.

The hook can be configured for complete projects or only for specific document types of a project.

 

Installation

  1. Have the Work Item Action Interceptor Framework installed and follow the instructions of that extension.
  2. Go to the releases section of the Project Page and download the latest version of the hook.
  3. Copy the jar file in the hooks folder of the Interceptor Framework on your Polarion server.
  4. Add the configuration properties in the hooks.properties file of the Interceptor Framework.
  5. Follow the instructions of the Interceptor Framework on how to reload the hooks and configuration properties.

 

Configuration Properties
This hook has the following syntax for the configuration properties:
RequireCommentForDeclinedSignature=ProjectId, ProjectId.DocumentTypeId
You can either configure the hook for a complete project or only for a specific document type in a project. Multiple entries are separated by a comma.

 

Syntax Examples
RequireCommentForDeclinedSignature=drivepilot, elibrary.generic

 

Uninstall

Remove the jar file from the hooks folder of the Interceptor Framework, remove the corresponding entries in the hooks.properties file, and reload the hooks and properties on the Action Interceptor Manager Wiki page.

 

What's New in Version 1.1.0

Updated October 2023

Version 1.1.0
- Initial Release

 

Information

Vendor Kevin Schmiechen (Institute of Flight System Dynamics, Technical University of Munich)
Published Version 1.1.0 - October 2023
Categories
Price Free
Community Supported Extension This extension is not supported by Siemens PLM.
Requirements Work Item Action Interceptor Framework 3.1.1 and later
Polarion 20 R1 (3.20.1) and later
Last tested with Polarion 2304 (3.23.4)

Related Extensions