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

Forum Posts

Approving a request using inbound email action

I want to approve a request using an inbound email action. Below mentioned is my inbound action script: Script: (function runAction(/*GlideRecord*/ current, /*GlideRecord*/ event, /*EmailWrapper*/ email, /*ScopedEmailLogger*/ logger, /*EmailClassifie...

find_real_file.png find_real_file.png find_real_file.png
Community Alums by Community Alums  
  • 1018 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to query multiple values in a 'state'

Hi All, I wanted to check if an incident record is available with either resolved state or closed state or cancelled state is below script for querying the table right? inc.addQuery('state=7'||'state=6'||'state=8');   // is this querying right?? as a...

Sandeep109 by Mega Contributor
  • 4330 Views
  • 7 replies
  • 0 helpfuls

Resolved! I have a already created and working PUT method in Scripted REST API. I need to edit this API to get one additional field value of the record . Can someone provide similar references to anything that they know? I guess I just need to put a small code

I have a already created and working PUT method in Scripted REST API. I need to edit this API to get one additional field value. Can someone provide similar references to anything that they know? I guess I just need to put a small code in the already...

EKTA2 by Tera Expert
  • 1657 Views
  • 11 replies
  • 3 helpfuls

Get approval from External email address

Hello All, I want  approval from client whos id is not listed in sys_user table. I tried to send email using create event activity by sending ID as Param from workflow to notification. But, that isn't working. Can you help me on the same?   Thanks, P...

Resolved! Including Email Address in Requested For Variable

I have a form (Category Item) with a field named Requested For. This field is a reference to the sys_user table. How do I include the sys_user's email address in the view of the dropdown of this field?Thanks,AJ

TStark by Kilo Sage
  • 2194 Views
  • 8 replies
  • 2 helpfuls

Scripted Rest API Not working

Hi All, below is the script that i written on scripted rest api. but its not working when i send data like https://google.com/gtre can any one help me on this (function process( /*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) { var obj = {}...

rambabu1 by Giga Expert
  • 1445 Views
  • 11 replies
  • 0 helpfuls

Resolved! Email Script to populate different variables based on different catalog

Hi All, My requirement is to create one notification for 2 different catalogs and notification should contain variable of particular catalog item.For example i have 2 catalogs: Catalog 1(Server Request ) have fields "Server 1,Server 2 and Server 3" C...

Appy2 by Tera Contributor
  • 1061 Views
  • 10 replies
  • 2 helpfuls

Resolved! Update records from Scripts Background

Hello guys, There are more than 500 records in a table. Based on Assigned to field's value I want to update User ID field for all those. So in scripts background I have written like this but no success. var gr = new GlideRecord('table_name'); gr.addE...

Sravanthi10 by Tera Contributor
  • 600 Views
  • 2 replies
  • 0 helpfuls

Resolved! Convert the duration of two dates to minutes?

Does anyone have a business rule I can use as an example to convert the duration between 2 dates to minutes?We currently have 2 date fields (dd/mm/yyyy hh:mm:ss)u_outage_startu_outage_endLooking to get this converted to minutes in field u_reported_do...

Andrew_TND by Mega Sage
  • 984 Views
  • 8 replies
  • 3 helpfuls