1

I have an object that contains a checkbox field, whenever the checkbox is updated to true, submit for approval button should be removed.

Eg: If the Record Sent for approval is approved, it should not show the button submit for approval for the second time or for resubmitting.

1
  • 1
    Hi Samanya, Did you try exploring Dynamic form concept where you can apply filters for your buttons. Apr 11, 2022 at 6:57

2 Answers 2

1

There are multiple ways to hide this button.

  1. Using lightning app builder - Add condition to display Submit for approval button. You can have a back end checkbox or status to hide this button.
  2. Create new record type and new page layout without Submit for approval button. Once submitted for approval, update record type.

I would recommend 1st one, as it is straight forward.

Let me know if this helps.

1

As mentioned in my comments earlier you can explore the option of Dynamic forms in lightning record pages where you can hide the button based on some conditions. Please find the article for the Dynamic forms.

we have an idea for the same where customers were requesting same option to hide the submit for approval button once the record is approved

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .