Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Determining if a handle exists

Updated on April 5, 2022

You can determine whether a handle value exists on the database by using a standard function rule or an activity.

You can call the standard function rule pxDoesHandleExist() in the Utilities library to determine whether a specific instance exists in the database. The pxDoesHandleExist function accepts as a single parameter, a text value containing the candidate handle, and returns true or false. The clipboard is unchanged. The function execution is faster than using an activity as described below.

Alternatively, you can create an activity that uses the Obj-Open method and tests whether the instance was found.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us