mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Tidy up more core node help text
This commit is contained in:
@@ -36,11 +36,14 @@
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="switch">
|
||||
<p>A node to route messages based on property values.</p>
|
||||
<p>When a message arrives, the selected property is evaluated against each
|
||||
of the defined rules. The message is then sent to the output of <i>all</i>
|
||||
rules that pass.</p>
|
||||
<p><b>Note</b>: the <i>otherwise</i> rule applies as a "not any of" the rules preceding it.</p>
|
||||
<p>Route messages based on their property values.</p>
|
||||
<h3>Details</h3>
|
||||
<p>When a message arrives, the node will evaluate each of the defined rules
|
||||
and forward the message to the corresponding outputs of any matching rules.</p>
|
||||
<p>Optionally, the node can be set to stop evaluating rules once it finds one
|
||||
that matches.</p>
|
||||
<p>The rules can be evaluated against an individual message property, a flow or global
|
||||
context property or the result of a JSONata expression.</p>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
@@ -14,8 +14,8 @@
|
||||
|
||||
<script type="text/x-red" data-help-name="change">
|
||||
<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 turn.</p>
|
||||
<h3>Options</h3>
|
||||
<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>
|
||||
@@ -31,10 +31,8 @@
|
||||
<dt>Move</dt>
|
||||
<dd>move or rename a property.</dt>
|
||||
</dl>
|
||||
<h3>Details</h3>
|
||||
<p>The "expression" type uses the <a href="http://jsonata.org/" target="_new">JSONata</a>
|
||||
query and expression language. A tool is available to test expressions against
|
||||
real data <a href="http://try.jsonata.org/" target="_new">here</a>.
|
||||
query and expression language.
|
||||
</p>
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user