# I used one property for error message it's shows number also

**URL:** <https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723>\
**Category:** Blueprint and App Design\
**Tags:** low-code-app-development, 8-3-4, system-administration\
**Created:** [January 3, 2023, 4:34am UTC](https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723 "2023-01-03T04:34:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirti](https://avatars.discourse-cdn.com/v4/letter/k/ecccb3/32.png) [@kirti](https://forums.pega.com/u/kirti)\
**Post date:** [January 3, 2023, 4:34am UTC](https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723/1 "2023-01-03T04:34:28Z")

</div>

Hi guys,

Actually, i need put validation condition one of the propery, i used property- set -message.

In Ui also i will put same property. but here the issue is that property holding some value so error message including the number also coming .i Don’t want to get that number.

Please help me.

 ![Please find the attachment.png](https://pega1.discourse-cdn.com/pega/original/3X/f/7/f79ab8734b32f528fee82f0e0975897ba001edd0.png)

---

<div class="post-metadata">

**Author:** ![BhanuPrakash\_G](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@BhanuPrakash\_G](https://forums.pega.com/u/BhanuPrakash_G)\
**Post date:** [January 3, 2023, 9:48am UTC](https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723/2 "2023-01-03T09:48:46Z")

</div>

@kirti Since you used property-set-message and property is present on UI the error appears under it. If you are expecting the message to appear at the top of the page then you can make use of page-set-messages.

---

<div class="post-metadata">

**Author:** ![D.Jihed](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@D.Jihed](https://forums.pega.com/u/D.Jihed)\
**Post date:** [January 3, 2023, 10:56am UTC](https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723/3 "2023-01-03T10:56:44Z")

</div>

@kirti as I see, the number is not displayed in your error message. did you expect to delete the value “1000” once there is error message on property or what exactly?

---

<div class="post-metadata">

**Author:** ![VenkataBhargavN](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@VenkataBhargavN](https://forums.pega.com/u/VenkataBhargavN)\
**Post date:** [January 3, 2023, 11:01am UTC](https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723/4 "2023-01-03T11:01:03Z")

</div>

Hi @kirti,

Your are displaying the Value of that property in UI. It is not part of the Error Message.

---

<div class="post-metadata">

**Author:** ![D.Jihed](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@D.Jihed](https://forums.pega.com/u/D.Jihed)\
**Post date:** [January 3, 2023, 12:10pm UTC](https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723/5 "2023-01-03T12:10:30Z")

</div>

@kirti if you are using an activity as you mentionned above, you can add step below property-set-message and you add when rule “hasMessagesOnProperty(Primary,”"), if true, you can do property-remove (add property that hold the value 10934,5), if false, skip step. (Add refresh section after removing property)

---

<div class="post-metadata">

**Author:** ![kirti](https://avatars.discourse-cdn.com/v4/letter/k/ecccb3/32.png) [@kirti](https://forums.pega.com/u/kirti)\
**Post date:** [January 3, 2023, 12:26pm UTC](https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723/6 "2023-01-03T12:26:45Z")

</div>

@D.Jihed That activity i used on flow action post processing, I added above mentioned steps also, but now it’s deleted message also, but i need delete the value only .

Please help me

---

<div class="post-metadata">

**Author:** ![kirti](https://avatars.discourse-cdn.com/v4/letter/k/ecccb3/32.png) [@kirti](https://forums.pega.com/u/kirti)\
**Post date:** [January 3, 2023, 12:01pm UTC](https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723/7 "2023-01-03T12:01:48Z")

</div>

i need to delete 10934.5 above error message.

---

<div class="post-metadata">

**Author:** ![D.Jihed](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@D.Jihed](https://forums.pega.com/u/D.Jihed)\
**Post date:** [January 3, 2023, 12:37pm UTC](https://forums.pega.com/t/i-used-one-property-for-error-message-its-shows-number-also/3723/8 "2023-01-03T12:37:29Z")

</div>

@kirti you can reset the message after removing the property and instead of doing skip step you do jump to later step if there is no error on message.  
1- add when rule “hasMessagesOnProperty(Primary,”"), if true :

1.1 do property-remove (add property that hold the value 10934,5)

1.2 property-set: Param.setMessage = @pxAddMessageToProperty(your Message,“”) or property set message.  
if the when above is false , you do jump to later step.
