Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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