Ant script cannot find the state

Document ID : KB000100263
Last Modified Date : 06/06/2018
Show Technical Document Details
Issue:
We have updated an existing ANT script to use a new Harvest project and state. The error message in the output log says that it cannot find the state. We have checked and verified that the project name, state name and viewpath are all configured correctly in the script. What could be the problem?
Environment:
CA Harvest SCM all versions and platforms.
Resolution:
Found that the state specified in the "hco" command did not have a "Check Out for Browse" process. Added this process and granted appropriate Execute access and the ANT script works now.