Skip to main content
Kinetic Community

Kinetic Request Submission Update Answers

This handler creates or update answer records related to the specified submission given one or multiple JSON answer sets.

Downloads

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

Request RE pre 5.2 version users should use this version: kinetic_request_submission_update_answers_v4.zip

Request RE 5.2 version or greater users should use this version: kinetic_request_submission_update_answers_v5.zip

 

Detailed Description

This handler creates or update answer records related to the specified submission given one or multiple JSON answer sets. This handler is meant to push requester and other data from parent record to the child record at time of submission. When the child record is originally created, it generally pulls this information--but the user can update this information in the parent after initial creation of the child. This handler allows you to create/update the answers in the child record right before submission so you can assure you are processing the correct values in your child records.

Please note that this handler is NOT intended to update answers in submitted items. This is because updating submitted answers will affect your data integrity.

Parameters

Name Description
Submission Instance Id The instance id of the submission for which to create answers
Answer Sets Comma-separated JSON answer sets that contain the question label to answer mappings

Sample Configuration

Parameter Example Configuration
Submission Instance Id <%=@results['Child1']['Instance Id']%>
Answer Sets <%=@results['Get Parent Answers']['Answer Set']%>

Sample Configuration 2

Parameter Example Configuration
Submission Instance Id AG00505696001Cd0-nUQhsiJKA2zQZ
Answer Sets {"ReqFor_First Name":"Ron","ReqFor_Last Name":"Requester"}

Change Log

Version Date Description
5 06-21-2017 Only load JSON in Task 3 and below to make it compatible with Task 4 and above.
5 12-18-2015 5.2 update. Handles 5.2 unlimited answers.
4 11-18-2013 will work properly across sessions (& parent/child items)
3 07-11-2013 handles mapping to attributes on the base form
2 10-29-2012 Handles if answers are more than 255 characters