Knowledgebase

Tips and trips to work with formulas

Articles

Javascript in Formulas
You can choose from several step types that allow you to write your own custom Javascript. The function signature for all JS-related step types looks like: /** * @param trigger The trigger that started this execution * @param steps The li...
Retrying with amqpRequest Step
So you have a service that is using the AMQP protocol, and you want to build that into your , BUT there is no option to retry the step upon failure. What are you to do? No worries has got you.  The basic idea behind the httpRequest step retry...
How can I pass data between formula steps?
Sharing data between steps can be somewhat confusing when writing your first .  All steps make data available to other steps by exposing variables with the results of executing the step.  For most step types, this is specific to the partic...
Can you send notifications to a webhook in a formula step?
You can use a "httpRequest" Step to make a HTTP Request to any URL. You can choose the method to use (like POST), the headers and the body. You can also configure the expected Responses and steps on success or failure to the HTTP call. For...
Automatic Cleanup of Temporary Formula Instances
If temporary formulas are a part of your use case, utilize the Time To Live setting for your instances.  To use this setting, provide the amount of time a formula instance should exist in seconds. After this amount of time has lapsed, the ...
Replaying Formula Executions Via API
How to find and replay formula executions using the API.
Formula Data Context Example
Below is an example of the actual data you have access to in a formula, and the structure of that data.  { "trigger": { }, "steps": { "stepname": { } }, "config&quo...
Searching Formula Executions
Formula executions can be queried only by the ObjectID from the trigger of the formula execution. You cannot query by ExecutionID. To query an ObjectID to return the expected formula execution, the ObjectID in the trigger event must have been record...