> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/command-centre/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/working-with-workflow-templates/lost-or-stolen-credential.md).

# Lost or Stolen Credential

## Use Case Overview

The workflow enables users to report and promptly deactivate a lost or stolen credential, whether it's a mobile or physical access card. It also provides the option to request a replacement credential within the same process.

#### Request Details Forms

<div data-with-frame="true"><figure><img src="/files/AwZk3sJGkGPLBEyxaabC" alt=""><figcaption></figcaption></figure></div>

#### Approval Form

<div data-with-frame="true"><figure><img src="/files/RHnPML3HCioe4w5gQukq" alt="" width="450"><figcaption></figcaption></figure></div>

## Prerequisites Configuration

Before configuring this template, ensure the required system entities, such as lists or approver groups, are already set up. This includes pre-configuring the following elements:

{% stepper %}
{% step %}

### [Approver Group](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/approver-groups.md)

An Approver Group is a set of individuals responsible for reviewing credential requests and deciding whether to approve, amend, or deny them. This group must be preconfigured for use in the workflow.
{% endstep %}

{% step %}

### [Command Centre PDF List](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/lists/command-centre-lists/pdf-list.md)

Import the Personal Data Fields list from Command Centre. This lets AccessNow use cardholder details in the workflow. For example, it can look up the requester cardholder and display relevant details to the requester or approvers.

{% hint style="info" %}
You only need to import the Command Centre PDF List once. If you already imported it for another workflow, you can skip this step.
{% endhint %}
{% endstep %}

{% step %}

### [Command Centre Card Type List](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/lists/command-centre-lists/card-type-list.md)

Import the Card Type list from Command Centre. This list defines the physical and mobile credential types available in the workflow. Examples include staff cards, student cards, and digital credentials. These types determine which credentials the workflow can manage.

{% hint style="info" %}
You only need to import the Command Centre Card Type List once. If you already imported it for another workflow, you can skip this step.
{% endhint %}
{% endstep %}

{% step %}

### [Notification Email Templates](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/email-templates.md)

The workflow automatically sends notification emails at configured points, such as notifying approvers when an approval task is created or informing a requester when a request needs an update or is completed. Email templates for these notifications should be predefined. Some templates are workflow-specific, while others are reusable. The emails use variables to personalise the content and ensure tailored messages.
{% endstep %}

{% step %}

### [Create a New Workflow](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-management/creating-a-new-workflow.md)

To create a workflow from a template, first manually create an empty workflow.
{% endstep %}

{% step %}

### [Import a Template](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/working-with-workflow-templates/importing-workflows.md)

Download the template you want to customize and import it into the empty workflow created earlier. After that, you can start customizing your template.

Once the workflow is imported, steps and fields needing configuration are highlighted in red and are also mentioned in the validation messages. Follow the instructions below to configure these steps.

<figure><img src="/files/NyQkuFeIwEO6bM2G6Dxz" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Step configuration: *Data Initialisation*

Open the workflow in [edit mode](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-management/editing-a-workflow-version.md) and find the [Data Initialisation step](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps/data-initialisation-step.md). This step configures all necessary fields and values required for the workflow before the process runs.

{% hint style="info" %}
The Data Initialisation step is where you link the workflow template to the prerequisite elements you configured in the previous steps. Learn more about [Data Initialisation step configuration](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps/data-initialisation-step.md).
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/yXkJziGyE6Td8uHoYlFq" alt="" width="266"><figcaption></figcaption></figure></div>

#### Data Setup tab

**Click** on the step. It displays the step's configuration in the side panel.

Find the step's **Data Setup** tab. Steps and fields that need configuration are highlighted in red and are also mentioned in the validation message. Follow the instructions in the table below to configure the required fields.&#x20;

<table><thead><tr><th>Field Name</th><th width="131.748779296875">Value type</th><th>Value</th></tr></thead><tbody><tr><td>ApproverGroups</td><td>Group</td><td>Choose the approver groups that receive and review access card requests.</td></tr><tr><td>UniqueUserPdf</td><td>Select PDF List</td><td>Select the PDF that uniquely identifies the cardholder, such as <em>Email</em>.</td></tr><tr><td>ReadPDFsFromCC</td><td>Select PDF List</td><td>Select the PDF that references the cardholder information visible to the approvers, such as <em>Department</em>, <em>Phone</em>, <em>Role</em>, etc.</td></tr><tr><td>CardholderImagePdf</td><td>Select PDF List</td><td>Select the image PDF used for the cardholder profile photo, such as <em>Profile Picture</em>.</td></tr><tr><td>MobileCredentialRef</td><td>Select Card Type List</td><td>Select the Mobile Credential card type from the Card Type List.</td></tr><tr><td>CardTypesList</td><td>List</td><td>Select the list that contains the Command Centre card types imported into AccessNow.</td></tr><tr><td>BranchLocationList</td><td>List</td><td>Select the list that contains the available branch pickup locations for physical credentials.</td></tr><tr><td>NotifyApproverEmail</td><td>Email Template</td><td>Select the notification email template to send to an Approver Group when a request for approval is created.</td></tr><tr><td>RequestCompletedEmail</td><td>Email Template</td><td>Choose the notification email template to send to the requester when a request is completed.</td></tr><tr><td>RequestFailedEmail</td><td>Email Template</td><td>Select the email template for notifying users when a request fails due to a system error.</td></tr><tr><td>RequestRejectedEmail</td><td>Email Template</td><td>Choose the notification email template to send to the requester when a request is rejected by the approvers.</td></tr><tr><td>RequestAmendmentEmail</td><td>Email Template</td><td>Choose the email template to notify the requester if an amendment to their request is needed.</td></tr></tbody></table>

Remember to **always Save** your changes.
{% endstep %}

{% step %}

### Step configuration: *Find Cardholder Record in Command Centre*

This step locates the requester cardholder record in Command Center using the unique ID (*UniqueUserPdfForRequester*) provided during the *Data Initialization* step. It can also be used to retrieve additional cardholder information, such as *Department*, *Phone*, *Role*, *Date of Birth*, etc., if available in the Command Center. The template allows for use of up to four PDFs. This information is then displayed to the approver.

{% hint style="info" %}
Learn more about the [Process Step configuration](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps/process-step.md).
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/JQ7m3yg7Ma6J2vAdQZZN" alt="" width="277"><figcaption></figcaption></figure></div>

#### Process tab > Output Map parameters&#x20;

**Click** on the step. It displays the step's configuration in the side panel.&#x20;

Locate the step's **Process** **tab** **>** **Output Map**&#x20;

In the Data Initialisation step, while setting the value of *ReadPDFsFromCC*, you identified the Personal Data fields (PDFs) for lookup in the Command Centre and to be displayed in AccessNow. This process step facilitates that task.&#x20;

However, it is essential to configure the **labels** of the Command Centre PDFs. These are the **expected Command Centre label names** and should be specified in the Process tab under the **Output Map** as parameters (see the below screen-shot).&#x20;

Output Map fields **before configuration**:&#x20;

<div data-with-frame="true"><figure><img src="/files/GEbB0TXabOwj8un1f8gj" alt="" width="563"><figcaption></figcaption></figure></div>

Output Map fields **after configuration**. Note in this example, we choose to delete two fields that were not used. **Save** your changes.&#x20;

<div data-with-frame="true"><figure><img src="/files/p8ulfXULfmTEisytCApy" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Step configuration: *Request for Replacement Items*

In this step, the requester can choose to request a replacement credential for those that were lost or stolen. They can select either a mobile or physical access card, depending on which was lost.

#### Form Fields tab > Select branch location > Data Source&#x20;

**Click** on the step. It displays the step's configuration in the side panel.&#x20;

For physical credentials, the collection method must be chosen. The default methods are: in person, from a branch, or via postage. If choosing a branch, a [list](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/lists/custom-lists.md) of branch locations must be provided.&#x20;

Locate the step's **Form Fields** **tab** **> Select branch location field**   &#x20;

Create the list of the **credential pick up branches** using the [Custom List](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/lists/custom-lists.md) in AccessNow. Once ready link the list in the **Data Source** section under the **List Reference** drop-down.   &#x20;

<div data-with-frame="true"><figure><img src="/files/pMPLLhpgveAbsBrKpT0c" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Step configuration: *Approval for Replacement Items*

This step creates an approval task for the relevant approver group.

{% hint style="info" %}
You can learn more about this type of step in the [Process Task Step section](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps/process-task-step.md)
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/Wnb6Xh1bpVe9y6pP51Dn" alt="" width="305"><figcaption></figcaption></figure></div>

#### Input Fields tab > Requester Details&#x20;

It is recommended to update the labels on the displayed Command Centre PDF information, even though configuring the Input Fields tab does not trigger a validation error. The **Requester details** form field uses the *UserCard* that displays the user information as shown in the example below.

<div data-with-frame="true"><figure><img src="/files/ppWYq0pnhRRQ9ONpxN31" alt="" width="563"><figcaption></figcaption></figure></div>

Go to **Input Fields > Requester Details > UserCard Details**

The UserCard is an interface element designed to display user details. Its configuration includes definitions for the data to be displayed, such as **First Name** and **Last Name**, which are selected and configured by default.

You can configure additional fields labeled as **Pdf\_1**, **Pdf\_2**, and **Pdf\_3** as shown in the screenshot below.&#x20;

These fields need to be configured based on how many you want to display and what information you wish to extract from Command Centre as declared in the [*Data Initialisation*](#step-configuration-data-initialisation) and than in [*Find Requester in Command Centre*](#step-configuration-find-requester-in-command-centre) *and* [*Find OnBehalf User in Command Centre*](#step-configuration-find-onbehalf-user-in-command-centre)*.*&#x20;

<div data-with-frame="true"><figure><img src="/files/9nYQmLF7Iwmtry8tIfgG" alt="" width="563"><figcaption></figcaption></figure></div>

In our example, we've chosen to retrieve **Role** and **Department** details from the Command Centre for both the Requester and Recipient.&#x20;

To ensure that the labels in the UserCard align with the Command Centre information, **untick** the fields you are not using and **update the field labels** as shown in the screenshot below. **Save** your changes.&#x20;

<div data-with-frame="true"><figure><img src="/files/D3K8HUb6BzeTfU5sbk04" alt="" width="529"><figcaption></figcaption></figure></div>

#### Input Fields tab > Recipient Details &#x20;

Repeat the same steps for the **Input** **Fields tab > Recipient Details** > **UserCard Details** form field. Remember to **Save** your changes.&#x20;

#### Email tab > Contact Email Template&#x20;

Requesters can contact the approver group by clicking the **Contact our team** link (highlighted in the screenshot). It allows users to type a custom message and send it to the approval team.The additional custom configuration required for that step involves an email template used for sending emails to the approvers.

<figure><img src="/files/jzfsJxEdkW1gkxcS7B68" alt=""><figcaption></figcaption></figure>

To configure the email template, navigate to the **Email** **tab**. From the **Contact Email Template** dropdown, select the desired email template to be used when a requester contacts.&#x20;

Remember to **Save** your changes.&#x20;

<div data-with-frame="true"><figure><img src="/files/TULvtjEe6I4OLpImBEwt" alt="" width="329"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Step configuration: *Request For Replacement Items Requires Amendment*

This step returns the request to the requester when the credential review identifies required amendments, such as uploading a new photo. This is essentially a task for the requester to complete, which is why it uses the [Process Task](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps/process-task-step.md) step.

{% hint style="info" %}
You can learn more about this type of step in the [Process Task Step section](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-configuration/steps/process-task-step.md).
{% endhint %}

#### Input Form tab > Select branch location > Data source&#x20;

**Click** on the step. It displays the step's configuration in the side panel.&#x20;

At this point, the requester can amend the details of their request, including the pickup method. Therefore, it is necessary to refer to the pickup locations list in case the branch collection method is selected.

Locate the step's **Form Fields** **tab** **> Select branch location field**   &#x20;

Select the same list of credential pickup branches as used in the [*Credential Details* Step configuration](#step-configuration-credential-details). Link the list in the **Data Source** section under the **List Reference** dropdown.

**Save** your changes.&#x20;

<div data-with-frame="true"><figure><img src="/files/KezY1mndWQNuylKbK38K" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Steps configuration: *Print and Dispatch, Retry - Create Credential*

Follow the steps for configuring requester details as outlined in the [Input Fields Tab under Requester Details](#step-configuration-approval-for-replacement-items) instructions.
{% endstep %}

{% step %}

### [Test the Workflow](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-management/testing-a-workflow-version.md)

It is recommended to test the workflow before publishing it for use by the system's end users.
{% endstep %}

{% step %}

### [Publish the Workflow](/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/workflow-management/publishing-a-workflow-version.md)

After testing and confirming the results, publish the workflow to make it available for system users.
{% endstep %}
{% endstepper %}


---

# 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://help.security.gallagher.com/command-centre/accessnow-user-guide/workflow-creation/creating-and-managing-workflows/working-with-workflow-templates/lost-or-stolen-credential.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.
