GlideRecord Use getUniqueValue to get sys_id. Use newRecord instead of instantiating to get a new record with default values. Dot-walking on GlideRecord returns GlideElement, use getRefRecord to get GlideRecord. GlideForm Use getBooleanValue for boolean fields.
MID server setup and configuration ITOM > ITOM Guided Setup Create MID server user with role mid_server Download file Extract "agent" folder to /ServiceNow/ Configure wrapper-oveverride.conf or via installer with naming conventions