CMDBuild Forum

Form Trigger Api

Hi, 

I want to create trigger, but I don't know how to get string value from reference in my structure. 

I tried api.getValue("nameReference"), but i got a number. I want get the string value of the reference. 

How can i get it ? 

Where you try to code “api.getValue(“nameReference”)”, and can you explain your problem more precisely?
What is ‘api.getValue(“nameReference”)’? Where you found such api?
My investigations show me a some way through arguments[0]…