How to check if a property exists in Pega Database

I want to execute a step if a Property is created in Pega (not exposed) , I am looking for if there is any function or any way to check this?

Hi @ANITAK17,

if you want to conditionally execute a step when a property is created (but not exposed), you have a few options depending on what you mean by “created” — whether it means initialized for the first time, set to a value, or present on the clipboard.

When: @PropertyExists(.MyProperty)
Then: Set .AnotherProperty = “Property was created”

Regards,

Mohd Qizer Uddin

@ANITAK17

You can use below function to verify if a property is present on a page(even if not initialised).

@PropertyExists(.PropertyName)

there is another function- Utilities • isDBColumn() which would check for a DB column and verifies if a created property has a corresponding column or not in DB.

@ANITAK17

Did you mean whether a property rule has been created with the given name and applies to any class?