Kannan Manickam (KannanM3)
Idexx Laboratories

Idexx Laboratories
KannanM3 Member since 2019 19 posts
Idexx Laboratories
Posted: December 12, 2019
Last activity: May 6, 2020
Posted: 12 Dec 2019 14:16 EST
Last activity: 6 May 2020 20:56 EDT

Reset or clear error message in activity while calling a Service REST

I have an activity where I check for certain fields using Property-Validate and set the error message. I check for 2 fields by selecting the "Required" checkbox. Later I capture these error message using @getMessagesAll(Primary) and set it on the Response back to the REST service caller.

1. When I send a request without 1 field I get error message that both fields are required eventhough the 2nd field is there in the json.

2. When I send a 2nd request with all fields, I still get the same error message eventhough all 2 fields are there in the json.

How can I reset or clear this error messages before this step is called?

Low-Code App Development Data Integration Java and Activities
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.