list_workflow_rules
Retrieve available workflow rules with input/output specifications for data processing, validation, or business logic in compliance workflows.
Instructions
Retrieve available workflow rules.
Rules are predefined logic that can be executed in workflow nodes. They typically handle data processing, validation, or business logic. Rules have inputs and outputs that can be mapped to other workflow components.
Returns: - rules (List[WorkflowRuleVO]): List of available workflow rules with input/output specifications - id (str) - name: (str) - description (str) - ruleInputs: [List[WorkflowRuleInputsVO]] - ruleOutputs: [List[WorkflowRuleOutputsVO]]
- error (Optional[str]): An error message if any issues occurred during retrieval. Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | ||
| error | No |
Implementation Reference
- constants/constants.py:92-94 (helper)Constants used by list_workflow_rules: URL_WORKFLOW_PREBUILD_RULES = '/v1/rules' is the API endpoint called by the handler to fetch workflow prebuilt rules.
URL_WORKFLOW_PREBUILD_TASKS = "/v1/workflow-catalog/tasks" URL_WORKFLOW_PREBUILD_RULES = "/v1/rules" URL_WORKFLOW_PREDEFINED_VARIABLES = "/v1/workflow-catalog/predefined-variables"