FreeFlow class library

ActionPage.StartAction Method 

Starts an action.

[Visual Basic]
Public Sub StartAction( _
   ByVal folderId As String, _
   ByVal actionName As String _
)
[C#]
public void StartAction(
   string folderId,
   string actionName
);

Parameters

folderId
Folder id.
actionName
Name of the action.

Example

How to start an action, set some values and submit the form. conn is an already logged-in Connection object

[C#]
FreeFlow.Client.ActionPage page = new FreeFlow.Client.ActionPage();
page.Connection = conn;
page.StartAction("folder id", "Action1");
page.Form.Field("Text1").Value = "Hello world";
page.Validate();
page.Submit();
[Visual Basic]
Dim page As New FreeFlow.Client.ActionPage
page.Connection = conn
page.StartAction("folder id", "Action1")
page.Form.Field("Text1").Value = "Hello world"
page.Validate()
page.Submit()

See Also

ActionPage Class | FreeFlow.Client Namespace