diff options
Diffstat (limited to 'examples/examples-decisionmaker/src/main/resources/policy/DecisionMakerPolicyModel.apex')
-rw-r--r-- | examples/examples-decisionmaker/src/main/resources/policy/DecisionMakerPolicyModel.apex | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/examples/examples-decisionmaker/src/main/resources/policy/DecisionMakerPolicyModel.apex b/examples/examples-decisionmaker/src/main/resources/policy/DecisionMakerPolicyModel.apex index 295afa159..672ff894f 100644 --- a/examples/examples-decisionmaker/src/main/resources/policy/DecisionMakerPolicyModel.apex +++ b/examples/examples-decisionmaker/src/main/resources/policy/DecisionMakerPolicyModel.apex @@ -113,18 +113,18 @@ task logic create name=DitheringAnswerTask logicFlavour=JAVASCRIPT logic=LS #MACROFILE:"src/main/resources/logic/DitheringAnswerTask.js" LE -#task create name=RoundRobinAnswerTask -# -#task inputfield create name=RoundRobinAnswerTask fieldName=mode schemaName=SimpleStringType -# -#task outputfield create name=RoundRobinAnswerTask fieldName=decision schemaName=SimpleStringType -# -#task contextref create name=RoundRobinAnswerTask albumName=AnswerAlbum -#task contextref create name=RoundRobinAnswerTask albumName=LastAnswerAlbum -# -#task logic create name=RoundRobinAnswerTask logicFlavour=JAVASCRIPT logic=LS -##MACROFILE:"src/main/resources/logic/RoundRobinAnswerTask.js" -#LE +task create name=RoundRobinAnswerTask + +task inputfield create name=RoundRobinAnswerTask fieldName=mode schemaName=SimpleStringType + +task outputfield create name=RoundRobinAnswerTask fieldName=decision schemaName=SimpleStringType + +task contextref create name=RoundRobinAnswerTask albumName=AnswerAlbum +task contextref create name=RoundRobinAnswerTask albumName=LastAnswerAlbum + +task logic create name=RoundRobinAnswerTask logicFlavour=JAVASCRIPT logic=LS +#MACROFILE:"src/main/resources/logic/RoundRobinAnswerTask.js" +LE policy create name=AnswerInitPolicy template=freestyle firstState=AnswerInitState @@ -140,7 +140,7 @@ policy state taskref create name=DecisionMakerPolicy stateName=MakeDecisionState policy state taskref create name=DecisionMakerPolicy stateName=MakeDecisionState taskName=PessimisticAnswerTask outputType=DIRECT outputName=DecisionFinalOutput policy state taskref create name=DecisionMakerPolicy stateName=MakeDecisionState taskName=OptimisticAnswerTask outputType=DIRECT outputName=DecisionFinalOutput policy state taskref create name=DecisionMakerPolicy stateName=MakeDecisionState taskName=DitheringAnswerTask outputType=DIRECT outputName=DecisionFinalOutput -#policy state taskref create name=DecisionMakerPolicy stateName=MakeDecisionState taskName=RoundRobinAnswerTask outputType=DIRECT outputName=DecisionFinalOutput +policy state taskref create name=DecisionMakerPolicy stateName=MakeDecisionState taskName=RoundRobinAnswerTask outputType=DIRECT outputName=DecisionFinalOutput policy state selecttasklogic create name=DecisionMakerPolicy stateName=MakeDecisionState logicFlavour=JAVASCRIPT logic=LS #MACROFILE:"src/main/resources/logic/MakeDecisionStateTSL.js" |