set result --> curr goal = @(word_slice(fields.goals_to_start ,0,1))
when calling api
@(json(object(
"column", ("name_" & fields.naming_group_id),
"language", contact.language,
"id", results.curr_goal.value
)))
use .value in result otherwise it's an object in rapidpro
set result --> curr goal = @(word_slice(fields.goals_to_start ,0,1)) when calling api
@(json(object( "column", ("name_" & fields.naming_group_id), "language", contact.language, "id", results.curr_goal.value ))) use .value in result otherwise it's an object in rapidpro