Question
CI
IN
Last activity: 3 Jan 2023 8:10 EST
I used one property for error message it's shows number also
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.
-
Reply
-
Susmita Deb -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 3 Jan 2023 8:10 EST
Oligos
FR
@kirtiyou 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,"<your property name>"), if true :
1.1 do property-remove (add property that hold the value 10934,5)
1.2 property-set: Param.setMessage = @pxAddMessageToProperty(your Message,"<property name>") or property set message. if the when above is false , you do jump to later step.
JPMC
IN
@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.
Updated: 3 Jan 2023 6:10 EST
Oligos
FR
@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?
Updated: 3 Jan 2023 8:11 EST
CI
IN
i need to delete 10934.5 above error message.
Updated: 3 Jan 2023 7:13 EST
Oligos
FR
@kirtiif you are using an activity as you mentionned above, you can add step below property-set-message and you add when rule "hasMessagesOnProperty(Primary,"<your property name>"), 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)
CI
IN
@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
Accepted Solution
Updated: 3 Jan 2023 8:10 EST
Oligos
FR
@kirtiyou 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,"<your property name>"), if true :
1.1 do property-remove (add property that hold the value 10934,5)
1.2 property-set: Param.setMessage = @pxAddMessageToProperty(your Message,"<property name>") or property set message. if the when above is false , you do jump to later step.