+

Search Tips   |   Advanced Search

Portal, V6.1


 

Use the Workflow update tool

Use the Workflow update tool to add a workflow to existing items that aren't already workflow enabled.

  1. Log in to the portal as an administrator.

  2. Open the following URL in the browser and specify which workflow you want to apply and the library containing the items you want to apply the workflow to:

    http://[HOST]:[PORT]/wmyconnect/?MOD=workflowenablement&library=libraryname&workflow=workflowname
    

    If the "library" parameter is omitted, the default library that has been configured in the WCM ConfigService.properties file will be used.

Specifying a workflow stage

You can specify the workflow stage to move the updated items to by adding &workflowstage=workflowstagename to the URL. If not specified, items will be placed in the first workflow stage of the selected workflow.

Preserving dates

You can preserve the last modified date of items updated by the Workflow update tool by adding &preserve_dates=true to the URL used to run the Workflow update tool.

Restricting which items types to fix

You can restrict which objects types are processed by adding &restrictOn=itemtype to the URL used to run the Workflow update tool. For example: &restrictOn=Content,Style,Template,Taxonomy,Category,Site,SiteArea,Workflow,WorkflowStage,WorkflowAction,Cmpnt . If not specified, all object types will be fixed.

Unlocking items

To force locked items to be unlocked while running the tool, add &forceUnlock=true to the query. This setting defaults to true.

Define the session timeout

To prevent your server timing out before the workflow update tool has finished, you can specify &sessionTimeOut= to the URL. This is defined as the number of seconds before a session will timeout. For example: &sessionTimeOut=36000 . The default session timeout is 14440 seconds.

 

Parent topic

Developing a workflow strategy