automation of asset creation when user is onboarded.

Atchutaram
Tera Contributor

Hi Experts,

                       Currently we are creating assets manually when any new user is onboarded. Is there any way in which we can create a record in asset table through flow designer when user is onboarded? 

 

Can we include the asset details in catalog item and through flow designer can we create the record in asset table?

 

Best Regards

2 REPLIES 2

Moin Kazi
Kilo Sage
Kilo Sage

Hi @Atchutaram ,

 

Yes, you can automate the creation of asset records in ServiceNow using Flow Designer when a new user is onboarded. Here’s a general approach to achieve this:

Steps to Create Asset Records through Flow Designer

  1. Create a Catalog Item:

    • Create a catalog item for onboarding that collects user details and any required asset information (like asset type, model, etc.).
  2. Define Flow:

    • In Flow Designer, create a new flow that triggers when the catalog item is requested.
  3. Trigger:

    • Use the "When a record is created" trigger for the sc_req_item table, which represents catalog requests. You can set conditions to ensure it only triggers for your specific onboarding catalog item.
  4. Add Actions to Flow:

    • Use the "Create Record" action in Flow Designer:
      • Table: Select the alm_asset table (or your relevant asset table).
      • Field Mapping: Map the fields from the catalog item to the asset record. For instance, user details, asset specifications, etc.
  5. Include Asset Details:

    • You can include any necessary asset details in the catalog item request form. Ensure these details are captured when the item is requested.

 

Hope this help you.

 

Thanks

Moin

Anand Kumar P
Giga Patron
Giga Patron

Hi @Atchutaram ,

 

You can create a catalog item form with user onboarding details variables and create a flow like below and tag flow to that catalog item.

 

AnandKumarP_0-1729693876904.png

 

 

Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand