Hello,While editing the form am getting below error for the pickerFieldUsersAn error occurred while executing a save: Expression evaluation error: Cannot update List of NGM Tasks; length of assign value list (0) does not match length of the list to update (1)Below my code a!pickerFieldUsers( label: "Assignee", placeholder: "Select task assignee", value: local!taskData['recordType!{8bba5308-f92d-4f52-99ca-a84194e2b86b}NGM Tasks.fields.{4b779da2-0a05-4d7f-a99e-c30b4b4e087d}assignee'], saveInto: local!taskData['recordType!{8bba5308-f92d-4f52-99ca-a84194e2b86b}NGM Tasks.fields.{4b779da2-0a05-4d7f-a99e-c30b4b4e087d}assignee'], required: true(), maxSelections: 1 )
a!pickerFieldUsers( label: "Assignee", placeholder: "Select task assignee", value: local!taskData['recordType!{8bba5308-f92d-4f52-99ca-a84194e2b86b}NGM Tasks.fields.{4b779da2-0a05-4d7f-a99e-c30b4b4e087d}assignee'], saveInto: local!taskData['recordType!{8bba5308-f92d-4f52-99ca-a84194e2b86b}NGM Tasks.fields.{4b779da2-0a05-4d7f-a99e-c30b4b4e087d}assignee'], required: true(), maxSelections: 1 )
Discussion posts and replies are publicly visible
Could it be that this local!taskData is a list? Then to which item in that list would you want to save the data to?
Hello Stefan Helzle
is not a list local!taskData its an record type variable. This is for single record While editing the record am getting all details in this variable like below local!taskData: index( rule!NGM_QRD_getTaskData(taskId: ri!taskId), "data", {} )
local!taskData: index( rule!NGM_QRD_getTaskData(taskId: ri!taskId), "data", {} )
This is still a list. Even when there is a single item.