Page tree

This is the documentation for ConfiForms Server/Data Center app

However, this might also work for ConfiForms cloud and in most cases it does. But please see this page to understand the differences between server and cloud versions of the ConfiForms app.

In ConfiForms, when you use ConfiForms IFTTT macros (Configuring ConfiForms IFTTT actions and rules), you can set conditions when this macro / action needs to be executed.

Conditions are basically filters (ConfiForms Filters), but with one very powerful addition - "hasChanged" function. See more about this function and others in Virtual functions.

But here, we would like to show you how you can set the condition in IFTTT macro to track the field transition, field value change from one value to another.

assume we have a field called "MyStatus", it is a dropdown field with many options and we are interested to know when the value of "MyStatus" field changes from "requested" to "development"  

This is possible, because during the IFTTT execution we keep the synthetic property _previousState 

So the condition to describe the above mentioned case will look like:

hasChanged(MyStatus):true AND MyStatus:development AND _previousState.MyStatus:requested

This translates to - when "MyStatus" field values has changed and it is now equals to "development" and previously it was "requested"

This whole expression goes into the ConfiForms IFTTT's macro "condition" field.... and that's it! (smile) You have your field transition covered!