We periodically run Attestations and regularly receive questions from users because the denial reason displayed in the IT Shop is unclear. When an attestation is automatically processed due to no response from the attestor, the request is denied with the following reason:
- Attestation denied: #LDS#Automatic system approval with method CD : Condition was not met
What we have investigated
In the Attestation Case, we can see that the standard Auto Remove process is triggered as part of the Remove Membership step configured in our Attestation Policy. This occurs when no attestation response is received within the configured timeframe.
The flow is:
- Attestation Approval Policy triggers the AUTOREMOVE action.
- This starts the process:
- VI_Attestation_AttestationCase_AutoRemoveMemberships
- The process executes the Remove Membership step.
- This step calls the script:
- VI_AttestationCase_RemoveMembership
- From there, the MakeDecision process is triggered.
When a manager manually denies an attestation, the denial reason shown in the IT-Shop is the reason entered by the approver (or blank if none was provided).
However, when the denial is performed automatically by the system the IT Shop displays: Automatic system approval with method CD : Condition was not met.
Question
Is there a supported way to replace this message with a more meaningful denial reason (for example, indicating that the attestation timed out and the membership was automatically removed)?
Or would this require customization of the out-of-the-box Auto Remove process (VI_Attestation_AttestationCase_AutoRemoveMemberships) and/or the associated decision-making logic?