Re: How to access promotion target comments from a workflow
In the dB the Comment is stored in the DESCRIPTION column in the PROMOTIONTARGET table. The PROMOTIONTTARGET table is a table that links the promotion object, in your case the EPMDocument, to the Promotion Request. So, you can use the MaturityHelper.service.getPromotionTargets(“the promotion request”) to get a QueryResult of the targets then you can go thru the QueryResult to get both the promotion object and the corresponding comment. As you go thru the QueryResult you can add the promotion object and comment to a HashMap and when done return the HashMap. Hope this helps.