[Workflow] Added a context to Workflow::apply()
#29146
Merged
8000
Workflow::apply()
#29146