unable to get ID on avtivity2 in server event OnAfterPromote

Hello, I try in Server method to get ID on current activity2 when this is promoted to completed (On project ITEM)

See project management

I write an server method cCharp triggered on OnAfterPromote event, but impossible to get ID and results are :

this.getID() = blank

this.getType() = "Activity2"

the conteny of this  are <Item type="Activity2" idlist="337DD3BC4A814E3883B2EC9488EFBE24" />

I try : string idCurr = this.getProperty("idlist", "pb") ==> Blanck too !

An idea ??


Parents Reply Children
No Data