HarborERP¶
Finance / operations ERP demo (stand-in for Business Central). REST create after NexusID stamped IAMObjectId.
Scenario: HR employee onboarding. Parallel scope harborerp in hr_employee_provision_targets.
Connection¶
flows/connections/harborerp.yaml — type: http + OAuth client credentials.
name: harborerp
type: http
base_url: "https://api.harborerp.example"
oauth:
grant_type: client_credentials
token_url: "https://login.harborerp.example/oauth2/v2.0/token"
client_id: "$secret:harborerp-client-id"
client_secret: "$secret:harborerp-client-secret"
scope: "https://api.harborerp.example/.default"
Secrets: harborerp-client-id, harborerp-client-secret. Allow the API host in egress.http.allowed_hosts.
Flows¶
| Artifact | Path |
|---|---|
| Workflow | flows/workflows/hr_employee_provision_targets.yaml (scope harborerp) |
| AMQP trigger | flows/triggers/hr-employee-provision-targets-amqp.yaml — hr.employee.creatediniam.1.0 |
| HTTP trigger | flows/triggers/hr-employee-provision-targets-http.yaml — POST /v1/api/hr/employee-provision-targets |
Call: POST /api/v2.0/employees (JSON number, displayName, email, directoryId, …) via script.execute.