Symptom
Field 'Note' is added as a placeholder. The initial note is always used when there are more than one notes in a Lead.
Reproducing the Issue
- Create a Workflow rule with Placeholder 'Note' for Business Object Lead
- E-Mail received contains the first note of the Object
Cause
Lead's note information is retrieved from Class CL_MARKETING_LEAD_WKF_CAL_NOTE Method IF_WKF_CALCULATE_ELEMENT~CALCULATE where it gets the first Note that was created.
Logic:
READ TABLE <ls_body_text>-text_content ASSIGNING FIELD-SYMBOL(<ls_body_text_content>) INDEX 1.
CHECK sy-subrc = 0.
ls_note_text = <ls_body_text_content>-text.
Resolution
This is the expected system behavior, and there is no standard way to include other notes.
Keywords
Lead, Note, Workflow rule, placeholder , KBA , LOD-CRM-WKF , Workflow , Problem