cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
tbruce
Nintex Newbie

Drawloop automation & parameters

Jump to solution

I notice one can create a workflow to auto-magically generate documents via a Workflow which invokes the Nintex webservices.  This process requires one or more Drawloop_Next# fields because each step is mutually disconnected, and so these fields are used to pass the various parameters such as attachments or delivery method.

I notice when using the client-side Javascript button, all the parameters necessary for Nintex to generate the desired document are sent right up to Nintex just fine w/o any need for Drawloop_Next# fields; the user just clicks the button and checks the attachments (if any) and the delivery method.

Could not an Apex Trigger invoke an Apex class (decorated with @Future of course) to automate the process similar to a Workflow, but possibly w/o the need to create one or more Drawloop_Next# fields since the Apex class could implement the rules regarding which attachments or which delivery method? In essence, could not an Apex trigger invoke the same end-point as the client-side Javascript?

0 Kudos
Reply
5 Replies
Moderator
Moderator

Re: Drawloop automation & parameters

Jump to solution

It definitely can be called from Apex.  We started with the Drawloop Next method as it did not require code and deployment.  This should point you in the right direction.

http://help.nintex.com/en-US/docgen/docservices/#docgen-sfdc/Services/apex/samples/S_LoopMessage.htm 

Reply
tbruce
Nintex Newbie

Re: Drawloop automation & parameters

Jump to solution

Many thanks to Vincent Cabral for that exceptionally fruitful source.  Clearly some knowledge will only come from experience, but that answer sets one off in the perfect direction.

0 Kudos
Reply
jeff_sawin
Nintex Newbie

Re: Drawloop automation & parameters

Jump to solution

I'm trying to go down the Drawloop_Next path.  Looking for all the items that can be included in these fields.  Unfortunately, the reference included above results in "Page not found".  Is this documented elsewhere?

0 Kudos
Reply
tbruce
Nintex Newbie

Re: Drawloop automation & parameters

Jump to solution

Check this one out.  It might not be detailed enough, but it could be a start.
Workflow DocGen Packages 

0 Kudos
Reply
samlimster
Nintex Newbie

Re: Drawloop automation & parameters

Jump to solution

hi folks. 

I tried following the link in the answer, but it looks like it's getting a page not found error.  Has this page moved?

Thank you!

0 Kudos
Reply