nowGurukul
Tera Guru
Tera Guru

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:-

  1. A weekly implementation challenge in order to do goal based learning.
  2. An opportunity to connect and learn from thousand of others ServiceNow Enthusiasts who are part of nowGurukul community.
  3. An opportunity to learn and implement exciting features & functionalities of ServiceNow platform every week.
  4. 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.
  5. 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:- 

  1. Kindly use your personal development instance for the challenge implementation.
  2. In case of any assistance/discussion required , please use nowGurukul Official What's App Channel for the quick resolution.
  3. 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.
  4. Make sure you follow Best Practice wherever applicable.

*****************************************************************************************************************

 

Prerequisite:

 nowGurukul ServiceNow Hands-On Challenge 2024 #Week_1

https://www.servicenow.com/community/developer-articles/nowgurukul-servicenow-hands-on-challenge-202...

 

nowGurukul ServiceNow Hands-On Challenge 2024 #Week_2

https://www.servicenow.com/community/developer-articles/nowgurukul-servicenow-hands-on-challenge-202...

 

nowGurukul ServiceNow Hands-On Challenge 2024 #Week_3

https://www.servicenow.com/community/developer-articles/nowgurukul-servicenow-hands-on-challenge-202...

 

nowGurukul ServiceNow Hands-On Challenge 2024 #Week_4

https://www.servicenow.com/community/developer-articles/nowgurukul-servicenow-hands-on-challenge-202...

 

Week-5 Challenge:-

UI Policy/Client Script:

  1.       ‘E-Wallet Budget’ should be visible and editable only to Employees whose Position Level is Manager or above.
  2.       When Active is ‘false’, ‘E-Wallet Balance’ and ‘E-Wallet Balance Validity’ fields should be 0 and blank respectively.
  3.       On Employee form, ‘Corporate Appreciations’ form section should be visible only for Active Users and whose Position Level be Senior Manager or below.
  4.       Make the Assignment To field mandatory for all the catalog tasks.
  5.       Make the Work Notes mandatory before closure of the task.
  6.       Display Info message on top of the form of “E-Wallet Request by Managers” displaying “E-Wallet Request is in <Request_status_value> State.” where <Request_status_value> would be replaced with the correct value.
  7.       Create a new field “Manager Email” and “Manager Mobile Number”. Based on the Manager selected, these fields should be auto populated from its employee details. When Manager changes, these should also be updated accordingly. (Hint: Script Include)
  8.       When you change ‘Project/Account’ field value changes, a Field Info should be displayed saying “This is critical information. Make sure you select the right value”.
  9.       If you try to make ‘Active’ as false and E-Wallet Balance is more than 0, it should ask for a Confirmation Pop-up saying “Your E-Wallet Balance will become 0. Please confirm if you still want to process”. Only if it is confirmed, make the E-Wallet balance 0 else keep the record active.
  10.   When you try to create an Employee Record, Check Photo is present, else display an alert saying “Photo is required to create an Employee Record” and don’t allow you to create an Employee record without Photo.

 

UI Action:

Employee Table:

  1.        Copy Employee’ – This would be the Form Button. When clicked, it should create a Duplicate Employee record which will copy fields: First Name, Last Name, Position Level, Manager, and Project/Account. This should be visible only for Active records.
  2.       Promote Employee’ – This should be a form button and should be visible only if the logged in user is Manager of that Employee. When clicked, this should change the Position Level of the Employee to the next level.
  3.       My Project/Account’ – This should be a related link and visible only if the logged in user is Manager of that Employee. When clicked, the Project/Account field value of the Employee should be updated to the same as the Manager.
  4.       ‘Escalate’ – This Button should be visible to only the Manager. When clicked, manager should be updated to Manager’s Manager.

E-Wallet Request by Managers Table:

  1. 1.       Request Approval’ – This Button should be visible to Requested By (Manager) only. When clicked, Approval should be triggered to the E-Wallet HR Approver group. State should be updated to ‘Approval Requested’.
  2.       ‘Balance to be Added’ – This Button should be visible to the Assignment Group only. When clicked, the state should be updated to ‘Completed’.
  3.       ‘Cancel’ – This related link should be visible to both Manager and Assigned To users. When clicked, State should be updated to ‘Cancelled’ and Work note should be updated with details on who cancelled.

 

Business Rule:

  1.       Before marking E-Wallet Request ‘Request Approval’, validate that E-Wallet Budget of Manager is not less than Amount requested. If less, Auto Reject the request.
  2.       When someone Approvers requests for an E-Wallet Request by the Manager, the Approver should become Assigned To Person and the State should be updated to ‘Approved’.
  3.       When someone Rejects a Request for E-Wallet Request by Manager, Approver should become Assigned To person and State should be updated to ‘Rejected’ and ‘Rejection Reason’ from Approval record should be populated to E-Wallet Request record ‘Rejection Reason’ field.
  4.       When State changes to ‘Completed’, requested Amount should be added to Employee E-Wallet Account.
  5.       Whenever E-Wallet Balance of Employee Increases, E-Wallet Balance Validity should be added with 3 months to increase the validity.
  6.       When E-Wallet Request is cancelled, Email should be sent to Manager with Proper Subject and details. (Hint: Event Triggered).
  7.       For Catalog Task with Short Description “E-Voucher Request confirmation by Manager”, Validate that Manager’s Approval is Approved or Rejected else does not allow it to Close Task.
  8.       For Catalog Task with Short Description “E-Voucher Request confirmation by HR”, Validate that HR’s Approval is Approved or Rejected else does not allow it to Close Task.


NOTE: Some of the above requirements would require Script Include also to implement it.

 

*****************************************************************************************************************

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

Comments
Sivasangeethp
Tera Contributor

Hi @nowGurukul ,

 

Could you please explain the 6th point -    Display Info message on top of the form of “E-Wallet Request by Managers” displaying “E-Wallet Request is in <Request_status_value> State.” where <Request_status_value> would be replaced with the correct value.

 

Thanks,

Siva

Sivasangeethp
Tera Contributor

For the 6th point just need to give info message on load of form. is that correct. please confirm anyone

nowGurukul
Tera Guru
Tera Guru
Sivasangeethp
Tera Contributor

Hi @nowGurukul 

 

I have completed challenge 5 and updated all screenshots in below link. you can check them.

NowGurukulUpdates · GitFront

 

 

Thanks,

Siva

 

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Sivasangeethp 

Super Fast.

Sivasangeethp
Tera Contributor

@Dr Atul G- LNG thanks

Rampriya-S
Tera Guru
Tera Guru

Taking nowGurukul weekly challenge is a great experience. I suggest everyone at the beginner and intermediate level in ServiceNow to give it a try. Here you go with the Week 5 challenge walkthrough.

Linked in :- https://www.linkedin.com/posts/rampriya-s_corporate-gifting-week5-servicenow-challenge-activity-7167...

YouTube :- https://youtu.be/cl_h2N-TZOU?si=CeBZh1M9hmSGFKRc

abhilash5
Tera Contributor

@Sivasangeethp 

in which table do you create this business rule. Because i am not sure abot amount request field?

-Before marking E-Wallet Request ‘Request Approval’, validate that E-Wallet Budget of Manager is not less than Amount requested. If less, Auto Reject the request.

Sivasangeethp
Tera Contributor

@abhilash5 - The BR runs on "E-wallet Request by Managers" tables

Sivasangeethp_0-1709225042123.png

 

Version history
Last update:
‎02-11-2024 05:54 AM
Updated by: