cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to access promotion target comments from a workflow

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.

Re: How to access promotion target comments from a workflow

Hello,

 

who knows, where promotion comments are stored in database?

 

My customer wants to increase the number of carracters.

 

Thanks and regards

Stefan