automation of asset creation when user is onboarded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 06:43 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 07:17 AM
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
Create a Catalog Item:
- Create a catalog item for onboarding that collects user details and any required asset information (like asset type, model, etc.).
Define Flow:
- In Flow Designer, create a new flow that triggers when the catalog item is requested.
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.
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.
- Use the "Create Record" action in Flow Designer:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 07:32 AM
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.
Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand