Clarity Service Management

Expand all | Collapse all

Action Macro to set WF Task Group

  • 1.  Action Macro to set WF Task Group

    Posted 10-17-2018 05:18 PM

    How do I write an Action Macro to set a WF Task group field to "GROUP1"

    The macro will be attached to a custom status on the previous task. 

     

    This is needed to manually control the group assinee of the next task sequence.
    Since location based auto-assignment does not work for WF Tasks, we need a way to assign the next task in the sequence to a specific group. It's ugly, but one of 15 possible groups will be assigned the next task

    What SPEL code is required in the action macro to set the task group = Group1

    We will duplicate this macro 15 times and attach it to 15 statuses



  • 2.  Re: Action Macro to set WF Task Group

    Posted 10-17-2018 06:16 PM

    jeffery.mason 

    Are you looking for something like Auto Assigns Workflow Tasks by location 



  • 3.  Re: Action Macro to set WF Task Group

    Posted 10-18-2018 05:23 AM

    Thanks Paul.  I saw this post before but wasn't sure if it was the right solution. I would still like a Set Group = x macro but I'll try this example as well. When I saw it, it wasn't clear how to implement, other than attaching it to the Pending status of the auto-assigned task and adding the group. Do I still add all of the potential group assignee's to the task auto-assign tab?  Do I need multiple copies of this macro - one for each group, on the same pending task?

     

    Thanks