A dumb question here.. What does it mean to expose workflows in context? i didn't manage to understand it from the docs. (i am trying to trigger an event inside a child component)
Jay Campbell
16 days ago
The same way how you can access data via context, you can expose a workflow via context to trigger it from child components.
So if you create a workflow, expose it as context, and in the child component you subscribe to that context, you can trigger whatever the workflow is from the child.
Vizualinx
16 days ago
so it's just to trigger a workflow in the parent component, right? There is no way i can trigger an event in a child component from the parent??
Jay Campbell
16 days ago
To my knowledge, context only goes down the tree. To trigger from parent to child you might have to use attributes and trigger it with the "on attribute change" lifecycle.