When I use the Regular Expression Check (JSU) validator I can set an error message.According tohttps://community.atlassian.com/t5/Jira-questions/Why-does-the-validator-not-show-the-error-message-on-Field/qaq-p/1376065
you can show a message when in the validator with in ScriptRunner
throw new InvalidInputException("message")
How do I do that in a SIL script?
How do I do this when validating fields in SIL script?
In sil you would do it like so :
false, "fieldName", "Error message;return
false
,
"fieldName"
"Error message
;
For more info : <a href="https://confluence.cprime.io/display/JJUPIN/Customizing+workflows#Customizingworkflows-Forvalidators" rel="noopener nofollow noreferrer" target="_blank">Customizing Workflows with SIL</a>
It looks like you're new here. Sign in or register to get started.