In the code above we simply wrap an IEnumerator method (CoroutineTest.TestCoroutine) in a FlowCanvas Latent Action Node and have the Invoke method of that node simply ‘yield return’ the started Coroutine from the IEnumerator method.
Let me know if something like the above works for you.
As I understood returning function as is from the LatentActionNode also works as expected – no need to StartCoroutine():
[Description(“Show a dialogue and wait till it end.”)]
public class ShowDialogue : LatentActionNode
public override IEnumerator Invoke(string dialogue)
public override bool allowRoutineQueueing => false;