/
Logs

Logs

Overview

  • Logs action is used for testing

  • Logs actions are displayed in the console

Create a Logs workflow

  • Click on Config

  1. Log Source: Log Source comes in three types

    1. Variable: If you select the log source as Variable, then select the Variable from the drop-down list

    2. Model: If you select the log source as Model, then select the Model from the drop-down list

    3. Input: If you select the log source as Input, then select the Input from the drop-down list

  • Go to Action Details

  1. Label: Label for the selected action

  2. Name: Name is a unique identifier for the action

  3. Is Async?:

  4. Description: Short description of log

  • Go to the Input tab

  • Click on the + icon

  1. Label: To display as a label for the workflow

  2. Name: To uniquely identify the workflow within the form

  3. Field Type: You can select the field type from the dropdown

    1. Field: Text, Checkbox, Integer, Double, etc

  4. Required: If this checkbox is checked, the field is required

  5. Is Array?: If this checkbox is checked, the field is stored in the array

  6. 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

Related content

Logs
More like this
Layout Actions
More like this
Query Records
Query Records
More like this
Actions
Actions
More like this
Code
More like this
Create Records
Create Records
More like this