PATHCHECK

This activity receives a file or folder path and checks whether it exists.

INPUT Parameters:

PATHIN: Required

This parameter specifies the file or folder path that is to be checked.

OUTPUT Parameters:

PATHEXISTS:

This output parameter will contain the result of the check.  It will contain one of the following values:

  OK:  the file or folder path exists.

  ER:  the check failed because the file or folder does not exist or due to lack of necessary authorities to the file or folder.

Note that the error condition does not result in the activity ending with an error status – in other words, a CATCH processing sequence directive will not be fired for this condition.  You need to test the value of the PATHEXISTS output parameter to determine the result.