Skip to main content

IMPORTANT - Product End of Life Statement - IMPORTANT

Request RE, Survey, and Calendar 1.5 Support Ending December 31, 2020
Contact Kinetic Data Support with Questions
Kinetic Community

Kinetic Request Submission Create Answers

This handler creates answer records related to the specified submission given a JSON answer set.


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:

Request RE 5.2 version or greater users should use this version:

Detailed Description

First the task handler retrieves the submission record using the specified submission instance id.  If none is found it will raise an exception.

Some data from the submission record will be used to create the answer records.  The template id of the submission record is also used to lookup the questions related to the form.  Also the submission record is updated to ensure that its lookup id is set to its own instance id (this is only done if the two values are not already equal).  The lookup id is set this way so that the answers are loaded properly when the submission is opened.

Then the given answer sets are merged into one.  If multiple answer sets define answers for the same question, the answer sets defined later in the comma separated list will take precedence.

Finally the task handler iterates through each of the questions related to the form.  If there is an answer defined in the combined answer set, it will create an answer record related to the submission for that question.

NOTE: This handler is no longer being maintained and it does not handling mapping of answers to the data set. The Update Answers handler will create or update answers and is the item being maintained at this time.


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 AG0050560C63F2e16VTwNhnF0gTOt-
Answer Sets {"First Name":"Don", "Last Name":"Demo"}


This handler returns no results.

Change Log

Version Date Description
1 23 April 2012 Initial version
2 29 Oct 2012 handles if answers are more than 255 characters
3 18 Dec 2015 5.2 update. Handles 5.2 unlimited answers.
3 21 Jun 2017 Only load JSON in Task 3 and below to make it compatible with Task 4 and above.