Server method - onAfterCopy and set current user as requester

Hi,

My code looks like as following and it does not work, the method name is DLV_changes_after_copy:

Innovator inn = this.getInnovator();
string strPPSRequester = this.getProperty("requester","");
Item fromUser = inn.getItemById("User", inn.getUserID());
// Get to identity
string idnt_id = fromUser.getProperty("owned_by_id");
Item requester = inn.getItemById("Identity",idnt_id);
requester=requester.apply();
this.setPropertyItem("requester",requester);
return this;

I have created a server method - onAfterCopy named DLV_changes_after_copy, simply to change the requester property with current user name instead of old requester after copy. 

The Item DLV_PPS property looks as follow:

Any idea, why it doesn't work?

BR,

Jimmi