执行执行和SpringBoot的执行方式一样,没有任何区别 @Componentpublic class MainTest{ @Resource private FlowExecutor flowExecutor; @Test public void testConfig(){ LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "arg"); }}