Clear Cache on Transition screens (ScriptRunner)

KL Kumar November 24, 2020

Hello,

I have few fields made required on my specific transition screen using ScriptRunner Behavior.

 getFieldById(fieldId).setRequired(true)

It makes the field mandatory and throws the validation error message as expected. But  some times, these error messages on these fields are remembered/cached and throws error message for the same fields in different transitions. 

Is there a way to remove the cached error messages on the transition screens using some script? I need to use it in my plugin and it should take care of clearing cache without any manual intervention.

 

Appreciate your help!

0 answers

Suggest an answer

Log in or Sign up to answer