> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/action-center/bmc-footprints/create-or-update-contact-on-bmc-footprints.md).

# Create or Update Contact on BMC FootPrints

Creates or updates one address book contact in BMC FootPrints for each matched user, using the field mapping you define. Whether a contact is created or updated is decided by FootPrints through the primary key field of the address book.

### Before you begin

* A BMC FootPrints account that uses FootPrints internal authentication. LDAP, AD and SSO accounts cannot use the web services API.
* Web Services enabled system-wide and for the role of that account (FootPrints answers 403 otherwise).
* Connection values can be saved once as defaults. See [Action Center Settings](broken://pages/8daaff23fb0e54786a34d37a83aef576876fb40e), group **BMC FootPrints**, one tab per job.
* Accepted asset types: user only.
* Required columns: none. The columns that you map in **Contact Fields** must be selected for users in the workflow.

### Settings

| Setting                    | Type               | Required | Default                                                          | Description                                                                                                                                                                                                             |
| -------------------------- | ------------------ | -------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Domain                     | Text               | Yes      | None                                                             | FootPrints server address with the scheme and the web services port, for example `http://footprints.example.com:8080`. https is assumed when the scheme is omitted.                                                     |
| API Path                   | Text               | No       | `/footprints/servicedesk/externalapisoap/ExternalApiServicePort` | Path of the External API SOAP endpoint. Change it only if your instance is not under `/servicedesk/`.                                                                                                                   |
| Username                   | Text               | Yes      | None                                                             | A FootPrints internal authentication account.                                                                                                                                                                           |
| Password                   | Text (sensitive)   | Yes      | None                                                             | Password of that account. Masked after saving.                                                                                                                                                                          |
| Submitter                  | Text               | No       | None                                                             | FootPrints user recorded as the submitter of the created records. Leave empty to omit.                                                                                                                                  |
| Timeout                    | Integer            | No       | 30                                                               | Timeout for FootPrints API requests, in seconds.                                                                                                                                                                        |
| Per Run Limit              | Integer            | No       | 1000                                                             | Maximum number of records created in one run (minimum 1). Assets beyond the limit are skipped and logged.                                                                                                               |
| Address Book Definition ID | Integer            | Yes      | None                                                             | The address book definition ID (minimum 1). The connection test lists the available definitions.                                                                                                                        |
| Contact Fields             | Text (JSON object) | Yes      | None                                                             | JSON mapping of FootPrints contact field names to OctoXLabs user columns, for example `{"Email": "Email", "First Name": "FirstName"}`. Include the address book's primary key field, or every run creates new contacts. |

### How it works

For each user the job reads the columns named in **Contact Fields**. Columns with no value are left out. Users with no value for any mapped field are skipped and counted in a warning. If none is left, the job fails with an error asking you to check the workflow columns.

The **Per Run Limit** is applied after that filter, so skipped users do not use up limit slots. Users beyond the limit are skipped with a warning.

For each remaining user the job sends one `createOrEditContact` request. If FootPrints rejects a request, the job node fails and later users are not processed.

When it finishes it logs how many contacts were created or updated. The matched assets are passed unchanged to the next node.

### Example

```
Domain:                 http://footprints.example.com:8080
Username:               octo-service
Password:               YOUR_PASSWORD
Address Book Definition ID:3
Contact Fields:         {"Email": "Email", "First Name": "FirstName", "Last Name": "LastName"}
```

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/ede5975ebf0170cf441be827137f8087ba4c5e07">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save default values for this job.</td><td><a href="broken://pages/8daaff23fb0e54786a34d37a83aef576876fb40e">Broken link</a></td></tr><tr><td><strong>Create Ticket on BMC FootPrints</strong></td><td>Open a ticket for matched assets.</td><td><a href="broken://pages/c4a52d3c6e040e0792ef6c6867e2e6154e1261cf">Broken link</a></td></tr></tbody></table>
