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

Resolved! table style in email script

Hi,  We have a mail script that is included in a notification. basically, it gathers all the approvals of a change request and displays them in a table with some data like last update date, etc.  we simply used template.print("<table>"); to achieve t...

raulron by Kilo Expert
  • 6761 Views
  • 4 replies
  • 0 helpfuls

Resolved! Convert Duration to Minutes as Integer

Hi all,Wondering if someone had any ideas on how I could make this work. On our Outage table I have the start, end, and duration field with a business rule to calculate the difference between start and end to come up with the duration (normal stuff) ...

Bhadley by Kilo Expert
  • 5905 Views
  • 3 replies
  • 4 helpfuls

Resolved! \${sysapproval.URI} not working

I have an email approval notification in Change that uses the ${sysapproval.URI} to show a link to the Change in the email. I've created another approval for a different application and it also works. However, when I set up an approval for a differen...

Tim Wmson by Giga Expert
  • 2483 Views
  • 4 replies
  • 0 helpfuls

Resolved! Scope not available

Hi,I have recently started Servicenow Developers Program however I'm a Servicenow user from the past 1 year. I created a application "Marketing Events Application" and later deleted it.Now I want to create an application with the same name "Marketing...

Resolved! Assignment Rules and catalog tasks

Hi all,  I'm looking to have an assignment rule that runs when there is a blank catalog rule from a specific catalog item. (Not a RITM but the actual item itself)  Long and short is that if it is a catalog task from that item I want it to be routed b...

Derek10 by Tera Expert
  • 8440 Views
  • 8 replies
  • 2 helpfuls

Remove deleted Groups/Users (LDAP import)

Hi All,I'm wondering that SN has no "out-of-the-box" Solution for this (or maybe I havn't seen it yet)We perform a User/Group Import everyday and we have of course users and groups which are removed from our Active Directoy.How can I handle these rem...

BerndKlus by Kilo Expert
  • 3795 Views
  • 2 replies
  • 0 helpfuls

Resolved! Transform Map Script - Insert Only Active Records

Help Needed..:)In the transform map I've marked "Run-script" as true and then writing the script over there.I'm referencing the location table (cmn_location). My target field name which is a reference field t location table is "u_location". In the lo...

Using Variables in Workflow Activity - Set Values

Is it possible to use a variable like Assigned To: ${current.cmdb_ci.owned_by} with the Set Values activity in workflow? Anything I set in the box gets cleared out as it doesn't match anything from the reference field. It would be nearly as easy to d...

nlong by Kilo Contributor
  • 6568 Views
  • 3 replies
  • 5 helpfuls

Resolved! Granting approver_user role

Hello.I have a system where users are being provisioned an account in ServiceNow (via the API) and I would like to give any new user that is a manager the approver_user role so that he can approve a request made by a user for whom is the manager. I h...

pathat by Kilo Expert
  • 5204 Views
  • 10 replies
  • 1 helpfuls

Resolved! I want to populate RITM and REQUEST number to Survey questions when somebody took the survey by Survey Link in email. I have created a Survey Wizard and it is public.

I have created a Survey Wizard and in that I have created two fields Request Number and RITM Number. I want that when somebody takes the survey bu clicking on survey link present in survey mail. Request Number and RITM should auto populate with corre...

Chandresh by Tera Guru
  • 4403 Views
  • 7 replies
  • 0 helpfuls

Add Variable Editor to Approval Form

Hi,I created a formatter to be able to add a variable editor into a aprroval form. I copied the variable editor for requested item and task and create a new one for approval.Also, i created from 'Change Variable Editor' a new one and change the table...

guy by Kilo Contributor
  • 2492 Views
  • 4 replies
  • 0 helpfuls

How to Prevent an Inbound Email Action from Processing

Hi,  I hope someone can help me please.  I have 2 inbound actions, one that updates a record with the content of the email to which it is related toanother that updates the record only when from a specified user.    I have given them an order of 99 a...