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

Forum Posts

Workflow not firing when conditions met

Hey everyone,I have set up a workflow to start once a specific condition has been met on the table that has been attached to it.   In specific, there is a column in my table called status.   Once an entry in that column has a status of 'Created', the...

dbrennan by Kilo Contributor
  • 4797 Views
  • 11 replies
  • 2 helpfuls

Resolved! How to show UI action in only one catalog item?

Hi guys,I have a UI action which does its job well, but only problem is that it shows in every tasks. I want it to only show in one service catalog item task. is that possible?The UI ActionThe task where it should only be shown

find_real_file.png find_real_file.png
snserge by Kilo Contributor
  • 6494 Views
  • 8 replies
  • 4 helpfuls

How to add assessment metrics to demand form

I have created a few Assessment Metric Categories and assessment Metrics.   I see that the metric categories that hold the Assessment Metrics are stored in the dmn_demand table, but when i navigate to the demand form i cant seem to find the assessmen...

Resolved! Newvalue and oldvalue in onsubmit Client script

I have requirement like in change request , while change manager is approving the change request if proposed start date or proposed end date is changed that time, i need to throw a error message.I need to do this scenario in onsubmit client script.I ...

Anburaj by Giga Contributor
  • 12206 Views
  • 16 replies
  • 4 helpfuls

Resolved! Query GlideAggregate

Hi ServiceNow Community,I've this problem and I hope someone can help me:I've this table [u_history_task] and I've need to run a job that calcolate for each record value of columns "u_order" and "u_last".This is a screen of table with an example of r...

find_real_file.png
davide_fais by Tera Expert
  • 5939 Views
  • 14 replies
  • 3 helpfuls

Resolved! Need code to find whether field contains text or integer

Hi All,I have a requirement where i have a string field in which i have written a business rule to calculate.But i want specify condition saying that if the string field contains text it should not run the business rule.Is it possible to get the valu...

malaisamyj by Tera Contributor
  • 8962 Views
  • 6 replies
  • 2 helpfuls

Resolved! addOrCondition not working ...

HI .... as I'm using a scoped application I assume this might be the reason why the xx.addOrCondition gives me an error in the logs ... ;-(" Cannot find function addOrCondition in object [object GlideRecord]."Could you please help me doing what is do...

Zod by Giga Guru
  • 5192 Views
  • 22 replies
  • 4 helpfuls

Resolved! Sending notifications in the workflow

I have   a catalog form which has some fields on it . There is a requirement to send a notification to the "Payee" when the task is completed . So my question is : In the workflow , how do I send the notification to payee?

find_real_file.png find_real_file.png
sonita by Giga Guru
  • 15668 Views
  • 6 replies
  • 8 helpfuls

Resolved! onChange() to check field value

Update 8/7: I had to re-do the script because i was running into issues with the split. When someone used ':' to end their intro to the issue, it would not let them submit. It was also messing with older stories. So this is what I have now but I cann...

find_real_file.png
casey4man by Giga Contributor
  • 4412 Views
  • 7 replies
  • 2 helpfuls

Sensor script

Hello Community,I have the following output that I am trying to capture the output for "Not After":<?xml version="1.0" encoding="UTF-8"?><results probe_time="164"><result><output>Certificate:       Data:               Version: 3 (0x2)               S...