I was wondering if I can trigger a behavior (specifically, change the form stage) based on time. For instance, when a form is created, a date for an event is provided. Then, can I set the form to move to a particular stage the morning of that event, then close out the following day?
This can be accomplished with the use of simple branches and date related functions. For instance, you may capture the current date when your form is submitted for the first time. Using a set Field with the “Date Add” function, you can set a (hidden) field with a future date, say 30 days after first submit date. On form is opened, you can add a simple branch that checks for that date, and if it matches, it will run your behavior containing a Set Next Stage and submit. Note: these actions cannot happen automatically in the background. They would require a user to open the instance.
More advanced (automation) functionality may rely on a web service using our endpoints to access and update the instance in the background.