Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Another Fix Script will not compile

Stacy2
Tera Expert

StacyLen here again.

I have another fix script that will not compile.  I get the same error as on an earlier one:  "Could not save record because of a compile error: SyntaxError: Expected ',', got ':' at line 1, column 1"

 

Any help appreciated again.  

Thanks all

 

 

new GlideQuery('sys_user')
.where('sys_id', '308b574483c322107f44aa3589da1e33')
.update([
    mobile_phone: '800-Cpf-fee1'
]);
1 ACCEPTED SOLUTION

Stacy2
Tera Expert

Please Cancel this request for help.  I see that I have square brackets [] where I should have had squirrely braces {}.    This happens when my eyes start bleeding... :~( 

View solution in original post

1 REPLY 1

Stacy2
Tera Expert

Please Cancel this request for help.  I see that I have square brackets [] where I should have had squirrely braces {}.    This happens when my eyes start bleeding... :~(