Reputation: 112
I am using Omnistudio. The idea is to add education records Here is the architecture am following: I have parent omniscript with a embedded LWCflex card which has “Add Education” button which opens up a flyout Omniscript to add education details and Integration Procedure is being called and a navigation action with pub sub enabled and vlocEvents is passed as a key with name of Parent Flexcard name as a value I have added event listener in parent Flexcard for card reload. However new record is not being reflected on parent OS when flyout Omniscript closes.
Upvotes: 1
Views: 1049
Reputation: 485
It is difficult to navigate from child flexcard back to OS. if you have anything to display from the flyout OS into parent OS, try displaying that in the child flexCard itself. Also update records in the database or store the flyout data in the custom metadata(if it should not be saved yet), fetch this data in OS on click of Next (if applicable). You can navigate from child flexcard or child anything to paren OS through backend(APEX, Integration procedure)and backend is invoked only between steps. Consider updating your architecture accordingly.
Upvotes: 0