Skip to main content
Nintex Community Menu Bar
Solved

DocGen automation using Apex

  • March 23, 2023
  • 1 reply
  • 315 views
  • Translate

Forum|alt.badge.img

Hi,

I am looking to generate PDFs automatically when a record is created in Salesforce. Is this possible via Nintex? If yes, can you please point me to correct documentation.

Thanks

Priyanka

Best answer by Ray_Cabral

Hi @p_berlia ,

 

Yes - this is possible using a couple of methods. 

 

1 - Using our loopmessage class in Apex code

https://help.nintex.com/en-US/docgensf/Apex/loopMessage.htm#loopMess2

 

2 - Use the RunDocGen class in Salesforce process builder or flow

https://help.nintex.com/en-US/docgensf/DocGenPackage/SalesforceFlowProcessBuilder.htm

 

Using the Apex class in process builder or flow is declarative and relatively simple to setup. It would be the recommended approach unless you would rather build the request into code. 

You do need to have automated requests as part of your Drawloop licensing, so you will need to get into touch with your Nintex representative to ensure you have the feature available to use the options above.

 

Best,

Ray C

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+1
  • Novice
  • 5 replies
  • Answer
  • March 27, 2023

Hi @p_berlia ,

 

Yes - this is possible using a couple of methods. 

 

1 - Using our loopmessage class in Apex code

https://help.nintex.com/en-US/docgensf/Apex/loopMessage.htm#loopMess2

 

2 - Use the RunDocGen class in Salesforce process builder or flow

https://help.nintex.com/en-US/docgensf/DocGenPackage/SalesforceFlowProcessBuilder.htm

 

Using the Apex class in process builder or flow is declarative and relatively simple to setup. It would be the recommended approach unless you would rather build the request into code. 

You do need to have automated requests as part of your Drawloop licensing, so you will need to get into touch with your Nintex representative to ensure you have the feature available to use the options above.

 

Best,

Ray C

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings