cloneDocRuleConditionGroup
POST/doc-rules/:docRuleId/condition-groups/:elementId/clone
Duplicates the condition group identified by elementId within the RuleDefinition of the DocRule,
producing a new top-level condition group that is an independent copy of the source.
Server-side cascade: the entire sub-tree is copied, namely the condition group and all its
descendants (conditions, sub-conditions, range groups, ranges and effects), preserving their structure
and values. The clone is created as a new element with its own generated ids and appended after the
existing condition groups. Returns the full RuleDefinition of the DocRule (the same payload as
getDocRuleDefinition).
To access the service you need at least one of the following permissions:
| Permission (one of) |
|---|
| createDocRule |
| updateDocRule |