Skip to content

Instantly share code, notes, and snippets.

@tijsrademakers
Last active December 20, 2016 16:23
public class IntroTask implements JavaDelegate {
public void execute(DelegateExecution execution) {
if (execution.hasVariable("intro")) {
System.out.println("Intro variable available with value " + execution.getVariable("intro"));
execution.setVariable("variablePresent", true);
} else {
System.out.println("Intro variable not available");
execution.setVariable("variablePresent", false);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment