Update Available Seats After Enrollment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
How to Update Available Seats After Enrollment in Employee Enrollments record using Business Rules in ServiceNow?
Table - Employee Enrollments
Scenario:
Whenever an employee enrolls in a course, automatically decrease the Available Seats count in the related Training Course.
Additional Field(s) Required:
Available Seats (Integer), Total Seats(Integer) on the Training Courses table.
Expected Result:
Each new enrollment automatically reduces the number of available seats.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
What did you already try and what didn't work? Especially with a BR, you can just do calculations on the field (enrollment added, look up training course and deduct 1 from the available seats).
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @pallav_nagar ,
You can try with Async Update BR on your Enrollment table.
Trigger condition could be when course changes AND employee is not empty
you can try with this Sample script :
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti