Spel Reference Guide
To discuss or ask questions about this article, select the discussion tab above.
Note: please treat SPELL as SPEL
Spell is CA proprietary code used to script Service Desk core operations. Spell code can be found in .spl and .maj files located in $NX_ROOT\bopcfg\majic and $NX_ROOT\site\mods\majic directories. Other examples can be found in the $NX_ROOT\samples directory.
Note: .spl files with a pcd preceding the .spl are encrypted files, such as chgpcd.spl or itilpcd.spl.
Spell is usually used to write methods for object or attribute triggers. Examples may be attribute validation, notification, post processing, etc.
Spell is interpreted and executed by the Method Engine (spel_srvr), it can also be executed from the command line with bop_cmd command that interprets the fragment (.frg) files and executes the code.
The language resembles C++. Unlike C or C++, Spell does not support pointers or structures.
WSSIWYG by Nero Le Velu