Loading...

Issue in Closing form after starting Workflows attached to Custom Action

Title

Issue in Closing form after starting Workflows attached to Custom Action

Description

Issue in Closing form after starting Workflows attached to Custom Action

Please wait...
In New / Edit form, we have custom action button associated with workflows. On click of the custom action button the workflow gets triggered and completes. After completion, it navigates to the form instead of closing the current form and does not navigate to the default view. After we Start Workflow, if we add Close the dialogue / Goto URL / Goto Source or similar action the functionality is not working after the workflow gets started. The form does not perform any other action once the workflow gets completed

Cause

If you use custom action to call a workflow created by using SharePoint Designer, SharePoint will redirect to a page with this url "http://<Your Server Name>/_layouts/IniWrkflIP.aspx?<Parameters>" and ask you to confirm start or cancel the workflow.

This behavior is required by SharePoint and can not be avoided by configuring our quest webpart. Unfortunately, it will abort the process of the custom action. Thus the actions after the start workflow action will not be executed.

Resolution

In order to support this kind of scenarios, we need to enhance our product. ER ID TF00291159

Defect ID

If you use custom action to call a workflow created by using SharePoint Designer, SharePoint will redirect to a page with this url "http://<Your Server Name>/_layouts/IniWrkflIP.aspx?<Parameters>" and ask you to confirm start or cancel the workflow.

This behavior is required by SharePoint and can not be avoided by configuring our quest webpart. Unfortunately, it will abort the process of the custom action. Thus the actions after the start workflow action will not be executed.

Leave a Reply