# do-set-op-property

The <do-set-op-property> action causes an operation property with the given name to be set to the value specified by <arg-string> on the current operation.

An operation property is a named value that is stored as an attribute on an <operation-data> element within an operation and is typically used to supply additional context that may be needed by the policy that handles the results of an operation.

### Example

>     <do-set-op-property name="myProperty">
>       <arg-string>
>         <token-text>Fred</token-text>
>       </arg-string>
>     </do-set-op-property>

## 1. Allowed Content

> arg-string
>   string argument

## 2. Attributes

> Attribute | Value(s) | Default Value
> --- | --- | ---
> disabled | true | false true if this element is disabled | false
> name | CDATA name of the operation property supports variable expansion after expansion, must be a legal XML Name | #REQUIRED
> notrace | true | false true if this element should not be traced during execution of policy | false

## 3. Content Rule

> ( arg-string )

## 4. Parent Elements

> actions
>   actions that are performed by a <rule>
> arg-actions
>   actions argument

Top Elements || All Elements || Tree