Skip to main content
Kinetic Community

Kinetic Request Approval Expire

Expires all incomplete approval submissions that are associated to the submission specified by the the 'Originating Id' parameter, typically the Instance Id of the originating base request.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

kinetic_request_approval_expire_v1.zip

For use with Task 4 (doesn't reach out to task): kinetic_request_approval_expire_task4_v1.zip

Detailed Description

Expires all incomplete approval submissions that are associated to the submission specified by the the 'Originating Id' parameter, typically the Instance Id of the originating base request.

This will prevent approvers from accessing the targeted approval submissions by displaying the "Survey Expired" web message that is specified for the approval service item.

The approval submission record, stored in the KS_SRV_CustomerSurvey_base form, is created to interact with the Kinetic Request approval process (see the Request Manager Training Manual for more information on Kinetic Request approvals).

This handler retrieves all submission records that have a 'OriginatingID' that matches the 'Originating Id' parameter, a 'Status' of "Sent", 'Submit Type' of "Approval", and sets 'Status' to "Expired", 'Request Status' to "Closed", and 'ValidationStatus' to the provided parameter value.  For each of the retrieved records, the Task Instance record responsible for creating the approval
submission record is set to "Closed".

Parameters

Name Description
Validation Status

The validation status value that should be set on each of the associated approval submissions.

Originating Id   The instance id of an originating Kinetic Request submission.  This value    used to identify the incomplete approval submissions that will   be expired.

Sample Configuration

Parameter Example Configuration
Validation Status Approval Expired
Originating Id <%=@base['CustomerSurveyInstanceId']%>

Note that @base values are not available in subtrees in Task 3.x and will only be available in local subtrees in 4.x.

Results

Name Description
Expired Instance Ids A comma separated String of the Instance Ids for the expired approval submissions.

Change Log

Version Date Description
1 2010-12-01 Initial version