- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
03-19-2024 05:14 AM - edited 03-19-2024 05:15 AM
ServiceNow Community - “Discipline is choosing between what you want now, and what you want most.”
Challenge Introduction:- In order to strengthen the ServiceNow hands-on skills , each week a challenge will be posted and you need to implement the solution in your Personal Development Instance and share the screenshots of the completion in the post comments and your take home learning for this week Challenge.
Benefits:-
- A weekly implementation challenge in order to do goal based learning.
- An opportunity to connect and learn from thousand of others ServiceNow Enthusiasts who are part of nowGurukul community.
- An opportunity to learn and implement exciting features & functionalities of ServiceNow platform every week.
- Real time project based learning opportunity which can be used in your resumes in order to showcase how competent you are in implementing ServiceNow hands-on solutions.
- Opportunity to innovate and come up with your creative solutions for the challenges in order to grow your ServiceNow competency.
and much more....
Challenge Guidelines:-
- Kindly use your personal development instance for the challenge implementation.
- In case of any assistance/discussion required , please use nowGurukul Official What's App Channel for the quick resolution.
- Wherever needed assume the values in order to complete the challenge as you are independent enough to bring in your creativity in your hands on implementations.
- Make sure you follow Best Practice wherever applicable.
*****************************************************************************************************************
Prerequisite:
nowGurukul ServiceNow Hands-On Challenge 2024 #Week_1
nowGurukul ServiceNow Hands-On Challenge 2024 #Week_2
nowGurukul ServiceNow Hands-On Challenge 2024 #Week_3
nowGurukul ServiceNow Hands-On Challenge 2024 #Week_4
nowGurukul ServiceNow Hands-On Challenge 2024 #Week_5
nowGurukul ServiceNow Hands-On Challenge 2024 #Week_6
Week-7 Challenge:-
Service Level Agreement
Establish Service Level Agreements (SLAs) for the fulfillment of E-Wallet Requests based on the specific Type of Award.
The provided table outlines the Service Level Agreements (SLAs) for response and resolution times applicable to assignment groups responsible for fulfilling E-wallet requests initiated by Managers.
Sl.No |
Target |
Type of Award |
Duration |
1 |
Response |
On spot award |
5 hours |
2 |
Resolution |
On spot award |
2 business days |
3 |
Response |
Best Employee of the month |
3 hours |
4 |
Resolution |
Best Employee of the month |
2 business days |
5 |
Response |
Best New comer Award |
5 hours |
6 |
Resolution |
Best New comer Award |
3 business days |
7 |
Response |
Extraordinary Employee Award |
6 hours |
8 |
Resolution |
Extraordinary Employee Award |
2 business days |
9 |
Response |
Successful Go-Live Appreciation |
4 hours |
10 |
Resolution |
Successful Go-Live Appreciation |
6 business days |
Please feel free to define start and stop conditions as per your logic and also you have the freedom to select the schedule as well.
Access Control Lists
Set up Access Control Lists (ACLs) for E-Wallet requests initiated by Managers
1. Managers can Submit the request and monitor the raised requests.
- Fulfillers (Assignment Group members) have visibility of the raised requests and can modify the Request Status and Assignment Group if incorrectly assigned.
- The Delivery Head has the authority to view the submitted requests, adjust the requested amount, and modify the Assignment Group.
- If any requests require deletion, the Director or Administrator should handle the process.
Database Views
Managers and higher-level personnel wish to access the 'E-Wallet Requests by Position' report during budget meetings, which includes the following fields.
- User ID
- Manager
- Position
- Project
- Type of Award
- Requested Amount
- E-wallet Budget
- E-wallet Balance
- Type Award
- Assignment Group
Generate a Database View named 'E-Wallet Request Details' for the Employee and E-Wallet Request by Manager tables. Utilize this view to create the respective report.
*****************************************************************************************************************
Join nowGurukul Communication Channels to get latest updates:-
LinkedIn:- https://www.linkedin.com/company/nowgurukul
What's App:- https://chat.whatsapp.com/DlXPEZCFFTn0ImvGA5UErP
YouTube:- https://www.youtube.com/channel/UClnJHTVq8kNkS1KCzMptYGg
Please Bookmark this Article
for your future reference and do Mark it as Helpful
if you really enjoy working on this challenge.
Regards,
nowGurukul Team
-
Automated Test Framework
-
Best Practices
-
Command Line Interface
-
Delegated Development
-
Guided App Creator
-
Instance Configuration
-
Multiple Versions
-
Now Experience UI Framework
-
Now Platform App Engine
-
Personal Developer Instance
-
Scoped App Development
-
Script Debugger
-
Scripting and Coding
-
Service Creator
-
Service Portal Development
-
Studio
-
Team Development
-
Upgrades and Patches
-
User Interface (UI)
-
VS Code Extensions for ServiceNow
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @nowGurukul , @AG - LearnNGrow, @Everyone,
I'm trying gs.getUser().isMemberOf(current.assignment_group) to check current user is part of the group. currently the table (x_906853_corpora_0_e_wallet_request_by_managers)in custom scope so above script is not working.
I saw few community post say in custom scope above script is not working. i have tried from Script include to acl and glide query (sys_user_grmember) none of the logic is working for me. please share your thoughts in this
script from acl:
answer = false;
var result=gs.getUser().isMemberOf(current.assignment_group);
if(result==true){
answer= true;
}
Another logic :
var SI=new x_906853_corpora_0.IsMemberOfGroup();
var result=SI.GroupDetails(group,user);
gs.info('result==11'+result);
if (result==true) {
answer = true;
}
SI:
var IsMemberOfGroup = Class.create();
IsMemberOfGroup.prototype = {
initialize: function() {
},
GroupDetails:function(grp,usr){
var group=grp;
var user=usr;
var gr=new GlideRecord('sys_user_grmember');
gr.addEncodedQuery('user='+user+'^group='+group);
gr.query();
if(gr.next() || gr.hasNext()){
return true;
}
return false;
},
type: 'IsMemberOfGroup'
};
Thanks,
Siva
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
I appreciate your findings! We can simplify with OOB ServiceNow solutions !
I see you are solving the 'Managers can Submit the request and monitor the raised requests.'
I propose creating a group called 'Corporate Gifting Managers' and including them in the user criteria of the 'Raise E-Wallet Request for your Mentee' Record producer. This ensures only managers can initiate such requests.
Additionally, we can utilize default ACLs to enhance security. This involves creating roles, binding them to ACLs, and aligning them with specific groups.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
hi @Rampriya-S ,
I'm trying for 2nd point in the acl.
Fulfillers (Assignment Group members) have visibility of the raised requests and can modify the Request Status and Assignment Group if incorrectly assigned.
kindly add your thoughts in it.
thanks
siva
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Got it! The second point means that Assignment group members can change both the Request status and Assignment group. This includes scenarios where tickets are misassigned and come into their queue, enabling them to adjust the assignment group field accordingly.
Means field level ACL.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @Rampriya-S ,
Yep correct . but for some reason for request status not editable and the write acl is return as false.
Thanks,
Siva
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Create field level write ACL for 'Assignment group field'.
Assign the required role and configure the same role to the Assignment groups.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @RampriyaS ,
I have created the above acl still I'm facing the same issue. when im impersonate as the user with the below role for them assignment group as well coming as readonly.
Thanks,
Siva
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @nowGurukul ,
I have completed the week 7 challenge. And added my screenshots in below link.
Thanks,
Siva
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Taking nowGurukul weekly challenge is a great experience. I suggest everyone at the beginner and intermediate level in ServiceNow to give it a try.
YouTube: https://youtu.be/fvLoL-RuQsU