Page 1 of 1

Programmatically assign task handler

PostPosted: Mon Oct 10, 2016 4:48 pm
by grahamb
Is it possible to programmatically assign a task handler in a message script?

I've tried in a before_add_message script using message.setHandlerId(); but that just generates a stack trace with:
Code: Select all
Stack Trace:
            com.trackstudio.exception.GranException: Both userId and prstatusId are not null
   at com.trackstudio.kernel.manager.UserManager.getUsersource(UserManager.java:1049)

Re: Programmatically assign task handler

PostPosted: Wed Dec 28, 2016 1:56 pm
by Petr
Hello.
You can set or userId or pstatesuId. You can not set both.