By downloading this file, you acknowledge that you agree to our Terms of Service
For use with Task 4 (doesn't reach out to task): kinetic_request_approval_expire_task4_v1.zip
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".
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.|
|Validation Status||Approval Expired|
Note that @base values are not available in subtrees in Task 3.x and will only be available in local subtrees in 4.x.
|Expired Instance Ids||A comma separated String of the Instance Ids for the expired approval submissions.|