Formatting signature data

Use the following extension to format signature data:

sub eSigCust_MakeLogEntry {
  my ($timestamp, $action, $state, $login, $fullname, $groups) = @_;
  return "Signed: $timestamp $action $state " .
         "$login $fullname $groups \n";
}
Arguments:
  • $timestamp: A string-formatted time-stamp value. (You can specify a custom time stamp field or omit the field.)
  • $action: The name of the current action that is being executed.
  • $state: The state of the record. If the action has changed the state, this field indicates the new state.
  • $login: The name of the user, as represented by Rational® ClearQuest®. (If LDAP authentication is in use, this name may be different from the LDAP user name.)
  • $fullname: The full name of the user, if it is known.
  • $groups: A list of the Rational® ClearQuest® groups to which the user belongs. (If LDAP authentication is in use, the groups directory might include group names that are independent of those managed by Rational® ClearQuest® software.)
Return value: A string representing the full eSignature entry to be written to the eSignature log, including delimiters and space between entries.