LWC EXCHANGE – SCENARIO 16

Refresh LWC after Queueable Jobs completed invoked by LWC itself

This scenario has been designed for developer who possess advanced skills in Lightning Web Component.

Problem Stateme

  • Create an apex method which accept account record as parameter
  • It invokes a queueable job
  • Apex method pass account record to queueable class
  • Queueable class upsert the account
  • Create a account record form with simple lightning-input, not using LDS
  • The LWC calls the apex method to upsert the record
  • Now, LWC also has the datatable which shows newly created account record
  • Without refreshing the browser, The datatable should show automatically the updated result in datatable after account record is upserted

Do you need help?

Are you stuck while working on this requirement? Do you want to get review of your solution? Now, you can book dedicated 1:1 with me on Lightning Web Component completely free.

GET IN TOUCH

Schedule a 1:1 Meeting with me

Also checkout this https://salesforcediaries.com/category/lightning-web-component/

Leave a Reply