ATF for Incident management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Can anyone shareme the steps to create ATF for incident management(ITSM)
Please share me the step by step for Incident lifecycle
User creates a new incident , User assigns an incident to a group or user,Update incident status to In Progress,
Place incident on hold, Resolve an Incident, Close a resolved incident |
I required all the steps, as i tried but it was failing in the first step while impersonating the user
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Here for the Incident lifecycle:
Create a User: Named "Test Caller" (no roles).
Create a User: Named "Test Agent" (add itil role).
1. Incident Creation:
Impersonate: "Test Caller".
Open a New Form: Table: incident.
Set Field Values: Short description = "ATF Test".
Submit a Form: (Saves the record for the next steps).
2. Assignment & In Progress:
Impersonate: "Test Agent".
Open an Existing Record: Select the incident created above.
Set Field Values: State = In Progress, Assignment group = Service Desk, Assigned to = "Test Agent".
Update a Form.
3. Place On Hold:
Set Field Values: State = On Hold, On hold reason = Awaiting Caller.
Update a Form.
4. Resolve Incident:
Set Field Values: State = Resolved, Resolution code = Solved, Resolution notes = "Fixed via ATF".
Click a UI Action: Click the Resolve button.
5. Close Incident:
Set Field Values: State = Closed.
Click a UI Action: Click Close Incident or Update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
1. Create the Test Record
- Navigate to Automated Test Framework > Tests and select New.
- Enter a meaningful test name (for example, ITSM – End-to-End Incident Lifecycle Test) and save the record.
2. Configure Test Steps
Use the Add Test Step option in the related list to build the test scenario:
Step 1: Impersonate a User
- Add an Impersonate step to simulate either a standard end user or an ITIL user.
Step 2: Open a New Incident Form
- Select the Incident [Incident] table and choose the required form view.
Step 3: Populate Required Fields
- Enter values for mandatory fields such as Caller and Short Description.
Step 4: Submit the Record
- Use the Click UI Action step and select Submit to create the incident.
3. Verify Incident Creation
- Add a Record Query or Record Validation step to confirm that the incident record has been successfully created in the system.
4. Validate the Incident Lifecycle
Extend the test to verify state transitions by impersonating an ITIL user and progressing the incident through its lifecycle.
Impersonate an ITIL User
- Select a user who belongs to the appropriate assignment group.
Open the Created Incident
- Query and open the incident record generated earlier in the test.
Move the Incident to In Progress
- Update the State field to In Progress and save the record.
Validate Mandatory Resolution Fields
- Confirm that the incident cannot be resolved until required fields such as Resolution Code and Resolution Notes are populated.
Resolve the Incident
- Populate the necessary resolution details, change the State to Resolved, and submit the update.
5. Execute the Test
- Click Run Test and monitor the Automated Test Framework as it executes the workflow and validates each step.
Refer : https://www.youtube.com/watch?v=aMoARIMpvks
https://www.youtube.com/watch?v=37RRu2kZTkQ
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@SuganyaV6003655 - Please follow below steps to Create ATF for Incident Management -
1. Create a User - ATF Fulfiller. Give itil role. Add to required group for eg - Service Desk
2. Create a User - ATF Test User.(It will be end user so no roles required). Mark the Impersonate checkbox as True
3. Open a new form - Select table as Incident
4. Set field values -
Caller field - Give reference of step 2
Short Description - Incident Creation
5. Submit a form
6. Impersonate - Give reference of Step 1 in User field
7. Open an Existing Record - Give reference of Step 5 in Record field
8. Set field values -
Assignment group - Select Service Desk
Assigned To - Give reference of Step 1
9. Click a UI Action -
UI Action - Save
Assert Type - Form submitted to Server
Note - As soon as Incident is assigned to any user, incident state will change to 'In Progress'
10. Set field values -
State - On Hold
On Hold Reason - Awaiting Vendor
11. Click a UI Action -
UI Action - Save
Assert Type - Form submitted to Server
12. Set field values -
State - Resolved
Resolution Code - Work around provide
Resolution Notes - Resolved
13. Click a UI Action -
UI Action - Resolved
Assert Type - Form submitted to Server
----------------------------------------------------------------------------------------------------------------------------------------
If my response helped, please mark it by selecting "Accept as Solution" and " Helpful."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You can check lot of OOTB ATF Tests for Incident Management (ITSM)
Create copy of that and add your steps
You didn't share your steps configured and what's the error
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader