workflow editor issue with emails.split


As per this blog,

We are trying to update the workflow jetbrains-youtrack-notifyMultipleUnregisteredUsers

But the additional code isn't accepted.

var reporterEmail = Last message related emails.split(
" ",preserveAllTokens).first
sendMail(reporterEmail, “Your subject”, “Your email body”)

The emails.split part fails in the editor. It's odd as the emails.split is used in the workflow higher up and it's ok, it's just when entering in new code.

Thanks in advance for any help.


Please sign in to leave a comment.