Hi!
Thanks to all the replies!
I tried to use the code above, but still no works for me!
The scenario is: at the moment of ticket's resolution activity (Solution), if the user/analyst who's doing the change of the status, is a member of the L1 group, so the SDM should assume and set the user/analyst as the assignee of the ticket.
Here's the code which I tried to use at the action macro, using the exemple below:
uuid new_assignee;
send_wait(0,top_object(), "call_attr", "cnt", "current_user_id");
new_assignee= current_user_id;
send_wait(0, top_object(), "call_attr", "api", "update_object_super", new_assignee, persistent_id, 0, "assignee", format("cnt:%s", new_assignee);
Is it right?
Thanks!