2018-11-30 13:50:49 +01:00
|
|
|
<!--
|
|
|
|
Copyright JS Foundation and other contributors, http://js.foundation
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2020-01-15 03:40:48 +01:00
|
|
|
<script type="text/html" data-help-name="change">
|
2018-11-30 13:50:49 +01:00
|
|
|
<p>Set, change, delete or move properties of a message, flow context or global context.</p>
|
|
|
|
<p>The node can specify multiple rules that will be applied in the order they are defined.</p>
|
|
|
|
<h3>Details</h3>
|
|
|
|
<p>The available operations are:</p>
|
|
|
|
<dl class="message-properties">
|
|
|
|
<dt>Set</dt>
|
|
|
|
<dd>set a property. The value can be a variety of different types, or
|
|
|
|
can be taken from an existing message or context property.</dd>
|
|
|
|
<dt>Change</dt>
|
|
|
|
<dd>search & replace parts of the property. If regular expressions
|
|
|
|
are enabled, the "replace with" property can include capture groups, for
|
|
|
|
example <code>$1</code>. Replace will only change the type if there
|
|
|
|
is a complete match.</dd>
|
|
|
|
<dt>Delete</dt>
|
|
|
|
<dd>delete a property.</dd>
|
|
|
|
<dt>Move</dt>
|
|
|
|
<dd>move or rename a property.</dd>
|
|
|
|
</dl>
|
|
|
|
<p>The "expression" type uses the <a href="http://jsonata.org/" target="_new">JSONata</a>
|
|
|
|
query and expression language.
|
|
|
|
</p>
|
|
|
|
</script>
|