CA Service Management

MyFirstSpell.rar 

Aug 24, 2015 08:16 AM

CA SDM let me start on coding Spell getting variables

 

Create file at: $NX_ROOT\site\mods\majic

 

----------------------------------------------------------------------  zfirstspell.mod  ----------------------------------------------------------------------

MODIFY cr {

  POST_VALIDATE zFuncName() 993 FILTER ( category {} );

};

----------------------------------------------------------------------  zfirstspell.mod  ----------------------------------------------------------------------



----------------------------------------------------------------------  zfirstspell.spl  ----------------------------------------------------------------------

cr::zFuncName(...)

{

 

  int debug_mode;

  debug_mode = 1; //  1==> Debug enable or 0 = debug mode disable

 

string zcategoria;

zcategoria=category.sym;

 

 

  if ( debug_mode == 1 )

  {

  logf(SIGNIFICANT, "$$$$$$$$$$$$$$$$$$$$$$$$$$ BEGIN $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$");

  logf(SIGNIFICANT, "zfirstspell.spl --  starting - debug ...");

  logf(SIGNIFICANT, "Categoria= %s", zcategoria)

  logf(SIGNIFICANT, "$$$$$$$$$$$$$$$$$$$$$$$$$$  END   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$");

  };

}

----------------------------------------------------------------------  zfirstspell.spl  ----------------------------------------------------------------------


Standard value for:

$NX_ROOT = C:\Program Files (x86)\CA\Service Desk Manager


Where can I find Spel functions documentation?

Statistics
0 Favorited
4 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.