Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to prevent duplicate software entitlements?

Jiajie Li
Tera Contributor

Hello experts, 

 

I would like to prevent duplicate software entitlements from being created. Not sure how to to best implement this?

 

Right now users submit a software request via Service Portal. After approved, the request will then create a new entitlement for the Software and assign it to the user. However, we want to implement something so the process will do a check. If user is already assigned an entitlement to the Software then it should prevent a duplicate entitlement. 

2 REPLIES 2

Amarjeet Pal
Kilo Sage
Kilo Sage

Hello  ,

OOTB ServiceNow handles validation by server scripts like business rules and script includes. So you can follow the same approach. I have an automation for allocating the licenses which I am handling it by flow and sub flows so I have added this logic into my flow itself.

As you know flow is similar to business rules , so the best practices according to me is you stick to business rule If you don't have any flow in the picture.

Benefits of existing flow , I will get the sys id of the entitlement record created and I can easily abort the action if anyone tries to create a duplicate of it.

Thanks 
Amarjeet Pal
Advania UK

Amarjeet Pal
Kilo Sage
Kilo Sage

Hello @Jiajie Li ,

You can also create a report whenever a duplicate record is created. We can monitor it and delete it.

 

Thanks

Amarjeet Pal

Advania UK