Create Purchase order dynamically in SAM

Nagarjun Katta
Tera Contributor

Hi Folks,

I've got the following scenario:

We have a custom table for purchase orders (u_poc_order) and an OOTB table for software entitlements (alm_license).

So we have subscription-type licenses with an expiration date in the entitlement table.

Whenever we find subscription licenses that have expired, a PO record needs to be created automatically in the custom table (u_poc_order).

There is no relationship between the two tables.

Can anyone help with this scenario since I'm not very good at writing scripts?

 

 

Thanks

Arjun

1 REPLY 1

Omeir Yusuf
ServiceNow Employee
ServiceNow Employee

Hello,

 

Is your use case essentially looking to automate the reorder of an expired subscription license? Have you considered using the contract renewal workflow, which was introduced in Tokyo? There will be opportunities to configure that workflow to create a task to automatically generate a PO at a certain stage of the process. Outside of that, you are looking at customization, for which I would recommend working with an authorized ServiceNow Partner.