My requirement is I have created response properties in int class, Now I need to set validation on those properties and need to call in the flow action of Work class. I am not able to set the validation condition in the work class FA. Please guide me on this.
My flow is in work class, I need to set validation based on response properties which are in Int class.
***Edited by Moderator: Pallavi to update platform capability tags***
You can perform the validation of the response properties of the Service by configuring the post processing / pre-processing activity in the flow action which is there in the work class according to your condition and use the obj-validate method in that activity. You can also configure the validate rule in the validation tab of flow action.
In the validate rule, you can add the clipboard page along with the class of the response properties and do the validation. If the validation fails it throws the error message at run-time. PFB screenshots for reference.