Table of Contents

Determining if a handle exists


Only available versions of this content are shown in the dropdown

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.

Did you find this content helpful?

Have a question? Get answers now.

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