Is anyone using contract management module?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2014 11:40 PM
If anyone is using contract management module in ServiceNow, please respond to this post. I have general questions to ask.
Kind Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2014 07:21 PM
I'm assuming that the Contract Owners can only see their own Contracts, but the Contract Administrators can see ALL Contracts?
How are you identifying the Contract Owner? I see a Contract Administrator field, but not a Contract Owner field. Have you created a custom field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2014 07:33 PM
Yes I created custom field for Owner. Are you using Approver as a contact owner?
if you don't and can share your set up would be a great help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2014 07:50 PM
Your setup is different to the one I did.
What I would do to implement your requirement is as follows:
- Assign all the Contract Owners and Contract Admins the contract_manager role.
- Create a new contract_admin role and assign it to the Contract Admins
- Update the Access Control on the Read operation: add a scripted condition as follows:
gs.hasRole('contract_admin') || (gs.hasRole('contract_manager') && gs.getUserID() == current.u_owner)
This way you don't need to populate the Contract Administrator field, and all Contract Admins can see call Contracts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2014 08:26 PM
Thank you Geoffrey, let me try this and will get back with the outcome. I am playing on DEV only so if you want to share your set up, I might consider that aswell.
Cheers...
Enjoy your weekend.