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

Forum Posts

Resolved! gs.getUserId() return the wrong current user

Hi all!There's a problem with getUserId(). I have a business rule that will trigger when userA approves a record submitted by userB.When approved, the business rule will post a work_note to the record. The author is expected to be userA because he is...

LhoraMaeA by Kilo Patron
  • 3983 Views
  • 6 replies
  • 0 helpfuls

Resolved! How to set static colors for donut report values

I have a custom table with 3 columns I am trying to report on with a custom color scheme I created.  For the first two columns (Pulled, Approved) I need Yes to always be green and No to always be red.  For the last one (Rejected) I need the opposite,...

chrish5_0-1703102963679.png
chrish5 by Giga Guru
  • 2336 Views
  • 3 replies
  • 2 helpfuls

Open URL in new blank window

HI Everyone, I have created one UI Action to launch one custom URL. I am using Client side and Server side both in one UI Action. So, to launch an URL I am using gs.setRedirect(URL) . But it opens that URL in same window rather than opening on new wi...

Resolved! JOIN records from two tables

Hello all, I have a table in ServiceNow, called "tasks". In this table I have a Reference field to another table called "workers". In the "tasks" list I can see the name of the worker who is doing the task. I am trying to implement a script that quer...

Resolved! AI Search

A customer has asked for Quick Links to be returnable in the AI Search on the Employment Center home page. Strictly speaking this has been done successfully, and the result looks like this:Point to note is that we're only concerned with Quick Links t...

AI Search - QL Result.jpg
rob85 by Giga Expert
  • 3152 Views
  • 2 replies
  • 1 helpfuls

Resolved! Adding comments with setWorkflow(false)

Hi All, I'm trying to add comments to a task form without them triggering a notification but if i use setWorkflow(false) it doesn't run the necessary rules to link the sys_journal_field record to the task form with the requisite sys_audit and sys_his...

Dubz by Mega Sage
  • 6088 Views
  • 16 replies
  • 5 helpfuls

Resolved! BR Recursion issue with Parent/Child incidents

Hello.I've been asked to copy External comments from Child incidents up to the Parent incident in he work_notes field. This is so the incident managers only have to watch one incident for incoming comments. I've got a BR that does this fine. However ...

spike by Mega Sage
  • 1946 Views
  • 3 replies
  • 0 helpfuls

copy email attachment to record in flow designer

Hi All,Am trying to create a inbound flow using flow designer , when an email is sent with an attachment i want the attachment from the email to be copied to the record in service now. below is the flow designer. the flow executes find till step 3 it...

siddharth26_0-1702640093303.png siddharth26_1-1702640202334.png siddharth26_2-1702640250302.png
Community Alums by Community Alums  
  • 3605 Views
  • 15 replies
  • 3 helpfuls