Using Script Builder "No rows found for the table PersonalityConfiguration in this DataObject" when updating a variable

Using Script Builder "No rows found for the table PersonalityConfiguration in this DataObject" when updating a variable

Hi,

Seems to be an issue with script builder and subforms as follows

in an On edit on success section

when i write this script

1) abc = "test";

2) for each put_dates_in_patient_info in input.v3booking_form
{

}

3) put in a command to update a variable example

abc="test";
for each put_dates_in_patient_info in input.v3booking_form
{
   ************** abc=put_dates_in_patient_info.Added_User;  *****************************************
}

the command abc=put_dates_in_patient_info.Added_User; will give an error

No rows found for the table PersonalityConfiguration in this DataObject

works in free flow