It's all about the answers!

Ask a question

OperationAdvisor - modifiedBy return null


Sylvain LEQUEUX (2132728) | asked Oct 13 '11, 6:05 a.m.
Hello,

I'm currently developping an operation advisor extension (for server-side).
I need to know which IContributor (I only need the handle) has clicked on the "save" button. I'm able to get the source workItem whth all the other attributes I need (owner and custom attributes) but I still not able to know who performed the save action.

Here is the line of code I use for this :

IContributorHandle ch = sourceworkItem.getModifiedBy();


When I debug it, ch is null.

Is it the good way to get this information ?

Best regards,
Sylvain

One answer



permanent link
Sylvain LEQUEUX (2132728) | answered Oct 13 '11, 7:57 a.m.
Found the answer in https://jazz.net/forums/viewtopic.php?p=23179.

saveParameter.getSaveOperationParameter().getAuditableCommon().getUser()

Your answer


Register or to post your answer.