Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
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.
Hi,
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) { return activityFlow .Do(SEND_IN_PARAMETERS??)
.Do()
.If(ShouldCheckInstoreInventory)
.Do()
.Else()
.Do()
.EndIf()
.Do()
.Do()
.Do();
}
}