Skip to main content

Overview

Using the functions enables users to add logic to their applications incrementally, making it more powerful and robust. The Functions module of the application allows you to create functions needed for performing the required actions.

While creating a function it is required to specify the namespace, which is an hierarchical structure for organizing the functions created as a part of the application. The namespace specified acts as a reference when a function is called for execution. Also, the functions to be passed as arguments or parameters, and the type of result to be returned from the function should be specified as a part of the function creation process. After the above details are defined, you can start writing the script abiding by the guidelines to execute the targeted action.

The function thus created can in turn be called from any module, to be executed in response to a particular task.