Logs
Overview
Logs action is used for testing
Logs actions are displayed in the console
Create a Logs workflow
Click the Workflow tab, and refer to this link Workflows
Drag and drop Query Record action
For detailed information about Query Record refer to this linkQuery Records
Drag and drop Logs Action
Click on Config
Log Source: Log Source comes in three types
Variable: If you select the log source as Variable, then select the Variable from the drop-down list
Model: If you select the log source as Model, then select the Model from the drop-down list
Input: If you select the log source as Input, then select the Input from the drop-down list
Go to Action Details
Label: Label for the selected action
Name: Name is a unique identifier for the action
Is Async?:
Description: Short description of log
Go to the Input tab
Click on the + icon
Label: To display as a label for the workflow
Name: To uniquely identify the workflow within the form
Field Type: You can select the field type from the dropdown
Field: Text, Checkbox, Integer, Double, etc
Required: If this checkbox is checked, the field is required
Is Array?: If this checkbox is checked, the field is stored in the array
Default Value: You can set a default value for the input
Logs input created
Drag and Drop the Button on the Layout
Go to event
Search and select Workflow from Click>Action
Click on the gear icon
Select your Workflow from drop-down
Save and Run the Layout
In Preview mode click right and go to Inspect
In Inspect Go to the Console tab and click on the Button
After clicking on the button Logs Action will be performed