Modifying States in a Workflow
2 minute read
You can modify the states in a workflow and the linkages between states, which determines the workflow.
Warning: Do not modify the values in the Data section, Type string field of states in Lionbridge Sample Workflow or in states that originate from there. Otherwise, the Connector will not work property. The values in that field are Content API Platform classes that call the Connector functionality.
You can add or remove states from the template, or modify how the linkages between states, such as which state follows another state. There are two recommended ways to do this:
- Modify states in Lionbridge Sample Workflow: In the Lionbridge Sample Workflow folder, right-click and select Insert > Insert from template in the context menu. Navigate to the Workflow/State template. All the states are based on this template. Then, after you create the state within the workflow, you create an action. For example:
- To specify the next state, in the Data section, select the next state in the Next state dropdown list.
- To specify the final state, in the Data section, select the Final check box. By default, the final state is the Publish state.
Tip: First create all the states and then link them, as described above.
- Copy a state to a new workflow: You can create a new state based on an existing state. To do this, select the state you want to want to copy. Right-click and select Copying > Copy To in the context menu. Then select the workflow where you want to copy this state, and click Copy. The copied state has the same settings as the original state.
For more information, refer to the Sitecore CMS Workflow Cookbook. This guide is available in the documentation section of the Sitecore Developer Network (SDN) site, at http://sdn.sitecore.net/Reference.aspx. You must log in to this site to access the documentation.
Note: Your custom workflow must include the required translation statuses.