.. _macros-feature:

Macros
------

.. _25.2|EKB-25078: 

.. tip:: 

   :ref:`use-action-search-to-navigate-automate`


Macros are used to return data from the system in various formats, 
to test for conditions, map data from Admin Portal or bulk loader input to 
various elements in the system (in conjunction with configuration 
ltemplates) and to access data in workflow steps.  

.. note:: 

   You can view existing macros and add new macros via the **Macros** page. For details on creating 
   macros, see the Advanced Configuration Guide. 

Various macro functions are available. These serve as boolean 
operators or can be used to carry out various numeric functions, 
string manipulation functions, list functions, time functions, 
and hierarchy related functions.  

.. note::

   The following macro functions are only available to administrators
   with an Access Profile set to **Full Access**:

   * ``fn.request_get``
   * ``fn.perform_http_get``

Macros can be created for re-use, named and stored as an instance  
of the Macro data model. When re-used, the reference prefix syntax
is of the format: *macro.<macroname>*.

Named macros and macro functions can be nested within other macros.

Refer to the Macro Reference topics.
