Help Center>Foundation Help

Applies to:

startFormProcess

Starts a process with the given workflow and form. This method validates that all Swim Lanes are assigned.

Argument

Description

Process

An XML descriptor to use when starting the process.

Form

Populated InfoPath-based XML for the initial form data, if applicable.

Return Value:

long: Process ID of the newly launched process.

Example Argument:

<SVProcess>

<SourceItem ListName="[SharePoint List Name]" >

</SourceItem>

<Participants>

<Participant Name="[Swim Lane Name]" DisplayName="[Display Name of User]" Login="[Domain Qualified User Name]" Email="[Email of the User]">

</Participant>

</Participants>

<Process Definition="[Process Definition Name]" Name="[Process Instance Name]" ListName="[List Name]">

</Process>

<Comment>[Comment for starting the process]</Comment>

</SVProcess>