diff --git a/Flow Actions/Set Location/Readme.ms b/Flow Actions/Set Location/Readme.ms new file mode 100644 index 0000000000..024bd3f4f5 --- /dev/null +++ b/Flow Actions/Set Location/Readme.ms @@ -0,0 +1 @@ +This will populate a field string based on the field on the user's record without having to use GlideAjax. Go to the dictionary and place this snippet in the Default Value field. diff --git a/Flow Actions/Set Location/Set Field b/Flow Actions/Set Location/Set Field new file mode 100644 index 0000000000..3b2929bcc6 --- /dev/null +++ b/Flow Actions/Set Location/Set Field @@ -0,0 +1 @@ +javascript: var luser = new GlideRecord("sys_user"); luser.get("sys_id", gs.getUserID()); luser.location.u_installation_id.sys_id.toString();