You are on page 1of 12

Week 1

Training Exercise

Created by: hduong21


3/11/2016
Contents
Create an incident ......................................................................................................................................... 3
Run The Scripts ............................................................................................................................................. 5
Exercise 1 : .................................................................................................................................................... 7
Exercise 2: ..................................................................................................................................................... 8
Exercise 3: ................................................................................................................................................... 10
Thanks for you support. .............................................................................................................................. 12
Create an incident

1. Login to system:

My instant: https://dev19291.service-now.com/

2. Search the incident table

3. Click button New and create an incident


4. Click button Save and check the new incident.
Incident Number: INC0010009
Priority: 1 Critical
State: Active
Run The Scripts

1. Click the log icon on the top banner to activate an elevated privilege, tick on the box then click
OK button.

2. Open the Script Background for coding.


3. Coding screen
Exercise 1 :
1. Data
Input: incident number: INC0010009
Expect Output:
o The Priority of INC0010009 is : 1 and display value : 1 Critical
o The State of INC0010009 is : 2 and display value : Active
2. Run script

3. Result:
Exercise 2:

1. Data
Input: incident number: INC0000009
Expect Output:
o The Priority of INC0010009 before update is : 1
o The Priority of INC0010009 after update is : 2
2. Data before update

3. Run script

4. Result:
5. Data after update
Exercise 3:

1. Data
Input: incident number: INC0010009
Expect Output:
o The State of INC0010009 before update is : 2
o The State of INC0010009 after update is : closed
2. Data before update

3. Run script
4. Result:

5. Data after update


Thanks for you support.

_______________________________End___________________________________

You might also like