I have following scenario transfering from web store db to order management system db
- Database connector is configure to return each document as separate document.
Original order total from database is captured as a dynamic document property.
- Map function is used to calculate weather a special discount is applied.
Document property is updated with resulting value.
- In branch 2 the order total document property is retrieve using map functioned and mapped to
If multiple order documents are processed in a same execution, what will be the document
property on branch2 will it be,
Original order total for last document or each document OR
Calculated order total for last document or each document OR