snow-flow
Version:
Snow-Flow v3.2.0: Complete ServiceNow Enterprise Suite with 180+ MCP Tools. ATF Testing, Knowledge Management, Service Catalog, Change Management with CAB scheduling, Virtual Agent chatbots with NLU, Performance Analytics KPIs, Flow Designer automation, A
18 lines • 749 B
JSON
{
"type": "script_include",
"name": "{{CLASS_NAME}}",
"description": "{{DESCRIPTION}}",
"config": {
"api_name": "{{API_NAME|CLASS_NAME}}",
"access": "{{ACCESS|public}}",
"active": true,
"script": "var {{CLASS_NAME}} = Class.create();\n{{CLASS_NAME}}.prototype = {\n initialize: function() {\n // Constructor\n },\n \n // Add your methods here\n {{METHOD_NAME|exampleMethod}}: function() {\n // Method implementation\n return true;\n },\n \n type: '{{CLASS_NAME}}'\n};"
},
"variables": {
"CLASS_NAME": "MyUtilityClass",
"DESCRIPTION": "Utility functions for ServiceNow",
"API_NAME": "MyUtilityClass",
"ACCESS": "public",
"METHOD_NAME": "exampleMethod"
}
}