如何在 Qlik Sense 中创建一个任务作为触发成功的任务
How to create a task with as trigger a successful task in Qlik Sense
嗨,我正在尝试创建一个任务,该任务带有一个在成功任务时启动的触发器,该任务和触发器似乎是正确的,但是当父任务结束时没有启动新任务的触发器时,我遵循我在文档中找到的脚本 https://help.qlik.com/en-US/sense-developer/April2020/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Reload-Task-Create.htm 这是我的代码:
{
"task":{
"app": {
"id": "d7f0f4f2-1705-4ac2-9043-fc5e2710e634"
},
"name": "Reload test",
"isManuallyTriggered": false,
"taskType": 0,
"enabled": true,
"taskSessionTimeout": 1440,
"maxRetries": 0,
"schemaPath": "ReloadTask"
},
"compositeEvents": [ {
"timeConstraint": {
"days": 0,
"hours": 0,
"minutes": 360,
"seconds": 0
},
"compositeRules": [
{
"reloadTask": {
"id": "e878a7f1-18ef-47fe-aab7-f02ae3bf585b"
},
"ruleState": 1
}
],
"name":"EventTrigger",
"eventType": 1,
"enabled": true
}]
}
知道问题出在哪里吗?我从邮递员那里收到 201,在 Qlik 中似乎一切正常,但无法正常工作。谢谢
感谢这是 Qlik Sense 问题的发布版本
嗨,我正在尝试创建一个任务,该任务带有一个在成功任务时启动的触发器,该任务和触发器似乎是正确的,但是当父任务结束时没有启动新任务的触发器时,我遵循我在文档中找到的脚本 https://help.qlik.com/en-US/sense-developer/April2020/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Reload-Task-Create.htm 这是我的代码:
{
"task":{
"app": {
"id": "d7f0f4f2-1705-4ac2-9043-fc5e2710e634"
},
"name": "Reload test",
"isManuallyTriggered": false,
"taskType": 0,
"enabled": true,
"taskSessionTimeout": 1440,
"maxRetries": 0,
"schemaPath": "ReloadTask"
},
"compositeEvents": [ {
"timeConstraint": {
"days": 0,
"hours": 0,
"minutes": 360,
"seconds": 0
},
"compositeRules": [
{
"reloadTask": {
"id": "e878a7f1-18ef-47fe-aab7-f02ae3bf585b"
},
"ruleState": 1
}
],
"name":"EventTrigger",
"eventType": 1,
"enabled": true
}]
}
知道问题出在哪里吗?我从邮递员那里收到 201,在 Qlik 中似乎一切正常,但无法正常工作。谢谢
感谢这是 Qlik Sense 问题的发布版本