while in workflow
i Want to send jabber notif to all Assignees
while (Assignee[i] != null || i < 5) {
Assignee[i].sendJabber("Issue" + getId() + "closed");
i = i + 1;
}
Why a have an error Can't call method [sendJabber] on null object?
How to get count Assignee?
while (Assignee[i] != null || i < 5) {
Assignee[i].sendJabber("Issue" + getId() + "closed");
i = i + 1;
}
Why a have an error Can't call method [sendJabber] on null object?
How to get count Assignee?
Please sign in to leave a comment.
var i = 0; for each assignee in Assignees { if (i < 5) { assignee.sendJabber(""); } i = i + 1; }Unfortunately you cannot iterate collection as arrays, but only by for-each.
Why if i < 0?
And can i get a username, who is updated issue?
And can i get a username, who is updated issue?
loggedInUser.login