Data privacy notice

 

When this content is loaded, usage information is transmitted to Vimeo and may be processed there.

 

             

Workflow action: Change counter

Modified on Tue, 18 Jul, 2023 at 9:17 AM

Actions of type Change counter allows to change the value of a counter, for example by incrementing or decrementing it by a certain value. The counter should have been created in the backend beforehand.


CONTENTS



User interface for actions of type Change counter.

Parameters

Counter change details

Counter
Counter configured in the management interface.
Counting action
Change to be applied to the counter, when the action is performed. This can be counting up, counting down, or resetting to the initial value.
Step size
Specification of the steps in which the counter is to change. The use of variables is possible.


Action variables

Actions of type Change counter provide Action variables which can be used in subsequent actions.


Standard action variables

[%$<action name>.SUCCESS%]
Return whether action was successfully executed. Returns Boolean (true/false).
[%$<action name>.RESULT%]
Return all results provided by the action in structured form.
[%$<action name>.ERROR_CODE%]
The error code thrown in case of an error in the action. Empty if no error occurred.
[%$<action name>.ERROR_MESSAGE%]
The thrown error message in the action's error case. Empty if no error occurred.


Action specific action variables

[%$<actionname>.RESULT.newValue%]
The new value of the counter after the change.
[%$<ActionName>.RESULT.oldValue%]
The old value of the counter before the change.
[%$<ActionName>.RESULT.wasReset%]
Whether the counter was reset to its default value.
[%$<action name>.ERROR.message%]
Error code returned if the counter could not be found, an entered value does not match the required format, or if no or an unknown counter action is performed.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article