when pyWorkPage has error message ,i want to restrict datatranform.

when pyWorkPage has error message,i want to restrict datatranform. Please help me with when rule.

@RaghavN2

you can add the when condition with the function call @hasMessages(PageName) in the data-transform.

@PraveenSiva Thank you