Script

This activity runs a custom VB.NET or C# script.

Tip: If you want to easily use RepositoryAccess in your script, use the SDK Script activity. An SDK script activity extends the existing Workflow script API and automatically adds RepositoryAccess references to the workflow script project.

ClosedHow does this activity look in the Designer Pane?

To add this activity to a workflow definition

To configure this activity

Select the activity in the Designer Pane to configure the following property boxes.

Note: If you have more than one connection profile for your workflow definition, the Connection Profile property box lets you specify which connection profile this activity will use.

Note: Each workflow definition that has a script activity maintains two projects, one for VB and one for C#, that contain common code and a list of external reference assemblies that the activities can use. Each activity adds one or more code files to one of the scripting projects, and when the workflow definition is published, the two projects are compiled into separate assemblies.