Flint's TOD (Trigger on Demand) is an user interface that provides the capability to trigger and debug Flintbit executions. Depending on the workflow, necessary inputs are provided to Flintbits which then interact with connectors/listeners.
Thus, running a Flintbit from TOD will not only trigger the workflow but also help us observe the response for the same with appropriate logs.
Trigger On Demand is all about - running a Flintbit, displaying output of a Flintbit in its well structured raw form and monitoring logs.
Similar to connectors/listeners, Flintbits also, can be executed in a synchronous and asynchronous manner.
- Synchronous : Execute Flintbits in a synchronous way. Default timeout is of 60,000 ms.
- Asynchronous : Execute Flintbits in an asynchronous way straight away returning the meta object, without waiting for the job to complete.
This field is the Flintbit name along with the Flintbox name in which it resides. By default, all the Flintbits reside in the Flintbox directory. Naming convention is as followed :
where, a colon ( : ) represents the path change.
For example, a non-nested directory structure looks like:
Whereas, a nested directory structure looks like:
A nested directory structure representing the following, each separated by a colon ( : ) :
-flintbox -http -my-requests -http_get.rb
This is used to specify the type of input documents for a Flintbit. Valid input document types are :
- JSON ( application/json )
- XML ( application/xml )
This is used to specify the timeout for a Flintbit's execution in a synchronous mode. Default timeout is 60,000 ms.
This is used to specify:
- a JSON Object in case of JSON type input document
- a XML document in case of XML type input document
The data in these documents are actual inputs to your Flintbits.
Here, you can view a well structured response of your Flintbit execution. All the parameters of the response stand out with their corresponding values. Parameters are separated out perfectly so you can study values which are significant to your debugging.
The raw view is just a big text area with the Flintbit response body. A minified version of the JSON Object or XML document will be displayed depending on the type of input provided.
Logs will help you walk-through your Flintbit processing in detail. With various logging levels and all possible errors captured, Flint's logging makes it easy to debug, identify and resolve errors/failures. It is a good practice to start logs before running any Flintbit.