Symantec Management Platform (SMP) Community

 View Only
  • 1.  Token with parameters in run scripts broken

    Posted Dec 16, 2013 10:52 AM

    Does anyone know of a reason why or a way to fix tokens with parameters failing? There seem to be a number of problems with how they 'work' at this point.

    1. They seem to fail silently when using anything but an integer as a parameter, nothing gets returned.
    2. They seem to fail loudly when using an integer parameter, in two ways
    • If the parameter is expecting a non-integer type, eg uniqueidentifier, it throws a fail to cast sql error.
    • If the parameter is expecting an integer, it throws "Incorrect syntax near '0'." which is the same as if the replacement never replaced the parameter object.

    REM %NIC1IPGATEWAY%

    Using the %NIC{0}IPGATEWAY% example given in the token itself fails, and it is a built in token as part of 7.5.

    Anyone have any ideas?



  • 2.  RE: Token with parameters in run scripts broken

    Broadcom Employee
    Posted Jan 21, 2014 11:05 AM

    Hi dstclair,

    II see that this script task with same token %NIC1IPGATEWAY% work correctly using ITMS 7.5 HF3 build

    TokenWorks.jpg

     

    This is fixed for 7.5 HF3 ► https://www-secure.symantec.com/connect/forums/it-management-suite-75-hf3-release-notes

    FIxedTokens.JPG

     

    Thanks,

    IP.