- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2025 09:54 PM
I am unable to identify what the solution is to this exercise under https://developer.servicenow.com/dev.do#!/learn/learning-plans/yokohama/new_to_servicenow/app_store_...
As a user with the NeedIt user role, Beth Anglin is unable to create NeedIt records because the fields are not visible on the form to configure a new record. Your challenge is to create an Access Control record to allow Beth to see the fields to be able to create NeedIt records. Use these hints to help you and view the solution if you get stuck.
- You only need one Access Control record.
- What type of Access Control do you need?
- What roles and conditions need to be applied in the Access Control record?
- The isNewRecord() method may be helpful.
I tried adding a new read,write,create control with * access and returning IsNewRecord() from the script and the role is the x_****.Needit_user. Nothing allows Beth to view the form when selecting "Create new" so obviously I am missing something. Let me know. Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2025 11:38 PM
Hello @Joel DSilva, I think you are supposed to create only one ACL for this task. Can you please remove all the new ones created and try to create new ACL as below?
- should be read
- assign role as x_****.Needit_user
- write following script in script section
answer = current.isNewRecord();
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2025 11:38 PM
Hello @Joel DSilva, I think you are supposed to create only one ACL for this task. Can you please remove all the new ones created and try to create new ACL as below?
- should be read
- assign role as x_****.Needit_user
- write following script in script section
answer = current.isNewRecord();
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 05:58 PM
Thank you @Nishant8 this worked. I am guessing it was incorrect for me to 'return' from my script i.e. return current.isNewRecord().