- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2024 07:45 AM
Create a new field named Closed by which is refering to user table.. and populate the user who closed the incident . I need business rule for this.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2024 11:19 PM
Hi @anilwillpower there is already a OOB field "Closed By" available on incident table,
if you want to create, follow the steps
1. create a new field by using reference type and select User table
2. Write a BR on Incident table
When to run - > After update checked
script:
current.u_closed_by = gs.getUserID();
current.update();
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2024 11:05 PM
Hi @anilwillpower ,
Why? Why don't you just utilize the existing field "closed by" which comes OOTB populated with the user that have closed the incident?
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2024 11:19 PM
Hi @anilwillpower there is already a OOB field "Closed By" available on incident table,
if you want to create, follow the steps
1. create a new field by using reference type and select User table
2. Write a BR on Incident table
When to run - > After update checked
script:
current.u_closed_by = gs.getUserID();
current.update();
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2024 09:04 PM
Thank You Buddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2024 11:32 PM
Closed by is OOB functionality already available . This question can be for non task table, but you said this to be populated on Incident. Please find the closed by field on Incident table, it is automatically populated when someone closes an Incident
Regards,
Piyush Sain