How to create a workflow initiation form in SharePoint?

How to create a workflow initiation form in SharePoint?

In InfoPath Designer 2010, click File, and then click Publish. Click SharePoint Server. In the Publishing Wizard, select the SharePoint Forms Library where you want to publish your workflow form, rename the file InitiationForm, and save it as an InfoPath Web Browser Form Template. Click Save.

When to use Association and initiation forms in SharePoint?

Association and initiation forms are displayed for users to complete before any workflow actually starts. You can use these forms to enable users to set parameters and other information for the workflow in advance.

How do you create a workflow Association in XML?

You specify a workflow’s association form in the workflow template definition XML. To do this, set the value of the AssociationURL attribute of the Workflow element to the custom form page you want to use for workflow association. For example:

How to create workflow forms in Microsoft Office 2010?

By using Microsoft InfoPath 2010, you can create workflow forms that run in Microsoft Office 2010 client applications—such as Microsoft Excel 2010, Word 2010, PowerPoint 2010, and InfoPath Forms Services itself—and also in a web browser.

How does form server control work in SharePoint?

When SharePoint Server 2010 displays a custom InfoPath form for workflow association, it calls the Forms Server control to convert the form into a Microsoft ASP.NET 2.0 page and host it. As part of the form load, the Forms Server control passes any predefined association XML data to the form as XML.

Where is the Association data stored in spworkflow?

The workflow association data is stored as XML in the AssociationData property of the appropriate SPWorkflowAssociation object. When a workflow instance starts, this data is also passed into the workflow via the AssociationData property of the SPWorkflowActivationProperties object.

How to get workflow to run on item change?

It sounds like you want your workflow to run on the item change instead. If you only want the workflow to do its thing on the first edit of the item, then make sure to set a value that indicates it has already run or compare the Created and Modified dates, etc. M. I’ve seen his behavior too.

What happens when you add a document to a document library?

When you add a document to a Document Library, there are two steps, as you know: Upload and Edit. The Upload step is like the New step in other lists; that’s when the document item is actually created. It sounds like you want your workflow to run on the item change instead.

What are workflow templates in SharePoint Designer 2010?

Workflow Templates and Other Built-in Functionality in SharePoint Server and SharePoint Designer 2010 As organizations try to “do more with less,” they increasingly depend on the effective flow of information to make good decisions and improve worker efficiency.