【发布时间】:2019-05-14 06:07:06
【问题描述】:
非常简单的问题。我正在尝试建立一个具有 bool 类型变量的管道。一旦我添加它,管道就会失败:
{
"code":"BadRequest",
"message":"Invalid value for property 'type'",
"target":"pipeline/pipeline2/runid/66b9c7be-9894-494a-abd9-34fd92bbd972",
"details":null,
"error":null
}
带有字符串变量和等待活动成功的简单管道。
{
"name": "pipeline2",
"properties": {
"activities": [
{
"name": "Wait1",
"type": "Wait",
"typeProperties": {
"waitTimeInSeconds": 1
}
}
],
"variables": {
"Test": {
"type": "String",
"defaultValue": "\"Hello\""
}
}
}
}
当我添加一个 bool 而没有其他内容时,它无法调试。
{
"name": "pipeline2",
"properties": {
"activities": [
{
"name": "Wait1",
"type": "Wait",
"typeProperties": {
"waitTimeInSeconds": 1
}
}
],
"variables": {
"Test": {
"type": "String",
"defaultValue": "\"Hello\""
},
"TestBool": {
"type": "Bool",
"defaultValue": false
}
}
}
}
任何线索如何让它工作?我正在尝试将此变量用作直到循环的条件。
非常感谢。
【问题讨论】: