Custom node with multiple In and Out execs

I want to create a blueprint node that has more than one Input and Output exec pins. I know how to create a branch using ExpandEnumAsExecs but I can’t for the life of me figure out how to do that multiple times. I’ve tried:

ExpandEnumAsExecs = “InBranches, OutBranches”

ExpandEnumAsExecs = “InBranches|OutBranches”

ExpandEnumAsExecs = “InBranches”, ExpandEnumAsExecs = “OutBranches”

No luck so far, any ideas?

You can’t. One or the other, input or output, not both:

From the preprocess:

Direction = bIsFunctionInput ? EGPD_Input : EGPD_Output;

If you’re working from source, you can try to make it work yourself. The code is in the file: K2Node_CallFunction.cpp, function CreateExecPinsForFunctionCall.

ExpandEnumAsExecsについて - Programming & Scripting / C++ - Epic Developer Community Forums (unrealengine.com)