Automatically consuming a consumable via Request

genesislv
Kilo Contributor

I would like a consumable item be consumed and assigned automatically to the user when the hardware request (RITM) has been fulfilled and closed. Also I would like to reference that RITM record to that consumed record. Is there something built in OOB that I can configure to make this happen or does this require a bit of coding and customization on the catalog item?

Right now, we would have to manually consume the item once the RITM has been fulfilled and closed.

Thanks in advanced!

12 REPLIES 12

Community Alums
Not applicable

Hi Genesis,



A couple quick questions for you here:


  • Did you create the Catalog Item from the Consumable Model? This is important to leverage existing stock.
  • Are you using the Procurement plugin in ServiceNow? This will allow you to identify that you want to use existing stock or order more of an item (both consumables and hardware) when you source the item.

If you have these configured, then the item should be consumed when it is fulfilled.



Ben


Hi Ben,



I did create a Product Model record under the consumable model, then a Vendor Catalog Item, and published it to the Hardware Catalog in our Service Catalog. Then I added the consumable stock in the stockroom for that item.



Procurement plugin? I don't think we are using this at the moment. Currently, our workflow for the inventory check, procurement, and delivery is a manual check via tasks. Would I need to modify my workflows in order to use the procurement plugin to automatically check for inventory and auto consume when fulfilled?



-Genesis


Community Alums
Not applicable

Genesis,



If you use the Procurement plugin, this is automated as part of the process, so you won't need to use a workflow that uses manual tasks.



Ben


Teri Bobst
Mega Guru

Hi Genesis, I am trying to something very similar and was wondering if you found a solution?



bsweetser



Hi Ben, I understand that the procurement plug-in can facilitate the consumption of a consumable and I would have gone that route if we had been using procurement when our WF's were first created. Since we were not, I would like to be able to write a RunScript in the workflow that Consumes the Consumable once it has been deployed. Do you have any ideas where I could find some example code to do this? Instead of worrying about consuming it, should I just write the script to reduce the current consumable quantity?



Thanks,


Teri