AnsweredAssumed Answered

Script Parameter call acting strange

Question asked by JamesPeragine on Apr 29, 2018
Latest reply on Apr 30, 2018 by JamesPeragine

I have a script that I'm using through my solutions.  It simply updates a field.  It's doing something very strange when the field is a list.

 

My script

Set Field By Name ( GetValue (Get(ScriptParameter; 1)) ; GetValue(Get(ScriptParameter;2))

My script parameters

GetFieldName (table1::Name) &¶& GetField(GetFieldName(Table2:Name))

 

For some reason it only sets the first value in the field into the second field

i.e.

 

field 1      Field 2

Bob         Bob

Tom

 

If I do a simple SetField (Table1::Name; Table2Name) it copies the whole list.  Any idea whats going on?

Outcomes