Field.getStringValue

Returns a String value for the field that can be used to pass the value when calling another form, an Integration Service or opening a workflow job (see examples below). For fields of type Object, returns a serialized value for the object. For all other field types, this method is equivalent to #getDisplayValue().

Javascript examples:

 // calling a form passing field values 
 var parms = {};
 parms.PARM1 = fields.OBJ1.stringValue;
 parms.PARM2 = fields.INT1.stringValue;
 form.callForm("FORM1", parms);
 // opening a workflow job passing field values 
 var parms = {};
 parms.PARM1 = fields.OBJ1.stringValue;
 parms.PARM2 = fields.INT1.stringValue;
 system.workflow.openJob("TEST_PROCESS", parms);
 

returns java.lang.String