Skip to main content


Exists API

Suggest edit Updated on January 29, 2021

The exists API is a when rule, pxExists. This API returns a true Boolean value if the folder or file exists.

To use this API, define the following parameters:

  • repositoryName – the name of the repository.
  • filePath – the path to the file or folder, relative to the root path of the repository.

Related Content

Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us