Not able to add form data to table

Hi ,

I am trying to add form data to table. But not able to get context properties. in Data Service Request Definition. I assigned values like this {{context.forms.LeaveReq.Todate}} when I click context and give a dot “forms” is not coming. so I tested it and got response as:

“{"errors":[{"msg":"Cannot read properties of undefined (reading ‘LeaveReq’)","code":400,"resolvedData":{"debugLogs":}}]}”

Please help.

Hi @bharathch108 ,

Thank you for reaching out to Kore.ai Community.

Could you please re check if you are providing a valid context path ?
Also try to print the value in message node and check if you are seeing a proper value which you are looking for.( Data which you are trying to push from Form to data table)

Thank you,
Srujan Madderla
Kore.ai Community Team

Hi Srujan,

I gave like this {{context.forms.LeaveReq.Todate}} I can’t see forms after I click dot next to context.
After context. I am getting only four property values - session, mappedindents,LeaveRequest
I am new to this so…
–How to print the value in message node

Regards,
Bharath

Bharath,
The ‘forms’ object does not appear in the dropdown list of options after you type ‘context’, so you will need to manually type the full identifier. (Sorry!) The format is:
context.forms.the_name_of_ your_form.the_form_field_name


Make sure you’re using the field Name, not the Display Name!