• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

mzirino
#1 Posted : Thursday, May 8, 2008 10:45:47 PM(UTC)
mzirino

Rank: Member

Joined: 4/8/2008(UTC)
Posts: 21

Hi I have a situation where I need to pass a different PriceGroup to a Product Workflow and an Order Workflow for a single order. The reason is that there are tasks in both workflows that use the PriceGroup information to calculate prices at both the Product and the Order level. I thought that the workflows called in Order.Calculate() might share the same Context Object that I could pass information through, but I found that different Context objects are created for each workflow.

Perhaps it would be useful for the Order.Calcuate() method to share a single Context Object containing both an Order and a Product?

Marco
Marcus
#2 Posted : Saturday, May 10, 2008 9:13:06 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

I would create a custom task for the Order Workflow that runs the Product workflow passing in the context of the order workflow. Set your custom task to be the first step and it will run the product workflow before the rest of the order workflow tasks.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012