Updating OrderItems within AddItemWorkflow
Posted: Fri May 15, 2015 2:14 pm
Hi there,
I have a situation where, during the AddItemWorkflow, I need to modify the quantity of an OrderItem that is not the same item as is referenced from the current ProcessContext's OrderItemRequest. Is there a way to either
a) modify two different OrderItems during a single the AddItemWorkflow process
or
b) execute or schedule an inner or subsequent UpdateItemWorkflow for the other OrderItem, from within custom Activity code in the AddItemWorkflow?
I should note that when I try to simply change the quantity on the OrderItem the FulfillmentGroups get out of sync and it breaks the cart.
This is using the 4.0.0-RC1 codebase.
Thanks for any pointers!
I have a situation where, during the AddItemWorkflow, I need to modify the quantity of an OrderItem that is not the same item as is referenced from the current ProcessContext's OrderItemRequest. Is there a way to either
a) modify two different OrderItems during a single the AddItemWorkflow process
or
b) execute or schedule an inner or subsequent UpdateItemWorkflow for the other OrderItem, from within custom Activity code in the AddItemWorkflow?
I should note that when I try to simply change the quantity on the OrderItem the FulfillmentGroups get out of sync and it breaks the cart.
This is using the 4.0.0-RC1 codebase.
Thanks for any pointers!