Programmatically assign task handler

Discuss problems installing or using TrackStudio.

Programmatically assign task handler

Postby grahamb » Mon Oct 10, 2016 4:48 pm

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(

Posts: 17
Joined: Wed Jan 28, 2009 7:16 pm

Re: Programmatically assign task handler

Postby Petr » Wed Dec 28, 2016 1:56 pm

You can set or userId or pstatesuId. You can not set both.
Учи Java и ищи работу вместе с
Posts: 2920
Joined: Wed Aug 12, 2009 4:38 pm

Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 3 guests