when condition When @(Pega-RULES:String).equalsIgnoreCase(pyWorkPage.CreateInvoiceRequest.Member.MemberID,exemptedlist.pxResults().INSNO) if true Jump to later step true param is Flage if false exit irritation .
Step 3
Flage property-set
.Taxexemption ==“true”
But here exelist Values is Company ID and Company Name, this list value and pyworkpage Value is matching that error message will be display in front end
@SrinidhiM Actually , If company Number is exempted list, we don’t perform calculation. I used one button for that it’s enable at that time only. and another is Company number is on List error message also display.
But here company Number is not exempted list also that button is enable and we can’t see the error message .
i am used activity in flow action pre-processing .
Meanwhile can you try this alternate method since you are setting the property in pyWorkPage, instead of lopping and checking for when you can check using isinpagelistwhen function and set the property ?
In your step 2 property-set use this when rule “IsInPageList(pyWorkPage.CreateInvoiceRequest.Member.MemberID,“INSNO”,exemptedlist.pxResults)” and do not loop and set the property taxexemption to true if this when is true
and one more question where are you setting the error message is there any page set message or validate on your post activity. Where is this activity called?
@kirti Can you explain more about the requirement? should you display the error message on submit of the screen? If yes then why are you adding the message in preprocessing?