アクションフローBugFix
This commit is contained in:
@@ -328,7 +328,7 @@ export class ConditionTree {
|
||||
}
|
||||
if(object.objectType==='field'){
|
||||
const fieldValue = context.record[object.code];
|
||||
if(fieldValue.type==='NUMBER'){
|
||||
if(fieldValue.type==='NUMBER' && fieldValue.value!==undefined){
|
||||
return Number(fieldValue.value);
|
||||
}else{
|
||||
return fieldValue.value;
|
||||
|
||||
@@ -38,7 +38,11 @@ export class ActionProcess{
|
||||
if(action!==undefined){
|
||||
result = await action.process(nextAction,this.event,this.context);
|
||||
}
|
||||
const nextInput = nextAction.outputPoints!==undefined?result.result||'':'';
|
||||
let nextInput = '';
|
||||
//outputPoints一つ以上の場合、次のInputPointは戻り値を設定する
|
||||
if(nextAction.outputPoints && nextAction.outputPoints.length>1){
|
||||
nextInput = result.result||'';
|
||||
}
|
||||
id=nextAction.nextNodeIds.get(nextInput);
|
||||
if(id===undefined) return;
|
||||
nextAction = this.flow.findNodeById(id);
|
||||
|
||||
Reference in New Issue
Block a user