argument descriptions are not dynamic
The following guideline (when run in 0.7.1) has a dynamic description for the task and the arguments. If you enact the task and enter an age then task description expression is evaluated but the argument description expressions are not.
{
"class": "Decision",
"name": "decision",
"caption": "Decision",
"description": "Subject is ${is_known('age') ? age : 'unknown'} years old.",
"meta": {
"svg": {
"width": 400,
"height": 200
},
"pos": {
"x": 190,
"y": 100
}
},
"dataDefinitions": [
{
"class": "Integer",
"name": "age",
"caption": "Age"
}
],
"candidates": [
{
"class": "Candidate",
"recommendCondition": "net_support('allowed')>0",
"name": "allowed",
"caption": "Allowed",
"arguments": [
{
"class": "Argument",
"caption": "Must be eighteen or over",
"description": "Subject is ${age} years old",
"support": 1,
"activeCondition": "age>=18"
}
]
},
{
"class": "Candidate",
"recommendCondition": "net_support('disallowed')>0",
"name": "disallowed",
"caption": "Disallowed",
"arguments": [
{
"class": "Argument",
"caption": "Must be eighteen or over",
"description": "Subject is ${age} years old",
"support": 1,
"activeCondition": "age<18"
}
]
}
]
}