Accessing Now Assist in the Script Editor
In any script field (Business Rules, Script Includes, Client Scripts, etc.), look for the Now Assist icon in the script editor toolbar. If the plugin is activated and you have the now_assist_user role, it will be visible.
Code generation from comments
Type a comment describing what you want the code to do, then trigger generation:
// Query all active incidents assigned to the current user
// ordered by priority, return as JSON arrayNow Assist generates a code suggestion based on the comment. Review it before accepting — it will not know your specific custom fields or business logic.
Code explanation
Select existing code in the editor and use the "Explain" option. Now Assist returns a plain-English explanation of what the selected code does. Useful for:
- Understanding inherited scripts from previous developers
- Reviewing complex regex or encoded query logic
- Onboarding new team members to existing code
What it is good at
- Standard GlideRecord query patterns
- Common utility functions (date formatting, string manipulation)
- Boilerplate Script Include structures
- Simple transform map scripts
What it struggles with
- Custom business logic specific to your instance
- Complex multi-table query patterns
- Encoding edge cases in encoded queries
- Anything involving your custom field names (it does not know them)
Review everything
Treat Now Assist code suggestions like Stack Overflow answers — they are a starting point, not a final answer. Always review for: correct table names, field names that match your instance, logic that matches your actual requirements, and error handling.