The CreatorCon Call for Content is officially open! Get started here.

Is anyone using contract management module?

manprt85
Kilo Explorer

If anyone is using contract management module in ServiceNow, please respond   to this post. I have general questions to ask.

Kind Regards

8 REPLIES 8

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?


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.


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.



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.