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

Forum Posts

Resolved! Get the last login time as number

Hi Team,I wanted a field in user table where it contains the user last login in days.Example if user has not logged in for past 10 days, the int 10 must be visible in the field as value.Kindly help how to code.

Preethi26 by Tera Contributor
  • 439 Views
  • 6 replies
  • 3 helpfuls

check undefined

Hello experts, Is there any way we can check undefined in servicenow using a gs function? I am new to SNOW Scripting.

deepika46 by Tera Contributor
  • 1452 Views
  • 4 replies
  • 2 helpfuls

Input Text Component UIB

Is it possible to use the component to fill in some value in the registry specified through @context.props.sys_id or payload.sys_id? Example below, using the component to fill the record I am currently. 

Klug_0-1698087351901.png
Klug by Tera Contributor
  • 169 Views
  • 1 replies
  • 0 helpfuls

Scripting in Flow Designer

This code works in Vancouver but not in Utha (Scripting in Flow Designer)// Get the email bodyvar emailBody = fd_data.trigger.inbound_email.body_text;return emailBody;Is there is an alternate for fd_data.trigger.inbound_email.body_text?

How to replace connect chat code to Sidebar code

Hi All, In one business rule there is a code, it will run when Assigned to changes and it will call the connect chat, but now in next UI experience it is deprecated. Below is the code, How to replace this code into Sidebar code. Code:(function execut...