Today, we are going to see how to trigger a Nintex workflow from a button click in Nintex Form. In Nintex Form Trigger a workflow from a Button click is a very simple process. We can see it in the below thread.
Starting a workflow from a Nintex Form can be performed using a Javascript Button with the following instructions.
Nintex Workflows – Issues Troubleshooting
Start a workflow from a Button click
Adding a Button
- Edit the Nintex Form
- Add a Button to the form from the controls panel
- Change the Button type to JavaScript Button
- Edit the Button Properties
- On Client Click call your JS function [in the example I used registerUser()]
- Click on Save
- Edit the Nintex Form Properties
- Go to cutom JavaScript property
- Add the JS function to execute; window.location.replace(‘Site URL/_layouts/15/NintexWorkflow/StartWorkflow.aspx?List={List ID}&ID=ID&WorkflowName=MyWorkflowName&Source=Item URL‘);
Where MyWorkflowName is the name of your workflow.
Nintex Form – Add Print Button
In this way, we can trigger or start a Workflow from a button click in Nintex Form.
You may find the below links useful.
Check date field is empty in Nintex Workflow
Customize SharePoint list forms without PowerApps
SharePoint: Filter List View by Current Month
SharePoint Online – Tenant app catalog vs Site Collection app catalog
SharePoint Online: Identify Current Page is Modern page or Classic page
I need help with this. I simply need to start an item workflow on the item via a button on the Display form (custom Nintex item form). I am not good with javascript. I even tried to build out the full URL to manually test it and it takes me to an error page.
This is for O365; not on premise, so I have a feeling the URLs are different in how Nintex forms and workflows in O365.
Hello Erin, Thanks for the visiting the blog. Please confirm if your issue is resolved till now. If not then I will check and post you the Javascript