Script in iOS and Android not working

Script in iOS and Android not working

Hello,

I have a problem with the iOS and Android app, I have a script running in my templates that autofills some data in the request.

The script that I am using is below:

--> START SCRIPT <--
var fafr_key = "WorkOrder_Fields_UDF_CHAR3";
var api_key = "udf_sline_1";
var additionalFieldValue=$CS.getValue("REQUESTER.user_udf_fields."+api_key);

$CS.setValue(fafr_key,additionalFieldValue); 
--> END SCRIPT <--

The script runs on "Changing of a Field" when the requester is filled.

I use this script for 3 fields, in the web application it is working perfectly but in the iOS and Android application it is not working. So when a technician creates a incident it will not autofill the fields.

Can somebody help me out please?

Thank you.

                  New to ADSelfService Plus?