%META:TOPICINFO{author="TWikiContributor" date="1429159268" format="1.1" version="$Rev$"}%
---+ If-Then-Action Test

This is a test topic to verify proper operation of the %SYSTEMWEB%.IfThenActionPlugin based on [[%SYSTEMWEB%.IfThenActionRulesTemplate][if-then-action rules]].

<form action="%SCRIPTURL{save}%/%WEB%/%TOPIC%" method="post">
<input type="hidden" name="Number" value="%CALCULATE{$EVAL($INT(%FORMFIELD{ "Number" topic="IfThenActionTest" }%)+1)}%" />
<input type="submit" value="Update this topic" class="twikiSubmit" />
</form>
to verify. All topic counters below should increase by one:

| *Topic* | *Counter* | *Comment* |
| IfThenActionEmailTemplate |  N/A | The topic to the left is used as the e-mail template to send an e-mail when the current topic is updated - check the %USERSWEB%.TWikiAdminUser e-mail |
| IfThenActionSetFormField |  %FORMFIELD{ "Number" topic="IfThenActionSetFormField" }% | The topic to the left has a Number form field that is updated on save of the current topic |
| IfThenActionTouch |  %REVINFO{ "$rev" topic="IfThenActionTouch" }% | The topic to the left is updated on save of the current topic |
| IfThenActionView |  %GET{countIfThenActionView}% | The topic to the left is viewed on save of the current topic |
| IfThenActionViewDaemon |  %GET{countIfThenActionViewDaemon}% | The topic to the left is viewed on save using a daemon process, e.g. is non-blocking |

__Related:__ IfThenActionForm, IfThenActionEmailTemplate, IfThenActionSetFormField, IfThenActionTouch, IfThenActionView, IfThenActionViewDaemon, %SYSTEMWEB%.IfThenActionPlugin

%META:FORM{name="IfThenActionForm"}%
%META:FIELD{name="Number" title="Number" value="1"}%
