post
https://{environment}.origamirisk.com/OrigamiApi/api/v2/Actions/Queue/RootCause//
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
What It Does
The RootCause action creates a new RootCause record and associates it with a parent record (specified by domainName and domainKey). A RootCause captures why something happened - the underlying reason for a claim, incident, or loss.
Core Workflow
- Creates RootCause Record: A new RootCause is created and linked to the parent record
- Applies Field Mappings (optional): If
autoFillMappingSetNameis provided, copies field values from the parent record to the new RootCause - Sends Email Notification (optional): If
sendEmail: true, notifies the parent record's owner using the specifiedemailTemplateId - Creates External Access (optional): If
createExternalAccess: true, generates a secure link for external viewing
External Access - To Whom?
When createExternalAccess: true, the external access is created for the RootCause record itself, but the question of "to whom" depends on how the ExternalAccessType is configured.
The recipient is determined by the ExternalAccessType configuration, not by parameters on this action. The ExternalAccessType (specified by externalAccessTypeId) defines:
- Who receives the access link (configured user, role, or external party)
- What email template is used for the notification
- What permissions the external user has
- Whether a landing page is used
Common Use Cases:
| Scenario | ExternalAccessType Configuration |
|---|---|
| Send to claimant for review | ExternalAccessType configured to email the Claimant association on the parent Claim |
| Send to vendor for input | ExternalAccessType configured to email the assigned Vendor |
| Send to adjuster | ExternalAccessType configured to email the Claim's Adjuster |
Example: Complete Workflow
Scenario: A claim closes and you want to:
- Create a root cause record
- Copy relevant claim data to the root cause
- Notify the claim owner internally
- Send external access to the claimant for review
{
"actionType": "RootCause",
"domainName": "Claim",
"domainKey": 12345,
"rootCauseTypeId": "15",
"autoFillMappingSetName": "ClaimToRootCause",
"sendEmail": true,
"emailTemplateId": "42",
"createExternalAccess": true,
"externalAccessTypeId": "8",
"revokeDate": "+30d"
}Result:
- RootCause record created, linked to Claim #12345
- Fields populated from claim via "ClaimToRootCause" mapping
- Email sent to Claim #12345's owner (internal notification)
- External access link created using ExternalAccessType #8 (recipient defined by that configuration)
- External access expires in 30 days
Summary
| Feature | Controlled By |
|---|---|
| Root cause type/category | rootCauseTypeId |
| Field population | autoFillMappingSetName |
| Internal email notification | sendEmail + emailTemplateId → sent to parent record owner |
| External access | createExternalAccess + externalAccessTypeId → recipient defined by ExternalAccessType config |
| Access expiration | revokeDate + relativeToDate |