> 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/adapters/b/bmc-helix-business-workflows.md).

# BMC Helix Business Workflows

BMC Helix Business Workflows runs on AR System. OctoXLabs reads the enabled people records from the CTM:People form as users.

## Use cases

* List Helix Business Workflows users and their email domains.

```
Adapters = bmc-helix-business-workflows AND Domain = *
```

## Before you begin

### Network

| Source              | Destination                                   | Port                | Protocol                                  |
| ------------------- | --------------------------------------------- | ------------------- | ----------------------------------------- |
| OctoXLabs connector | AR System Mid Tier (IP or hostname you enter) | 8008 (configurable) | HTTP by default, HTTPS if Is Secure is on |

### Required permissions

| Scope or role     | Permission                                                              | Needed for |
| ----------------- | ----------------------------------------------------------------------- | ---------- |
| AR System account | Log in through `/api/jwt/login` and read entries of the CTM:People form | Users      |

## Create credentials in BMC Helix Business Workflows

{% stepper %}
{% step %}

### Pick an account

Use an AR System account that can authenticate through the JWT login endpoint `/api/jwt/login`.
{% endstep %}

{% step %}

### Check the form access

The account must be able to read entries of the **CTM:People** form through the REST path `/api/arsys/v1.0/entry/CTM:People`.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter      | Required | Type    | Default | Description                              |
| -------------- | -------- | ------- | ------- | ---------------------------------------- |
| IP or Hostname | Yes      | String  |         | IP or host name of the AR System server. |
| Username       | Yes      | String  |         | AR System account.                       |
| Password       | Yes      | String  |         | Password of that account.                |
| Port           | No       | Integer | 8008    | Mid Tier port.                           |
| Is Secure      | No       | Boolean | False   | Use HTTPS.                               |
| Timeout        | No       | Integer | 30      | Seconds to wait for API responses.       |

## Troubleshooting

| Error message                | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Max retries exceeded for     | The API kept answering 401 or 429.                                                                                                     | Check the account. The token lives about 30 minutes, and the adapter logs in again on 401.           |
| Status Code: `, URL, Method` | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

{% hint style="info" %}
Available starting from version 6.5.2.
{% endhint %}
