{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":691,"path":"api-reference/scripts/t_CreateSimpleProcessor.md","title":"Create a simple processor","bundle":null,"doc_type":null,"release":"australia","body":"\n# Create a simple processor\n\nCreate a simple processor to execute a script from a URL query. This feature is deprecated.\n\n## Before you begin\n\nYou must have your own demonstration instance.\n\nRole required: admin\n\n## About this task\n\n**Note:** This feature is deprecated. While legacy, existing custom processors continue to be supported, creating new custom processors has been deprecated. Instead, use the [Scripted REST APIs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/c_CustomWebServices.md).\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Definition** &gt; **Processors**.\n\n2.  Select **New**.\n\n3.  Enter the following information.\n\n<table id=\"choicetable_wfd_v4x_3q\"><thead><tr><th align=\"left\" id=\"d576809e112\">\n\nField\n\n</th><th align=\"left\" id=\"d576809e115\">\n\nValue\n\n</th></tr></thead><tbody><tr><td id=\"d576809e121\">\n\n**Name**\n\n</td><td>\n\nHello\n\n</td></tr><tr><td id=\"d576809e130\">\n\n**Type**\n\n</td><td>\n\nScript\n\n</td></tr><tr><td id=\"d576809e139\">\n\n**Path**\n\n</td><td>\n\nHello\n\n</td></tr><tr><td id=\"d576809e148\">\n\n**Script**\n\n</td><td>\n\n```\nvar name= g_request.getParameter(\"name\");\ng_processor.writeOutput(\"text/plain\",\"Hello \"+name);\n```\n\n</td></tr></tbody>\n</table>4.  Select **Submit**.\n\n5.  Enter a URL query to the instance with the following format: `https://instance.service-now.com/processor_name.do?parameter=value`\n\n    For example: `https://<instancename>.service-now.com/Hello.do?name=world`.\n\n\n**Parent Topic:**[Processors](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/scripts/c_Processors.md)\n\n"}}