- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 01:56 AM
Hi,
I wanted to add change request status also in the My Approvals information on service portal.
please guide me how we can add the Change Status information.
Regards
Tamil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 03:21 AM
Hello @Community Alums ,
There is one Widget "Approval Info" in that you need to update Server script.
Please check the below image.
In this script add your logic to show the state of change request and add in line number 34.
Write code like below.
var fields=$sp.getFields(gr, 'state,sys_created_on,nameof change request state field');
Please mark my answer as helpful and correct if it resolves your issue.
Regards,
Namrata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 02:00 AM
Hi @Community Alums
I assume you are looking for like this:
For this , no special configuration is required. If a user has Approver role , then user can see the tab on portal. This is from My PDI and i did not no changes.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 02:12 AM
@Dr Atul G- LNG , Thanks for your reply.
Approval TAB visibility is ok.
Currently it will display the below information.
I wanted to add the 'status of the change ticket' in the approval information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 03:05 AM
Hi @Community Alums
The status is State here, and that is already there. In case you want to add any new attribute here, you need to modify the OOTB widget.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 03:21 AM
Hello @Community Alums ,
There is one Widget "Approval Info" in that you need to update Server script.
Please check the below image.
In this script add your logic to show the state of change request and add in line number 34.
Write code like below.
var fields=$sp.getFields(gr, 'state,sys_created_on,nameof change request state field');
Please mark my answer as helpful and correct if it resolves your issue.
Regards,
Namrata