Hi!
I have a workflow created on an on-prem sharepoint list and would like to start the workflow using powershell. Is the approach different than when I use to start them in SharePoint Designer?
Thanks
Hi!
I have a workflow created on an on-prem sharepoint list and would like to start the workflow using powershell. Is the approach different than when I use to start them in SharePoint Designer?
Thanks
Hi
You can use the Nintex Workflow Web Service Methods at
http://<site>/_vti_bin/NintexWorkflow/Workflow.asmx
to start workflow.
You can use PowerShell Invoke-WebRequest or Invoke-RestMethod commands.
Invoke-RestMethod is perfect for quick APIs that have no special response information such as Headers or Status Codes, whereas Invoke-WebRequest gives you full access to the Response object and all the details it provides.
Read more here
Hello! Would you happen to have any steps on even attempting this? I’m not sure on where to apply this.. I do apologize, I am still new to this and thanks for your understanding.
Thanks
Hi
Hi
Have you managed to resolve your question?
Though I’m grateful for the responses I did receive, I’m just not familiar with using PS with Nintex… I mean I’m a beginner with PS, but I've tried looking up videos for a step by step approach but no luck. ♀️
Thanks
Hi
I have found the following links that could help:
Nintex Forms PowerShell Overview
Hi
The link which MillaZ provide is using PowerShell just to add a new item to your List.
This is exactly the same as using Nintex Forms to create a new item.
Or using SP OOTB form to create the new item.
Once a new item has been created, then it waits for Nintex Workflow to trigger,
Windows 10 has Windows PowerShell v5.1 installed by default.
The latest version of PowerShell Core is v7.3.x
The default PowerShell cannot connect with SharePoint.
You would need to install add-ons modules to PowerShell in order to connect with SharePoint.
Try to Google “sharepoint add new list item with powershell”. That should list some articles to get you started.
Lastly,
Incorrect usage of PowerShell could easily delete SharePoint list and data
Hi
Did Garrett’s answer help you out?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.