Skip to content

Commit

Permalink
fix testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
yusu committed Feb 6, 2024
1 parent 460862f commit e96a052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void generateCode(CodeTargetSupport codeTargetSupport) {
codeTargetSupport.addBodyLine("_spContext.put(\"" + param.getName() + "\", " + var + ");");
}

String noReturnCode = "ProcessEngineFactory.getProcessEngine().start(\"" + getSubBpmCode()
String noReturnCode = "ProcessEngineFactory.getProcessEngine().execute(\"" + getSubBpmCode()
+ "\", _spContext)";

if (returnVar != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected void doGenerateSubBpmMethodCode(CodeTargetSupport codeTargetSupport) {
codeTargetSupport.addBodyLine("_spContext.put(\"" + param.getName() + "\", " + var + ");");
}

String noReturnCode = "ProcessEngineFactory.getProcessEngine().start(\""
String noReturnCode = "ProcessEngineFactory.getProcessEngine().execute(\""
+ flowNode.getSubBpmCode() + "\", _spContext)";

if (returnVar != null) {
Expand Down

0 comments on commit e96a052

Please sign in to comment.