Skip to main content

PageRef aus ScheduleContext

Comments

1 comment

  • Zendesk API User
    Author: ceggert - 4/12/2013 10:34

    Antwort schon gefunden:

    Es funktioniert wenn man sich vorher den GenerationTask holt (hier ein Beanshell Beispiel):

    gcTask;

    tasks = context.getTasks();

    for(task : tasks) {

           if(task instanceof GenerateTask) {

                gcTask = task;

                break;

           }

    }

    if(task != null) {

        context.logInfo("task: " + task.getClass());

        startNodes = task.getStartNodes();

        for(startNode : startNodes) {

              context.logInfo("StartNode: " + startNode.getClass());  

        }

    }

    viele Grüße,

    Christopher Eggert

    0

Please sign in to leave a comment.