November Happy Hour will be moved to Thursday December 5th.

Moving away from workflows

Vote:
 

Ref: http://vimvq1987.com/2016/12/you-can-now-finally-hate-workflows/

I have a site where I have removed workflows and where I am using the new order api. But what about commerce manager? 

I can see that when you make changes to existing orders, episerver runs workflows. How should that work?

For instance - I have a custom tax implementation  (custom impl. of ITaxCalculator). Should that be added to both sites?

#174827
Feb 06, 2017 11:57
Vote:
 

Hi Mari,

We have a plan to make the workflows use the new APIs internally - so if you have a custom implementation of ITaxCalculator it'll work the same in CM.

It should happen quite soon (in a couple of months, I think)

Regards,

/Q

#174830
Feb 06, 2017 13:29
Vote:
 

So until then I need both a custom workflow impl (for the manager site) and an ITaxCalculator impl for the front end site. Correct?

#174831
Feb 06, 2017 13:36
Vote:
 

If you have a custom ITaxCalculator implementation, then the workflows will be able to get that implementation and calculate the taxes by the implementation.

In other words, as long as your implementation is in CM bin folder, the calculation will be the same as front-end site.

#174832
Feb 06, 2017 13:40
Vote:
 

According to this: http://world.episerver.com/blogs/Son-Do/Dates/2017/2/no-workflow-customizing-itaxcalculator-and-combine-with-workflow/ it's a bit more work. :)

#174857
Feb 07, 2017 7:48
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.