add message/before trigger script

Discuss problems installing or using TrackStudio.

add message/before trigger script

Postby razumuhin » Tue Mar 30, 2010 2:04 pm

Hi everybody.
I just want to which set custom field (named %Complated) value is 100 when i close a task.
I need add message/before trigger
For this reason i look at scrips example from http://www.trackstudio.com/documentation.html.
i seleced “set_value_of_a_udf” trigger script.
Code: Select all
//Name  set_value_of_a_udf
//Description Sets value of UDF "Customer told" to "Yes"
//Type Trigger / Add Message / BEFORE Trigger
message.getUdfValues().put("Customer told", "Yes");
return message; 

I tested from script panel but I take this warning
"Result correct
(java.lang.String) null"
and than i connected the this code my workflow/message type/close direction.
But nothing else occured..
What can i do?
razumuhin
 
Posts: 33
Joined: Wed Jan 20, 2010 10:46 pm

Re: add message/before trigger script

Postby admin » Wed Mar 31, 2010 10:38 am

Hello!

We don't support customer's scripts on the forum, it's subject of custom development:
http://www.trackstudio.com/products-edevelopment.html

Please send me your anonymized database backup and what script should do by e-mail.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7305
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia


Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 0 guests