Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! 'Name' field in sys_user table

Hello all Does anyone know if there is some rule to make the' name' field read-only in sys_user table? I cannot find any ACL for this field. 

Erica_0-1670331241831.png
Erica by Tera Guru
  • 2370 Views
  • 2 replies
  • 2 helpfuls

UI Builder Create Record

Hi Everyone, I'm using ui builder create record operation. In my client script i have these: api.data.create_record_1.execute({ 'table': 'kb_social_qa_question', 'templateFields': templateFields, 'useSetDisplayValue' : false }); Somehow if i h...

Tadz by Kilo Sage
  • 3297 Views
  • 8 replies
  • 2 helpfuls

Resolved! Date value is returned as 1970

Hi Friends, I am trying to set the due date for a catalog item automatically based on the delivery time mentioned in the catalog item. But when I try to fetch the delivery time, it's giving me some random date.  var grScCatItem = new GlideRecord('sc_...

KhannaJi_0-1670295226154.png
Khanna Ji by Tera Guru
  • 2450 Views
  • 4 replies
  • 0 helpfuls

Metrics scripts

Hi, I'm trying to create a metric script calculation, what I want it to do is during a certain period (Saturday 00:00 --> Monday 04:00hrs) identify if any incident records were escalated from Assignment group-X to  Assignment group-Y (starting with c...

Need to add help text in variable

Hi Team, I have a variable set "Requested details" which we are using in all catalog item. I need to add help text in one of the variable using client script "requested for" which is under this variable set. Please help me with the client script so t...

Resolved! Delete duplicate entries from sys_history_line table

Hi All, I have performance issues in my instance as I am loading audit records(sys_history_line) while the record is being displayed in my Service Portal.I noticed that few of the my scripts had made enormous duplicate entries into the actual records...

Imran1 by Giga Guru
  • 2252 Views
  • 3 replies
  • 0 helpfuls

sp-editable-field usage

I'm new to Service Portal and Angular. The documentation around advanced features provided via the Service Portal are difficult to find documentation on. I'm mimicking the use of sp-editable-field from the User Profile widget. I have my widget loadin...

find_real_file.png
raprohaska by Kilo Guru
  • 8889 Views
  • 8 replies
  • 1 helpfuls

Resolved! One notification for multiple records

Hi experts We have a table in which a record is assigned to a user when it is created. The records are created automatically. When a new record is created, the user who is assigned to the record should be notified. This can be easily done with a flow...

Dominik9 by Kilo Sage
  • 1652 Views
  • 3 replies
  • 0 helpfuls

Resolved! In Jelly script, what is tag g use for?

In UI Page com.glideapp.servicecatalog_cat_item_view there is a tag 'g' looks like it's used to include kind of UI<g:catalog_item />  <j2:if test="$[jvar_cat_item_authorized]"> <div id="cat_item_view" class="" sn-atf-blacklist="IS_SERVICE_CATAL...

Wait for Condition trigger by variable on one sctask

We have a workflow running on the sc_req_item table.  It has several task activities in the workflow, however we have a certain one that the user updates one variable(yes/no) on, we need the wait for condition to wait until that specific variable is ...

booher04 by Tera Guru
  • 1517 Views
  • 1 replies
  • 0 helpfuls

Resolved! Order Guide for standard users receive 404 page error

Hi, I have an issue where when our standard users who do not have ITIL, or any roles, try to access any order guide on our Service Portal they recieve a 404 page error. However, when someone with ITIL/Admin they are able to access without any issues....

Jacob23_0-1670262573834.png
Jacob23 by Mega Guru
  • 1332 Views
  • 5 replies
  • 1 helpfuls

Resolved! Business Rule Running twice, no current.update()

Hey all, my business rule seems to be running twice and im quite stuck on it and not sure whats going on.this business rule is triggered on update, and noticed on the debugger that it seems to go through the function twice. here is my code: (function...

kgomez222_0-1670262068535.png
kgomez222 by Tera Contributor
  • 1398 Views
  • 2 replies
  • 2 helpfuls

Roles for scoped app

Morning Fellows I have a question, which I feel like I already know the solution but wanted to get opinions from our experts I created an extension from the change request and created a few new groups that will be utilizing this app I only want these...

Lydon by Mega Expert
  • 3084 Views
  • 7 replies
  • 2 helpfuls