Is there anyway from a ActivityFlow send parameters into the different activities?
For example, from CartValidateVNextActivityFlow send parameters into the different Activities. Se example below.
public override ActivityFlowRunner Configure(ActivityFlowRunner activityFlow)
Which kind of parameter do you want to send, and why would you want to do that?
Because we want to reuse a activity but we don't want all the functionality to be executed. And instead of duplicating the activity send a parameter that we can check on. I think I solved it.
In my activity add a property and decorate it with the attribute [ActivityFlowContextProperty]. Then I can send it into my workflow and use it in the activity.
Yes, that's the way to do it.