Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

To Convert the input from user to Upper Case

sreeshsurendran
Tera Guru

The requirement is:

In Virtual Agent, when a user enters the incident number in lower case to Upper case and show the incident record in the chat.

 

3 REPLIES 3

Harsh_Deep
Giga Sage
Giga Sage

Hello @sreeshsurendran 

 

Use this code -

var input = 'input field value';
var result = input.toUpperCase();

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

Hi @Harsh_Deep ,

 

Thanks for the reply, but I've tried this way seems to be not working

 

R,

Sreesh.

Can you send me Snip