CA Service Management

Expand all | Collapse all

AHD03025:Attempt to modify non_CO value

Jump to Best Answer
  • 1.  AHD03025:Attempt to modify non_CO value

    Posted 08-18-2017 10:38 AM

    Hi, Thanks to all, I want to assign the change order affected_contact in the first task on change order, for this I created the action macro and configured in the pending behavior.

     

    the action macro code is

     

     

    send_wait(1, this, "call_attr", "assignee", "set_val", chg.assignee, "SURE_SET");
    object gl;
    gl = msg[0];
    if (msg_error())
    {
    logf(ERROR, "Imposible asignar el usuario,error: %s", msg[0]);
    return;
    }

    But I have the next error.

    AHD03025:Attempt to modify non_CO value

     

    chg.assigne is a test and does not work chg.affected_contact does not work

     

    Any Idea, thanks!



  • 2.  Re: AHD03025:Attempt to modify non_CO value
    Best Answer

    Posted 08-18-2017 11:19 AM

    make sure that the "Lock Object" Flag of your Action macro is set to "Yes"

    Beside this, a simple

    assignee=chg.affected_contact;

    as your macro code may already work (! not tested !)

    Kind regards

    .....Michael



  • 3.  Re: AHD03025:Attempt to modify non_CO value

    Posted 08-18-2017 11:27 AM

    Hi Michael, totally true, it works thanks!