Run workflow with button on newform.aspx

  • 28 February 2019
  • 1 reply
  • 0 views

Badge +5

Hello,

Is it possible to add a javascript button to the newform.aspx in a cewp that, when clicked, will run an Nintex workflow?

Here's some context:  I've created a workflow that creates records in a new list based on input from the master list.  So, the customer enters "3" in a field and the workflow creates "3" records.  These records are visible after the workflow runs through a filtered webpart on the new form, display form, and edit form.

I'd really like to just not have to "Save" the master record to run the workflow and create the child records.  I'd like to just click a button and create the child items without saving the master record. 

Is this possible?

 

PS We don't have Nintex forms and we cannot use Infopath.  So it needs to be jquery or javascript.

 


1 reply

Badge +7

I'm not sure if this is exactly what you're looking for, but you can create a Site Workflow with a Start Form. The Start Form can just be a button that starts the workflow, or it can have additional fields on the form to pass data to the workflow.

Reply