Hello,
SBM version 12.0, using Appscript
I'm scratching my head on this one. The logic of the code uses multirelational field arrays to work with checkbox lists. The lists are in an aux table. ,1,2,3,4,5, etc.
I'm reading a multirelational field and the values are getting cleared on the read.
The field gets written in a previous transition.
On that transition I do a
call current.SetFieldValue("Field_one", var_one) The write will show: ,1,2,3, in the database field for Field_one.
call current.SetFieldValue("Field_two,var_one) ,1,2,3, also gets written.
When I work down the workflow on another transition I do a GetFieldValue:
call current.GetFieldValue("field_one",variable_name)
Immediately after the GefTfieldValue call "Field_one" and "Field_two" are cleared out and show " , ,"
What happened? I am not clearing out the fields in the field overrides and I don't see any field clearing in the Project through the Application administrator.
Why would Field_two get cleared out on the field_one read? Why would Field_one get cleared out? I'm just doing a Get? Maybe I don't understand "Get" in Appscript?
Regards,
Will