This script Adds the RecordPoint Workflow to a List ContentType in the Active Site.
How to run the script
- Open Windows PowerShell
- Run RecordPointActive.WorkflowListContentType.ps1 script
By default, this is located under C:\Program Files\RecordPoint\Scripts
SiteUrl - The url of the Active site
WebUrl - The url of the Web where the content type is located
ListId - The ID of the List where the ContentType is located. Find using the List->Settings page
ContentTypeId - The ID of the Site ContentType to associate with. Find using the page layouts/mngctype.aspx
AssociationName - The new name of the Workflow Application
TaskList - Optional - The list used to store tasks for the Workflow.
HistoryList - Optional - The list used to store history for the Workflow.
AllowManualStart - Optional - When true, a user is able to start the workflow. Defaults to false.
AutoStartOnAdd - Optional - When true, the Workflow starts when a new document is added. Defaults to false.
AutoStartOnEdit - Optional - When true, the Workflow starts when a document is edited. Defaults to false.
PushToLists - Optional - When set, all lists related to the ContentType have the workflow associated. Defaults to true.