String interactionIdToLaunch = null; for (Invocation invocation : invocations) { FieldManager fieldManager = new FieldManager(getContext(), getConversation().getVersionHistory(), getConversation().getEventData(), getConversation().getPerson(), getConversation().getDevice(), getConversation().getAppRelease()); if (invocation.isCriteriaMet(fieldManager, false)) { // TODO: should we print details here as well? interactionIdToLaunch = invocation.getInteractionId();