31 Dec 2018: Thank you to our knowledgeable and friendly forums users for another great year. We are aware of the uptick in spam accounts and are doing our best to ban these at first sight. Thank you for your patience!

NotificationAction Rule - get Subject Id, enrollment date

Get extra detail Subject id, enrollment date, site name. etc from NotificationAction Rule in Email notification
I fond this rule action call method "runNotificationAction" library Openclinica-core.3.*.jar
This method in NotificationActionProcessor.class file

Any one change in this method for getting Subject id, enrollment date, site name in NotificationActionProcessor.java file and recompile

"
String subjectdisplayID = ssBean.getLabel();
Date subjectdenrollmentDate = ssBean.getEnrollmentDate();
String sitename = ssBean.getStudyName();

emailSubject = emailSubject.replaceAll("\\$\\{site.name}", sitename);
message = message.replaceAll("\\$\\{studysubject.id}", subjectdisplayID);
message = message.replaceAll("\\$\\{studysubject.enrollmentdate}", subjectdenrollmentDate.toString());
message = message.replaceAll("\\$\\{site.name}", sitename);
"
Any one can Help me for get detail in Notification email
Thanks
Jignesh
Tagged:

Comments

  • jigneshb1jigneshb1 Posts: 3
    OC ver 3.12.1--
    Any one made change, please to give complied class file of jar library
  • jigneshb1jigneshb1 Posts: 3
    If other way to get this detail, Subjcet Id, enrolment date in Mail notfication, please send me detail how to get it..
Sign In or Register to comment.