-
Notifications
You must be signed in to change notification settings - Fork 97
EventPublisher
James Hou edited this page Jan 30, 2021
·
3 revisions
This component comes in two flavors:
-
EventPublisher_LFA.cmp- Local Flow Action (Aura).
- Used for events that do not need a screen component.
-
eventPubisher.js- Flow Screen Component (LWC).
- Used for events within a Flow Screen, it fires when rendered for the first time so it should respect Component Visibility rules too.
This component is an abstraction of messageService and so it gives the ability to communicate with the components in this library (and yours too, if you use messageService in your own LWCs).
Some examples:
Configure a Local Flow Action that has the following inputs:
-
Unique Boundary: the
uniqueBoundarygiven bysoqlDatatableas a flow Input. -
Event Key:
refreshsoqldatatable(case sensitive). - Event Value: keep this blank.
Configure a Local Flow Action that has the following inputs:
- Unique Boundary: keep this blank.
-
Event Key:
closedialog(case sensitive). - Event Value: keep this blank.