Connection between three batch nodes

Hi guys,

first of all my name is Sergi Trilles, I’m a phd in a public university in Spain (UJI) and I’m starting to learn influx/kapacitor for a research project.

I have a question/problem. I want to create an alert based on the result of two diferent batch node. In total I have three batch node.

Batch A -> calculate a mean1 between two periods
Batch B -> calculate a mean2 between two periods

Batch C-> launch a query using mean1 and mean2 to calculate other operation. ( I can not apply a join)

I don’t know if it possible to encode using Nodes or a have to define a UDF.

Please could you provide some light in this issue?