AnsweredAssumed Answered

How can I use the WorkflowStart/WorkflowName approach using a custom InfoPath form?  When I use this approach it always sends me to the standard form.  Is there another parameter that needs to be added?

Question asked by jenningsbradleya@johndeere.com on Oct 29, 2015
Latest reply on Jul 14, 2016 by chris.lockrey@calvarycare.org.au

I have a page with a button that links to the start form for this workflow.  Using the first approach always takes me to the default start form for the workflow.  I have enabled the InfoPath form from within Nintex and I want to link to that using the WorkflowName parameter instead of the TemplateID. I want to use this approach to avoid having to change the template ID every time I have to update the workflow, which means I have to update multiple pages that link to the start form.

 

http://SharePointSite/_layouts/15/NintexWorkflow/StartWorkflow.aspx?WorkflowName={Workflow Name}&Source={Return URL}

 

If I access the workflow start form from the Site Contents / Site Workflows menu and use the provided link I get the correct start form. 

 

http://SharePointSite/_layouts/15/IniWrkflIP.aspx?TemplateID={123456789}http://SharePointSite/_layouts/15/IniWrkflIP.aspx?TemplateID={1http://SharePointSite/_layouts/15/IniWrkflIP.aspx?TemplateID={1=&Source={Return URL}

 

When I try to substitute the WorkflowName for the Template ID parm it doesn't work.  It errors out.

 

http://SharePointSite/_layouts/15/IniWrkflIP.aspx?WorkflowName={Workflow Name}=&Source={Return URL}

 

 

Is there a way to update the URL to use the WorkflowName parameter instead of the ID and still have it open the InfoPath form, not the default form?

Outcomes