You need to sign in to do that
Don't have an account?

Disable create pdf if approval process is met
Anyone has any idea how to hide "create PDF" in quote object when an approval process is fulfilled? The sales managers will need to get their manager to approve before they can create PDFs.
I have a few logics set in the entry criteria:
a. If discount>6% or
b. If country <> South Asia (a list of countries) or
c. If total price>EUR 200k
I did some research online and will need to use record types, page layout and process builder. I am still quite new to these and am struggling to get this work.
Do not want to use visual force or apex here as my organization is too new to explore that for now.
I have a few logics set in the entry criteria:
a. If discount>6% or
b. If country <> South Asia (a list of countries) or
c. If total price>EUR 200k
I did some research online and will need to use record types, page layout and process builder. I am still quite new to these and am struggling to get this work.
Do not want to use visual force or apex here as my organization is too new to explore that for now.
I believe Here by cloning Existing "Quote" page layout(remove create PDF button from cloned layout) and assigning to RecordType after approval finish, you can achieve this requirement.
Please follow the step:
1. Clone "Quote" page layout and from remove "create PDF" button. Once you remove "Buttons" section will look like this
have removed "create PDF" from Quote Detail section.
2. After this create a RecordType and assing to this page layout
in profile set Master RecordType as default, if you want.
3. Now go to approval process which you are using and in Final Approval Actions/Final Rejection Actions(based on requirement) add New Field Update. In this field update you can change RecordType.
In your case select Quote Record Type.
Let me know this works for your use case or not.
I hope it will help you 😀
Regards,
Ravindra Nath
I am going to try this out later. Do we not need process builder? I was brainstorming if I can do this configuration "seamlessly"
Sharing this workflow here, in case others had something in mind too.
I am almost there! I managed to set the unapprove quote page layout to default, however, there are times where sales manager do not require approval. The Iogic i set now is always going to have the sales manager submit an approval.
This is my current approval process. Attempted to use process builder, however, it kepy throwing me errors. Now I just need to check
What I am still missing here?
Can you please put more light on what error you are getting?
And also if you are setting RecordType in Approval Process then why you need Process Builder(If you are adding different logic then fine)?
I removed the process builder totally as it is confusing me. I am doing thorough testing now, and I managed to get to:
1. Submit approval
2. Manager approve
3. Attempt to creadte pdf and save quote
Got the "Error saving PDF to Quote. Please Try again"
What could be the cause?
Very much appreciated!