Create a new field named Closed by which is refering to user table.. and populate who closed

anilwillpower
Tera Contributor

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.

1 ACCEPTED SOLUTION

Harish KM
Kilo Patron
Kilo Patron

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();

 

Regards
Harish

View solution in original post

4 REPLIES 4

AndersBGS
Tera Patron
Tera Patron

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/

Harish KM
Kilo Patron
Kilo Patron

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();

 

Regards
Harish

Thank You Buddy

piyushsain
Tera Guru
Tera Guru

Hi @anilwillpower 

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

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain