Debug Statements

Debug Statements

Info 

 Description

The info keyword is used in Validate, Success or Update actions to display debug messages to assist an app owner in debugging the application. The info message can be viewed only by the owner of the application by clicking on the link View log details, which appears after the data is persisted in the database. So, if your form is being filled by non-owners, they will not be able to view this message.

Note:

  • The debug messages are displayed temporarily and are not saved anywhere for future reference.

 Syntax

info <message>;

 Example

In the following example, the info message is displayed after the sendmail function is invoked.

sendmail
(
From : zoho.adminuserid
To : "test@zoho.com" 
Subject : "Report for Product Status: " + input.Product_Status_is 
Message : "Product: " + productno 
)

info "Report has been sent.";

 

Share this post :

FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeveloper.com