Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
this's my codes, and i can't catch the event target of workitem.
can you help me ,thank you!
Solved! Go to Solution.
Try this
if((event.getEventType( ).equals( PersistenceManagerEvent.INSERT )) && ( target instanceof WorkItemLink))
Thanks
Binesh Kumar
Try this
if((event.getEventType( ).equals( PersistenceManagerEvent.INSERT )) && ( target instanceof WorkItemLink))
Thanks
Binesh Kumar
thanks for your answer,and how can i get WorkItem with WorkItemLink ?
WorkItemLink workitemlink = (WorkItemLink) target;
WorkItem workitem = workitemlink.getWorkItem();
it works ,
thanks a lot ~~