Automic Workload Automation

 View Only
  • 1.  MODIFY_TASK ReturnCode

    Posted Jan 02, 2019 11:04 AM

    Hi,

     

    In one of mine scripts I used MODIFY_TASK to set some variables. Like 

    :  PSET &MODIFY# = MODIFY_TASK(&$ACTIVATOR_RUNID#,"JOBP.ADP.WF_EXECUTE",3, VALUE, "<VALUE>", "&VARNAME##", &VALUE#)

     

    After running it, the variable is not set and I get the message;

    Variable '&MODIFY#' was stored with value '0000000000020818'.

     

    In another script it works fine, but now it fales with the code 20818

    The issue is that I can't find the reason/meaning of code  0000000000020818

     

    Is someone who knows what it means and where I can find the documentation behind this return-value

     

    Regards



  • 2.  Re: MODIFY_TASK ReturnCode

    Broadcom Employee
    Posted Jan 02, 2019 09:11 PM

    I'm not sure about the error code but try checking the 'Generate at Runtime' setting is set for this object.