Record producer scripting.
Hi, when does the record producer script runs? (form is inserted, submitted, loaded)
Hi, when does the record producer script runs? (form is inserted, submitted, loaded)
For example I have a custom table with a field A. I want to create a choice field which has the choices as all the value of Field a in the custom table. Eg. table location field as country. create a choice field country and onload the value of countr...
Hello experts please I need your help, I have a catalog item that used regular variables, once the item ordered, a BR would execute to post a message via REST i, here is the piece of code and it is actually working: as you see in the payload there i...
There is an OAuth API that we need to connect to from our instance using JWT. When I set up the JWT claims, I include the standard ones (iss, sub, aud) and the "iat" and "exp" values are added automatically which is great. However, the system also in...
Hello abhi_rI tried the script you helped me revise and the results are the same. I entered in 130,000 and it throws up the box saying "It is not a valid number" and then clears it out completely.So I needed the following:Script on a field that wou...
As shown above, when a user makes a request for a catalog item I am working on, the variables "Reason For Access" and "Available Servers" are not storing the user's input and are editable in the ticket created from the request. The other variables d...
Hi there, I am running into an issue that I can't quite seem to figure out at the moment and was hoping someone would have some insight to help. I am working on a scoped application and I am trying to make some duration calculations based on a Start...
Hi All, I am getting date in file as this format 20200831 Year, month and date format. Now I have a target field on the target table which accepts date in the format 01/12/2020 00:00:00 (Date,month, year and time). I tried below code but its not work...
Hi Friends, I am running below background script with start date and adding 365 days to it but its returning a weird value. var date1= '02-08-2022 16:58:04'; var daysToAdd= 365; var day = GlideDateTime(date1); day.addDaysLocalTime(daysToAdd); gs.pri...
Hi all, I tried the two following methods for hiding buttons when I click a button. Method 1: $$('#reply_new_view')[0].hide(); // THIS DOES NOT WORK Method 2: var items = $$('BUTTON').each(function(item) { // THIS DOES NOT WORK it...
As per OOB : Normally when an incident is promoted / proposed as a major incident then the assignment group will change to major incident management group via business rule & assignment rule but the requirement is as below : When a major incident is ...
Hello There, I want to fetch the value of the ("number") field of the current record when I click a UI action button in a table. Can anyone give me a demo code?
Hello, I need some advise and help please. We are using a variable set which sets variables for multiple catalog items / record producers. This variable set is included in many items, and the variable set calls script includes to check logic and show...
I am tying to retrieve the status of a field from a table for a new record using record watcher but it won't work. I have added spUtil at header and added an alert statement at watcher function but nothing is being logged. Any idea's why? The code ...
I am having issues with trying to get an image displayed at the top of a PDF being created using the GeneralPDF Script Include on a Kingston instance. GeneralPDF was chosen for this task because it could take HTML as input and add the resultant PDF a...
| User | Count |
|---|---|
| 123 | |
| 47 | |
| 35 | |
| 18 | |
| 17 |
