We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Forum Posts

Anything similar to a getDisplayValue in client script?

We're attempting to do a database query from a client script (I know, generally not a good idea). Running into an issue when setting the form fields to the results, its setting the fields to the field value, not the display value. For example in inci...

thenning by Giga Contributor
  • 3918 Views
  • 5 replies
  • 1 helpfuls

Override "Calculated" field.

Question. I'm trying to calculate the "short_description" field for project tasks so it's a combination of the "top_task" and a "u_short_name" field (PJ01234 - Order Equipment), but can't set the calculation on the "task.short_description" field beca...

akeppel by Tera Contributor
  • 4887 Views
  • 5 replies
  • 0 helpfuls

How to Script an 'alert' from a UI Action?

When I click the 'Close Task' button on an sc_task form, I want to be able to check the corresponding RITM form to ensure some custom fields are populated before I allow the task to close. If the fields are not populated, I'd like to have an 'alert' ...

klazarenko by Kilo Contributor
  • 10722 Views
  • 5 replies
  • 3 helpfuls

Business Rule on user login

Hello,I am trying to write a business rule which runs during the user Login.Currently I am using a before insert on v_user_session table.Inside business rule I am querying the v_user_session again to check if user is already logged in(which is not in...

mujahid2 by Kilo Contributor
  • 5389 Views
  • 8 replies
  • 0 helpfuls

Query against Configuration Items and Relationship Table

Hello,We are trying to get a list of all of our Configuration Items (CI) that do not contain a relationship to another Configuration Item.I was building a query to go against the cmdb_ci and cmdb_ci_rel tables to get this information, but it appears ...

mdidrikson by Kilo Contributor
  • 2915 Views
  • 2 replies
  • 0 helpfuls

Business Rule for Assignment_Group

I am making a business rule to auto assign the assignment_group field based on the user in the assigned_to field. This rule is going to be used when inserting project or project task records. I need this rule because when importing projects from MS P...

tbalestreri3 by Mega Contributor
  • 2738 Views
  • 3 replies
  • 0 helpfuls

Resolved! MAC Address Formatting

I've seen some inquiries and information related to MAC address transformation/normalization, but I'm not exactly the best at regular expressions so I'm having trouble getting this to work.My instance contains several forms (including the Incident fo...

jevans by Kilo Contributor
  • 6552 Views
  • 5 replies
  • 0 helpfuls

Escape XML Characters

Hello,I have an XML SOAP request that gets sent out regularly to an external vendor. Our vendor is saying that we need to HTML encode our apostrophes in our messages. These show up in user last names such as O'Donnell.I have tried to replace the apos...

mdidrikson by Kilo Contributor
  • 5645 Views
  • 6 replies
  • 0 helpfuls