private boolean checkS7TriggerVariable(){

        List<Object> acquiredValuesList = new ArrayList<>();
        for(TriggerConfiguration.TriggerElement triggerElement:triggerConfiguration.getTriggerElementList()){
            try {
                Object result = triggerCollector.requestResult(triggerElement.getUuid());
                if(result==null){
                    return false;
                }
                acquiredValuesList.add(result);
            } catch (ScraperException e) {
                LOGGER.warn("Went wrong",e);
            }
        }

        //check if trigger condition from TriggerConfiguration is fulfilled
        boolean trigger = false;
        try {
            trigger = triggerConfiguration.evaluateTrigger(acquiredValuesList);
        } catch (ScraperException e) {
            LOGGER.warn("Could not evaluate trigger");
        }

        //only trigger scraping of data on rising edge of trigger
        if(trigger && !this.lastTriggerState){
            this.lastTriggerState = true;
            return true;
        }
        else{
            this.lastTriggerState = trigger;
            return false;
        }

    }
acquires the given S7Tag from S7 and evaluates if trigger is released
@return true if rising-edge of trigger is detected, false otherwise
plc4j/tools/scraper/src/main/java/org/apache/plc4x/java/scraper/triggeredscraper/triggerhandler/TriggerHandlerImpl.java