CA Service Management

  • 1.  Action Macro for auto-assigned assignee in workflow task

    Posted Jun 27, 2018 01:37 AM

    Hi All,

    I used CA Service Desk Manager r14.1 and I created action macro for auto-assigned assignee in workflow task that I created macro code for the following:

    assignee=(uuid)expand(format("&{%d=chg.id->affected_contact.supervisor_contact_uuid.supervisor_contact_uuid}",chg)); 

    but when I apply to change order workflow task, it's not work.

    Could you please give me a light with this?

    Please help advice for this case.

     

     

    Thanks and Regards,

    KS



  • 2.  Re: Action Macro for auto-assigned assignee in workflow task

    Posted Jun 27, 2018 01:57 AM

    You most likely have some errors in the stdlog file that would indicate why this doesn't work. You can probably reduce the spel action macro code to:

    assignee = chg.affected_contact.supervisor_contact_uuid;

    I don't think that chg.affected_contact.supervisor_contact_uuid.supervisor_contact_uuid is a valid reference.



  • 3.  Re: Action Macro for auto-assigned assignee in workflow task

    Posted Jun 27, 2018 04:20 AM

    Dear Cristi Mitrana

     

    The stdlog file that show error message for the following below:

     

    06/26 16:31:11.84 MMTH spelsrvr 5940 ERROR pcexec.c 6365 Spell interp failed at Auto Assigned Assignee to Workflow Task:1:: set_attr on assignee failed: AHD03025:Attempt to modify non_CO value
    06/26 16:31:11.84 MMTH spelsrvr 5940 ERROR macro.spl 516 AHD03025:Attempt to modify non_CO value
    06/26 16:31:11.84 MMTH spelsrvr 5940 ERROR bhvtpl.spl 500 bhvtpl::do_behavior() macro 'Auto Assigned Assignee to Workflow Task' failed: AHD03025:Attempt to modify non_CO value
    06/26 16:31:11.92 MMTH spelsrvr 5940 ERROR pcexec.c 6365 Spell interp failed at Auto Assigned Assignee to Workflow Task2:1:: set_attr on assignee failed: AHD03025:Attempt to modify non_CO value
    06/26 16:31:11.92 MMTH spelsrvr 5940 ERROR macro.spl 516 AHD03025:Attempt to modify non_CO value
    06/26 16:31:11.92 MMTH spelsrvr 5940 ERROR bhvtpl.spl 500 bhvtpl::do_behavior() macro 'Auto Assigned Assignee to Workflow Task2' failed: AHD03025:Attempt to modify non_CO value

     

    I'm not sure what non_CO value mean?

     

    Please advise me.

     

    Thanks,

    KS



  • 4.  Re: Action Macro for auto-assigned assignee in workflow task
    Best Answer

    Posted Jun 27, 2018 05:43 AM

    Hi,

     

    you need to check "Lock object" flag in your Action Macro.

    CO means Checked Out which came from SDM object access logic, more info could be found here: SPEL group_leader 

     

    Regards.



  • 5.  Re: Action Macro for auto-assigned assignee in workflow task

    Posted Jun 27, 2018 06:17 AM

    Dear cdtj,

     

    Ok, I checked "Lock Object" and it's work.

     

    Thanks and Regards,

    KS