LWC Wizard: Shouldn't enable the Activate & Save
button if a trigger is still needed
#1448
Labels
Activate & Save
button if a trigger is still needed
#1448
Is your feature request related to a problem? Please describe.
The new LWC wizard allows you to attempt to activate a rollup if he trigger is not yet available but would be required by the rollup (Realtime OR Scheduled). Attempting to deploy the trigger at that time will cause a validation error to display.
Describe the solution you'd like
The button should not display until the trigger is recognized as being deployed to the org, ensuring the validation will pass.
I believe the LWC Wizard already has a method to handle when the Save and Active button should be enabled, you should be able to add more logic there to check the trigger state, which the LWC should already have stored in it's variabled, or at least retrievable. Look around at how we make the state check for the path configuration build.
Additional context
The button shouldn't have this requirement for Developer and Process Builder modes.
(Not the displayed mode values are different in the LWC Wizard but the record values are still the same.
The text was updated successfully, but these errors were encountered: