Recently I was working on a re-usable workflow using SharePoint designer. Everything worked fine, but was stuck on one point, removing the default initiation form attached to the workflow.
When we create a workflow using designer, by default we will get an initation form with it. Even if we delete the form and publish it gets attached again.
I tried searching but couldnt find much on this. After spending sometime found a real simple solution for the same. The details of it is as below:
In SP Designer, click on All Files option available in the left navigation pane under "Site Objects" option.
On this page, we will find workflows option. Select it and we can see our workflow there. Within it we can find the .xoml file of the workflow. Open the file and delete the initation form node and also the reference. Publish the wokflow and make sure you don't override the file (we get a message asking for the same). Once successfully deployed we are done !!!
Hope this helps.!!!
When we create a workflow using designer, by default we will get an initation form with it. Even if we delete the form and publish it gets attached again.
I tried searching but couldnt find much on this. After spending sometime found a real simple solution for the same. The details of it is as below:
In SP Designer, click on All Files option available in the left navigation pane under "Site Objects" option.
On this page, we will find workflows option. Select it and we can see our workflow there. Within it we can find the .xoml file of the workflow. Open the file and delete the initation form node and also the reference. Publish the wokflow and make sure you don't override the file (we get a message asking for the same). Once successfully deployed we are done !!!
Hope this helps.!!!