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

Forum Posts

Create task in workflow which is running on a custom table

Hi, I have an custom application that is running on a custom table. This custom table is not extending task table. Now I have a requirement where a task has to be created through workflow. I understand that a task cannot be created through workflow i...

G Balaji by Kilo Guru
  • 1363 Views
  • 6 replies
  • 1 helpfuls

ATF tests pass individually, fail in a Suite?

I have a series of tests for a form. When I run the tests individually they pass, but when I run them in a suite, they fail. The error I get is "This step failed because a client-side Javascript error was detected on the page being tested. See the lo...

Jim McIlwain by Kilo Contributor
  • 1169 Views
  • 1 replies
  • 1 helpfuls

How to create a record from business Rule

I have a business rule on a table X which checks for Unique Field Value in A. If user wants to create a record with same value in Field A, then I need to create a new record with the data that user provided and populate Field B with Field A Number.  ...

ursnani by Giga Guru
  • 2652 Views
  • 23 replies
  • 0 helpfuls

Resolved! Dynamic Ref Qual on string field

Hello Experts, I'm struggling with the development of a reference qualifier on the Call table (new_call). When a call record is submitted, it may create a incident if the call type selected is incident. During the creation of the incident, a few fiel...

find_real_file.png

Get current user's role(s)...?

Does anyone know how to get a list of the current user's roles by sys_id?   I've tried using the getRole() function but it doesn't return anything.   According to the wiki article Getting a User Object - ServiceNow Wiki "getUserRoles() -- returns the...

uluerje by Mega Expert
  • 23568 Views
  • 9 replies
  • 5 helpfuls

Disable multiple users at once

Hello, I'm pretty new to ServiceNow, but I was looking into finding a way to disable multiple users at once. We have multiple people with more than one account in AD, such as an admin account. All of these get imported into ServiceNow, but the only o...

Help text on table field (at top)

I would like to add help text on a table field. I know I can use g_form.showFieldMsg in a client script to do this.  However, I would like to show the info message at the top of the field, not the bottom. Any ideas?

xiaix by Tera Guru
  • 1167 Views
  • 5 replies
  • 1 helpfuls

Find a deleted business rule

I have a Custom task table containing a field 'OWNER', on which I have applied a Business Rule which was supposed to mark a State to 'Closed Complete' as soon as if any change occurs in 'OWNER' field. By some reason I deleted this business rule and w...

Resolved! Need to delete a Mass number of Assets but not the associated CIs

Hi Developers, I have a requirement to delete assets for some specific Model Categories but the associated CIs with the assets should not be deleted. I can see "Delete asset only" UI action on "alm_hardware" table but we have to delete a lot of recor...

Sreeja3 by Giga Contributor
  • 2888 Views
  • 3 replies
  • 4 helpfuls

Resolved! Event trigger in Workflows

Dear all, at first I'd like to give a big thanks to all of you folks for giving me that much help - I really appreciate this community Now the question: Our consultant created a workflow activity that enqueues an event called "no_manager" to indicat...

Robin W_ by Kilo Expert
  • 3454 Views
  • 5 replies
  • 2 helpfuls

Resolved! Email sent visible in Activity list

Hi,   How we can add emails sent in the Activity list in incident form. I have already added in the list like this.     But still some of the emails is missing from the activity list in the from. Like emails which sent out after comments added in inc...

find_real_file.png
maneesh3 by Tera Contributor
  • 1505 Views
  • 4 replies
  • 4 helpfuls