> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/library-packs/device-landscape/workflow_-device-assignment-verification/usage-guide_-device-assignment-verification.md).

# Usage guide: Device assignment verification

## Overview <a href="#usageguide-deviceassignmentverification-overview" id="usageguide-deviceassignmentverification-overview"></a>

If the ServiceNow Hardware Asset Management database isn’t kept current, it can lead to a range of operational challenges. Inaccurate documentation of a device’s current user can disrupt resource retrieval processes, causing delays and confusion when devices need to be collected for maintenance or upgrades. This discrepancy can also result in applications being installed incorrectly or not at all. Thus, maintaining up-to-date assignee information is crucial for the efficiency of resource retrieval and the security of the overall IT asset management system.

Ensure your library pack is properly configured by following the steps highlighted in its configuration guide:

[Configuration guide: Device assignment verification](/platform/library-packs/device-landscape/workflow_-device-assignment-verification/configuration-guide_-device-assignment-verification.md)

## Workflow Structure <a href="#usageguide-deviceassignmentverification-workflowstructure" id="usageguide-deviceassignmentverification-workflowstructure"></a>

This workflow is primarily designed to run automatically using a event trigger.

This section describes the key steps in this workflow:

* Initially, the workflow fetches device details from ServiceNow, along with information about the assigned user for the device. Subsequently, it compares the currently logged-in user with the assigned user. If any discrepancies are detected, the workflow proceeds further.

<div data-full-width="false"><figure><img src="/files/0PucH6ljvzFwXfHQ4SZm" alt="image-20240322-102420.png"><figcaption></figcaption></figure></div>

* If the “**Ask for permission?**” workflow parameter is enabled, the user will be presented with the following campaign”

<div data-full-width="true"><figure><img src="/files/MwIQYxOa1iXkoEbwM35f" alt="image-20240322-101313.png"><figcaption></figcaption></figure></div>

* The workflow progresses to a stage where it fetches the ServiceNow details of the currently logged-in user and subsequently updates the “Assigned to” field in the Hardware Asset database record with the logged-in user’s name.

<div data-full-width="false"><figure><img src="/files/5xoAo73ukHIntwnr3a8m" alt="image-20240322-103523.png"><figcaption></figcaption></figure></div>

***

RELATED TOPICS

* [Manage Workflows](https://nexthink.gitbook.io/opd/user-guide/workflows/managing-workflows)
* [Manage Campaigns](https://nexthink.gitbook.io/opd/user-guide/campaigns/managing-campaigns)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.nexthink.com/platform/library-packs/device-landscape/workflow_-device-assignment-verification/usage-guide_-device-assignment-verification.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
