cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

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?

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?

Labels: (3)
Tags (1)
Reply
2 Replies
Workflow Hero

Re: 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?

Hi I have a similar question. 

I have a workflow with a TemplateID like http://domain/teams/deparment/team/_layouts/NintexWorkflow/StartWorkflow.aspx?TemplateID={9c61cdf5-4b0b-450b-b730-ac46f2789ac9}&Source={http://domain/teams/deparment/team}.  However that TemplateID seems to change if I update and publish the workflow and then the button leads to an error message "Cannot find workflow association".  I'd much rather build a button with a link like http://domain/teams/deparment/team/_layouts/NintexWorkflow/StartWorkflow.aspx?WorkflowName={Create Project Site}&Source={http://domain/teams/deparment/team}.  But the WorkflowName parameter doesn't work for me either....

I also tried passing in the parameter WorkflowID={2c0053fd-41eb-487a-9c90-807c29c0b609} instead of WorkflowName but that didn't work either.

Finally I tried the SharePoint workflow url for kicks http://spURL/_layouts/15/IniWrkflIP.aspx?WorkflowID={2c0053fd-41eb-487a-9c90-807c29c0b609}&Source=ht... but that didn't work either and leads to "An unexpected error has occurred."

Any assistance on how I can make my button more dynamic / resistant to ID#s changing after a publish would be greatly appreciated!

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: 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?

We also have this question.

Accept as Solution Reply