> 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-ticket-per-asset-on-bmc-footprints.md).

# Create Ticket per Asset on BMC FootPrints

Creates a separate BMC FootPrints ticket for each matched asset. Each ticket carries the same configured fields and a text table that lists only that asset. It differs from [Create Ticket on BMC FootPrints](broken://pages/c4a52d3c6e040e0792ef6c6867e2e6154e1261cf) by sending one request per asset and by adding a **Per Run Limit**.

### 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: device, user, application, vulnerability, certificate, service, source\_code, ai, domain, license.
* Required columns: none. The columns you select for each asset type in the workflow are what appear in the asset table.

### 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.                                                                                                                    |
| Description Field     | Text               | No       | `Description`                                                    | External name of the field that receives the generated asset table. Leave empty to skip the table.                                                                  |
| Assignees             | List               | No       | Empty                                                            | FootPrints agent usernames, for example `jsmith, mdoe`.                                                                                                             |
| Ticket Definition ID  | Integer            | Yes      | None                                                             | The workspace's ticket definition ID (minimum 1). The connection test lists the available definitions.                                                              |
| Ticket Fields         | Text (JSON object) | No       | `{}`                                                             | JSON mapping of FootPrints field names to values, for example `{"Title": "Assets missing EDR", "Status": "Open"}`. Fields set to null are skipped.                  |
| Quick Template ID     | Integer            | No       | None                                                             | Optional quick template to create the record from.                                                                                                                  |
| Contact Definition ID | Integer            | No       | None                                                             | Optional contact definition ID used to link a contact to the ticket.                                                                                                |
| Contact Primary Key   | Text               | No       | None                                                             | Primary key of the contact to link, usually the email address.                                                                                                      |
| Per Run Limit         | Integer            | No       | 1000                                                             | Maximum number of records created in one run (minimum 1). Assets beyond the limit are skipped and logged.                                                           |

### How it works

For each asset the job sends one `createTicket` SOAP request, using the same fields as the single-ticket job. The description is a text table: the workflow description (or title) on the first line, then for each asset type a line `<type> count: N`, a comma-separated header of the workflow columns for that type and a single row, and finally the footer `Powered by OctoXLabs`. It is written into the field named in **Description Field**, replacing any value you set for that same field in the fields JSON.

The limit applies to the whole run, not to each asset type. Matched assets from all asset types are combined, the first **Per Run Limit** assets are used, and the rest are skipped with a warning in the job log.

If no asset matched, the job logs a warning and creates nothing. Tickets are created one after another: if FootPrints rejects one request, the job node fails and the remaining assets are not processed, while tickets already created stay in FootPrints.

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

### Example

```
Domain:                 http://footprints.example.com:8080
Username:               octo-service
Password:               YOUR_PASSWORD
Ticket Definition ID:   12
Ticket Fields:          {"Title": "Review this host", "Status": "Open"}
Per Run Limit:          100
```

### 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>One ticket that lists all assets.</td><td><a href="broken://pages/c4a52d3c6e040e0792ef6c6867e2e6154e1261cf">Broken link</a></td></tr></tbody></table>
