Skip to main content

Someone let me in on a trick to start workflows without the "Start Screen" by making setting Form Type "Custom" and deleting the Start Page line. It works fine when you click on the workflow by clicking on "Site Workflows" from "Site Contents" and then clicking on the workflow you want to start.

My problem is how to I get the Workflow URL for a javascript button or SharePoint Quick Launch. The way I got the URL for the "uncustomized" form was to click the workflow and copy the URL. Then I had to actually click the "Start" button to get the workflow to execute.

When you use the "Custom" form, there is no longer a URL to go to. I would like to add this action of not having to click "Start Workflow" to a button.

The other thing I'm trying to configure for my users is the Workflow Landing Place---the place the workflow dumps you out when it has had its way with you.  The place seems to be back on the "Start a New Workflow" page and this is confusing for my users because there is no recognizable navigation on the page. I know how to route around but they just get lost.

If you're using javascript, I'd suggest using the Nintex web service to start your workflow (_vti_bin/NintexWorkflow/Workflow.asmx).

For your second part, I presume you mean the redirect once you have clicked the button and the workflow has started? If so, if you use the web service approach above, you can do what you like with your user after they click the button.


This thread may help with this approach

 


Our installation has SharePoint configured funny with Linux Secure Servers in the front. Web Services don't work with our version of Nintex.


Try this approach with an "auto submitting" start form as described by


A workflow will also start by the way I described earlier. My interest is getting a URL that I can use for JavaScript Submission without the "Start Button". This still doesn't address that issue.


‌ did you resolve this one in the end?


Not really. I gave up for the time being.


Using Vadim Tabakman‌'s approach, create a custom nintex start form for your workflow. this way the url approach you are using will be fine. then using htis javascript

NWF$(document).ready(function()

{

  var obj = NWF$(".cssSubmitButton");

  obj.click();

});

with a css class on the start button on your custom form of cssSubmitButton will mean the form is submitted with you having to click start.


Not starting from a Nintex Form.

thanks,

Stephan


Reply