Get Business Rule
get-business-ruleRetrieve complete XAML definitions for specific Power Platform business rules using workflow GUIDs. Access detailed business logic configurations from Dataverse to analyze or document rule implementations.
Instructions
Get a specific business rule with its complete XAML definition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | The workflow ID (GUID) of the business rule | |
| environment | No | Environment name (e.g. DEV, UAT). Uses default if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowid | Yes | ||
| name | Yes | ||
| description | Yes | ||
| state | Yes | ||
| statecode | Yes | ||
| statuscode | Yes | ||
| type | Yes | ||
| category | Yes | ||
| primaryEntity | Yes | ||
| isManaged | Yes | ||
| owner | Yes | ||
| createdOn | Yes | ||
| createdBy | Yes | ||
| modifiedOn | Yes | ||
| modifiedBy | Yes | ||
| xaml | Yes |