You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
This script Adds the RecordPoint Workflow to a Site ContentType in the Active Site.
How to run the script
- Open Windows PowerShell
- Run RecordPointActive.WorkflowContentType.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
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.