In the Table Names pane, select a table. Upload to Study. update(), this will only prevent the before update business rules running for the source table. We would like to show you a description here but the site won’t allow us. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. Please note: These APIs are provided to support legacy applications in. Using GlideRecordSecure in this scenario will prevent a. You may also want to consider turning off audit. GlideRecord - Scoped. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. Please note: These APIs are provided to support legacy applications in. Because the gr object is not enclosed in a function, all server-side scripts, including script includes and other Business Rules, have access to it. setworkflow(‘false’); This is something that’s going to drastically increase the performance of your queries, but at the cost of possibly not deleting all related records. Since Business Rules are evaluated whenever an insert, update, delete or query action is made to a record, it is important to ensure you are using conditions. For example, assume you open an incident and need to pass this information to the client: The value of the system property css. Reload to refresh your session. Please note: These APIs are provided to support legacy applications in. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. article for details on building and running queries. But it's best practice to save dot-walking for reference fields, like for getting a Caller's Company name: gr. ChooseWindow. Equivalent to calling getCurrencyCode. A GlideRecord is an object that contains records from a single table. update();} }GlideRecord is used for database operations. Servicenow GlideRecord AutoSysFields=false setworkflow=false || Deep analysis and explained#howto#workassignment#learningcoding#coding#servicenow. The GlideRecord API is the primary means of interfacing with the database on the server-side code. update(); Question: Why “. The GlideRecord API is used for database operations and contains both records and fields. Servicenow GlideRecord AutoSysFields=false setworkflow=false || Deep analysis and explained#howto#workassignment#learningcoding#coding#servicenow #hiring #jo. Please note: The APIs below are intended for scoped applications and. Please note: These APIs are provided to support legacy applications in. Using our Chrome & VS Code extensions you can save code snippets online with just one-click!The GlideRecord API is the primary means of interfacing with the database on the server-side code. You might wonder why a business rule was triggered on a particular table, although it was clear that you had set SetWorkflow(false) on your script, which is supposed to prevent it from happening. setWorkflow(false)) before calling gr. g. The Now Platform comes with intuitive graphical tools that make app. Did a test and closing 10 incidents takes approximately 14 – 18 seconds. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. color Whether or not the current record has attachments The name of the caller’s manager A display business rule sends this information to the client using the following script: ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. getAggregate ('COUNT', 'user_name'); gs. list (you can actually go directly to a server table if you know what kind of servers they are) and then add class to the list view by clicking on the cog. i have called the function: u_updateAgingCategoryField. The GlideRecord API is the primary means of interfacing with the database on the server-side code. base. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Using GlideRecordSecure in this scenario will prevent a. The world works with ServiceNow. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. A GlideRecord contains both records and fields. Use autoSysFields(false)-’autoSysFields’ is used to disable the update of ‘sys’ fields (Updated, Created, etc. You have two choices:. A can be hard at remember all of the Client and Server default of a GlideAjax call. Please note: These APIs are provided to support legacy applications in the global scope. color. article for details on building and running queries. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Filter to return active records. Query. ; Learning Build your skills with instructor-led and online training. A GlideRecord contains both records and fields. The GlideRecord API is the primary means of interfacing with the database on the server-side code. You first need to have a GlideRecord object. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. GlideRecord & GlideAggregate Cheat Sheet GlideRecord (String tableName) // use the incident table// fetch data from the database GlideRecord provides access to fields via. When trying to copy work notes when using setWorkflow(). After switching of the workflow (gr. setWorkflow()” is used ? Answer: t is used to enable or disable the business rule to run. g. Please note: These APIs are provided to support legacy applications in. GlideRecord is used for database operations. It is also substantially helpful in troubleshooting records and running complex scripts to find information. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. setWorkflow () The serWorkflow () method accepts one argument: a boolean true / false value. gr. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. gr. article for details on building and running queries. To delete an entire table, you can do so from Tables & Columns. A GlideRecord is an object that contains records from a single table. gr. article for details on building and running queries. update(), there's a function that prevents other Business Rules from running after yours: setWorkflow(false). It is recommended that new. Please note: These APIs are provided to support legacy applications in. autoSysFields ( false ) ; //Do not update system fields gr. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ; ServiceNow Learn more about ServiceNow products and solutions. article for details on building and running queries. Remember to run in a development instance and test before running in production ServiceNow instance. When you are running any script and you want that any other script should not trigger because of your script then we use this function. GlideRecord is used for database operations. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. This really is only used in special situations. A GlideRecord is an object that contains records from a single table. Please note: The APIs below are intended for scoped applications and may behave differently in the global scope. This argument will determine whether business rules should be triggered by any database actions performed by your GlideRecord See full list on servicenowelite. Unlike UI policies, Business Rules do not monitor fields on a form. u_aging_category = aging; gr. A GlideRecord is an object that contains records from a single table. Right click on the filter and click “copy query”. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. setWorkflow = false; gr. Personally, I recommend always using the . Please note: The APIs below are intended for scoped applications and. A GlideRecord is an object that contains records from a single table. Please note: These APIs are provided to support legacy applications in. setWorkflow(false); gr. article for details on building and running queries. Use solutions like App Engine Studio to quickly build an app to automate a manual process. We would like to show you a description here but the site won’t allow us. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. The GlideRecord API is the primary means of interfacing with the database on the server-side code. For information about GlideRecordSecure, which is a class inherited from GlideRecord that performs the same functions as GlideRecord, and also enforces ACLs, see the . GlideRecord is used for database operations. addEncodedQuery(String Query) クエリ内で指定したパラメーター設定でレコードをフィルターする. A GlideRecord is a class of object that represents a table & offers a scriptable API to access records on that table. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. GlideRecord - Global. gr. 3. DO NOT use setWorkflow(false) on scheduled jobs. CURENCY_CODE: Gets the currency code of a currency field (e. If I understand correctly, you're wanting to cancel workflows? You should be able to go to "active contexts" on the menu and see all active workflows. GlideElement is a class of object that represents a column on a table. Please note: These APIs are provided to support legacy applications in. var gr = new GlideRecord ('incident'); gr. write gliderecord script to a table which can then be executed on a schedule using GlideScopedEvaluator ()-business rules to trigger the update action-script include to store entries in a scheduled script table (extended from DL [dl_matcher] so as to be outside of license cost)-scheduled job to iterate through the scheduled script table and execute. setWorkflow (true): All business rules on the table for the current. setworkflow(false) there is a sys property that is enabled now that uses query business rules to filter in the users role, etc and also checks the ACL’s ReplyThe GlideRecord API is the primary means of interfacing with the database on the server-side code. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. After that, you simply need to use . About. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Mark Stanger. You can prevent recursive Business Rules by using the setWorkflow() method with the false parameter, current. The GlideRecord API is the primary means of interfacing with the database on the server-side code. Please note: These APIs are provided to support legacy applications in the global scope. Below is my default “clear out a bunch of records” script. article for details on building and running queries. Let’s say if in code gr. A GlideRecord is an object that contains records from a single table. Use Conditions in Business Rules. GlideRecord is comprised of GlideElements as well as other methods and metadata that work together to allow you to query from and write to database tables. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. article for details on building and running queries. Equivalent to calling getCurrencyCode. Using setWorkflow () The setWorkflow () method utilizes a single boolean argument of either true or false. deleteRecord (), or deleteMultiple () method on bad query results can result in data. Mark several incident tickets as spam. S_for_Stuart • 6 mo. A GlideRecord contains both records and fields. language = ‘en’; gr. When true, takes about 3 seconds. But sometimes we need to exclude some of them. Please note: These APIs are provided to support legacy applications in. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. What is a Backdrop Script? It is an utilitaristisch in ServiceNow to run scripts in the hintergrund, which the useful for mass create, database, furthermore delete of data. Please note: These APIs are provided to support legacy applications in. Harish Kota. For information about GlideRecordSecure, which is a class inherited from GlideRecord that performs the same functions as GlideRecord, and also enforces ACLs, see the . For information about GlideRecordSecure, which is a class inherited from GlideRecord that performs the same functions as GlideRecord, and also enforces ACLs, see the . g. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. update() and GlideRecord. Always test queries on a sub-production instance prior to deploying them on a. “USD”). Please note: These APIs are provided to support legacy applications in. gr. ) for a particular update. Saved searches Use saved searches to filter your results more quicklyServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. For information about GlideRecordSecure, which is a class inherited from GlideRecord that performs the same functions as GlideRecord, and also enforces ACLs, see the . A GlideRecord is an object that contains records from a single table. Other scripts may also use the common GlideRecord variable name gr. 4. var gr = new GlideRecord("incident"); // Copy paste from filter applied. The primary example is when you need to perform a mass update of records to true up some of the data but want to retain the. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. query(); Apparantly this is normal behaviour when using setWorkflow(false), the work_notes won’t be updated. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. _setGroupApprovals (gr, approvalState, comment); * Set all User approvals of a task to the specified state * - modified to look at document_id for all non-task tablesServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. Loading. Parameters: The table to be used. And stay tuned for Episode 3 in which I will dig a little deeper into my bag of tricks and demonstrate a fully custom Pivot Table. A GlideRecord is an object that contains records from a single table. setForceUpdate ( true ) ; //Force the updateDetails. update();} As you can see here, we are creating a pretty simple and normal GlideRecord Query. I hope this aids. GlideRecord is used for database operations. Creates an instance of the GlideRecord class for the specified table. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. gr. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. setWorkFlow. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. short_description instead of gr. Idoubt if there's a only concept in Service-now that is more valuable to understand than how to use GlideRecord methods to query, insert, update, the delete records in your system. com and not this indexable preview if you intend to use this content. value", "hello");) doesn't work with GlideRecord. It will have no effectWe would like to show you a description here but the site won’t allow us. ) for a particular. A GlideRecord is an object that contains records from a single table. article for details on building and running queries. A GlideRecord is an object that contains records from a single table. Please note: These APIs are provided to support legacy applications in the global scope. next()){ gr. If doing a class change update from a script, and using setWorkflow(false) before the . setWorkflow (false)What is a Background Script? It is with utility in ServiceNow to run scripts in the background, which is useful for mass create, update, and delete of input. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. A GlideRecord is an object that contains records from a single table. article for details on building and running queries. gr. company. A GlideRecord is an object that contains records from a single table. Is there any good way how to check what business rules, workflows and other kind of events are run on “incident_state” and “active” fields update? I found 15 custom or in-built business rules that are triggered but none of these is. Unfortunately, since you're placing the record into the live_message table, that may not be a good idea either, since the messenger may require some business rule to propagate or present that information once inserted; I'm not sure. Apparantly this is normal behaviour when using setWorkflow(false), the work_notes wont be updated. BACKGROUND SCRIPT CODE VAULT RECORD QUERIES ACTIVE REQUESTS WITHOUT REQUESTED ITEMS (function() { var grRequest = new GlideRecord("sc_request"); grRequest. article for details on building and running queries. You are querying for and looping through all sys_user records, performing a separate query against cmn_location (looking for a match on the user's time zone), and then trying to write the location's time zone (string) to the user's location field (reference). If you are familiar with SQL, this method is similar to the "where" clause. A GlideRecord is an object that contains records from a single table. A GlideRecord contains both records and fields. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. article for details on building and running queries. A GlideRecord is an object that contains records from a single table. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. The GlideRecord API is the primary means of interfacing with the database on the server-side code. article for details on building and running queries. setWorkflow(false) you will see only updates to the Incident Record – as all subsequent updates were triggered by Business Rules, which is disabled. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. If you used . update() – it works very fast. setWorkflow(false); // suppress any business rules gr. There is a staging table in the data source andWe would like to show you a description here but the site won’t allow us. Click here by an updated version to the GlideAJAX Example Cheat Sheet. setWorkflow(false); //skip any Business Rules . ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. The GlideRecord API is the primary means of interfacing with the database on the server-side code. It is a bitch and WILL mess a lot of stuff up. com ️grInc. It is recommended that new. article for details on building and running queries. Equivalent to calling getCurrencyDisplayValue. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. article for details on building and running queries. That’s very bad because we have 40 000 incidents to be closed every day. addQuery (String name, Object value) Build a search query and return the rows that match the request. getRowCount() 行数を取得してくれるオプション. The arguments are written as follows: setWorkflow (false): All business rules on the table for the current scripted action (insert, update, delete, query) will be ignored. A GlideRecord is an object that contains records from a single table. First go to cmdb_ci. But it's best practice to save dot-walking for reference fields, like for getting a Caller's Company name: gr. The setWorkflow() method accepts one argument: a boolean true/false value. The GlideRecord API is the primary means of interfacing with the database on the server-side code. No, your script does not make sense as written. Let us know in the comments if you have a macro to add to the list! Name: aclscript. INSERT INTO SmallTable (ID,FirstName,LastName,City) SELECT TOP(1) * FROM SmallTable. Idoubt if there’s a single concept in Service-now that is more valuable to understand than how to use GlideRecord methods to query, insert, update, and delete records in your system. deleteRecord (), or deleteMultiple () method on bad query results can result in data. A GlideRecord contains both records and fields. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. It is recommended that new. A GlideRecord is an object that contains records. setWorkflow (false); //Do not run business rules gr. article for details on building and running queries. A GlideRecord is an object that contains records from a single table. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. ; Learning Build your skills with instructor-led and online training. Please view the original page on GitHub. Scoped GlideRecord is used for database operations. For information about GlideRecordSecure, which is a class inherited from GlideRecord that performs the same functions as GlideRecord, and also enforces ACLs, see the . gr. Business Rule is a piece of JavaScript configured to run when a record is displayed, inserted, updated, deleted, or when a table is queried. The GlideRecord API is the primary means of interfacing with the database on the server-side code. A GlideRecord is an object that contains records from a single table. next ()) {gr. Step 1: Create New field on incident table – u_aging_category. Unfortunately, since you're placing the record into the live_message table, that may not. Please note: These APIs are provided to support legacy applications in. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. To perform this, we'd want to use setWorkflow (false) like in the following script: ); gr. Other scripts may also use the common GlideRecord variable name gr. Please note: These APIs are provided to support legacy applications in. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. The GlideRecord API is the primary means of interfacing with the database on the server-side code. Loading. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. For information about GlideRecordSecure, which is a class inherited from GlideRecord that performs the same functions as GlideRecord, and also enforces ACLs, see the . addQuery('active', true); gr. On workflow under a Run Script activity using GlideRecord will not enforce ACLs, so that is the reason in this scenario the schedule script record is created and adding the admin role to the user after its execution, since this schedule script will be running as System Administrator. getRowCount (), which will always return a number. update() – it works very fast. We all know and use GlideRecord. A GlideRecord is an object that contains records from a single table. addNullQuery('short_description'); gr. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. list (you can actually go directly to a server table if you know what kind of servers they are) and then add class to the list view by clicking on the cog. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Scheduled to. Today there are four supported field flags: DISPLAY: Gets the display value of a field. a copy of the docs for ServiceNow. The GlideRecord API is the primary means of interfacing with the database on the server-side code. Filter to return active records. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. update(); } } In the scheduled job . This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Sempre utilize o comando setWorkflow(false) quando o intuito for Data Fix (correção de dados) O método setWorkflow() aceita apenas um argumento: um valor booleano verdadeiro/falso. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. doubt if theres a single concept in Service-now that is more valuable to understand than how to use GlideRecord methods to query, insert, update, and delete records in your system. Servicenow GlideRecord AutoSysFields=false setworkflow=false || Deep analysis and. update() – it works very fast. Introduction. article for details on building and running queries. deleteRecord (), or deleteMultiple () method on bad query results can result in data. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. It might not be feasible to use the list editor to update 200K. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Always use setWorkflow(false)-Mostly it is used with parameter false. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. GlideRecord Query Cheat Sheet. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. You can prevent recursive business rules by using the setWorkflow() method with the false parameter,. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. You signed out in another tab or window. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. GlideRecord provides access to fields via "Dot-walking", so when you query an incident you can access any field like this: gr. To insert macro text into a script field, enter the macro keyword followed by the Tab. Let’s say if in code gr. Here is a table of dot-walking best practices: We would like to show you a description here but the site won’t allow us. base. var gr = new GlideRecord('incident'); gr. It is recommended that new. work_notes = “Adding a worknote to closed changes”; gr. The GlideRecord API is the primary means of interfacing with the database on the server-side code. ON SmallTable(ID) GO. caller_id. update();} Related Problem: PRB1342367. A GlideRecord is an object that contains records from a single table. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. //Replace the function parameters below call with your own needs addPrefixSuffixToField. First go to cmdb_ci. Get straight to work using standard tools and technologies, such as JavaScript and Angular, or use a no-code or low-code solution to get started quickly. Documentation Find detailed info about ServiceNow products, apps, features, and releases. query ();. setWorkFlow(false). ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. PSA: How to View Variables in Lists by Bradford Shelley Forum Level 2 created 4y ago (edited 3y ago ) in Developer Community After having to play around with variables quite a bit in a recent project, I thought I'd share how to display variables on a list of Requested Items / Catalog Tasks. A GlideRecord contains both records and fields. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Please note: These APIs are provided to support legacy applications in. . Background sServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. When you use GlideAggregate on currency or price. Warning, Resolving an Incident will NOT PREVENT the SLA breach notifications from sending. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. article for details on building and running queries. アクティブがFalseになっているレコードにのみクエリを発行する. ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. The GlideAggregate class works only on number fields. Background sServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. Please note: These APIs are provided to support legacy applications in. Then write the script with addEncodedQuery and paste the query inside () Note: This CANNOT be used in client script and UI policy. addQuery (String query) Adds a filter to return records using an encoded query string. The setWorkflow () method accepts one argument: a boolean true/false value. Please note: These APIs are provided to support legacy applications in. short_description = 'Sample incident ' + i ; gr . Use the API to instantiate a GlideRecord object and add query parameters, filters, limits, and ordering. description = 'Auto generated' ; gr . Because the gr object is not enclosed in a function, all server-side scripts, including script includes and other Business Rules, have access to it. The GlideRecord API is the primary means of interfacing with the database on the server-side code. getValue('short_description'). ServiceNow provides JavaScript APIs for use within scripts running on the ServiceNow platform to deliver common functionality. A GlideRecord is an object that contains records from a single table. //Create a new Incident record and populate the fields with the values below. short_description instead of gr. article for details on building and running queries. getValue('short_description'). After executing the script, an output like this will be shown:. Then you need to execute the . GlideRecord (String tableName)-Constructor. This reference lists available classes and methods along with parameters, descriptions, and examples to make extending the ServiceNow platform easier. setWorkflow(false); gr. company.