orchestrator
2024.10
true
Orchestrator API 指南
Last updated 2024年11月11日
任务表单请求
需要将当前用户分配给该任务,否则无法执行操作。
发布
https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/forms/TaskForms/CompleteTask
{
"taskId": 195,
"data": {name: "dada", password: "dada", submit: true},
"action": "submit"
}
{
"taskId": 195,
"data": {name: "dada", password: "dada", submit: true},
"action": "submit"
}
根据
taskId
检索任务表单。 请求中必须包含 taskId
。
获取
https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/forms/TaskForms/GetTaskFormById?taskId=90
{
"formLayout": {
"components": [
{
"numRows": 2,
"numCols": 6,
"type": "table",
"mask": false,
"customClass": "uipath-button-container",
"tableView": true,
"alwaysEnabled": false,
"input": false,
"key": "key",
"label": "label",
"rows": [
[
{
"components": [
{
"label": "Name",
"showWordCount": false,
"showCharCount": false,
"alwaysEnabled": false,
"type": "textfield",
"input": true,
"key": "name",
"defaultValue": "",
"tableView": true,
"validate": {
"customMessage": ""
},
"conditional": {
"show": "",
"when": ""
},
"reorder": false
}
]
},
{
"components": []
},
{
"components": []
},
{
"components": []
},
{
"components": []
},
{
"components": []
}
],
[
{
"components": [
{
"label": "Password",
"showWordCount": false,
"showCharCount": false,
"alwaysEnabled": false,
"type": "password",
"input": true,
"key": "password",
"defaultValue": "",
"protected": true,
"tableView": false,
"validate": {
"customMessage": ""
},
"conditional": {
"show": "",
"when": ""
},
"reorder": false
}
]
},
{
"components": []
},
{
"components": []
},
{
"components": []
},
{
"components": []
},
{
"components": []
}
]
],
"header": [],
"customConditional": "",
"logic": [],
"conditional": {
"show": "",
"when": ""
},
"reorder": false
},
{
"type": "button",
"label": "Submit",
"key": "submit",
"disableOnInvalid": true,
"theme": "primary",
"input": true,
"alwaysEnabled": false,
"tableView": true
}
]
},
"actionLabel": "Submit",
"assignedToUserId": 52454,
"assignedToUser": {
"name": "",
"surname": "",
"userName": "admin",
"emailAddress": "",
"id": 52454
},
"status": 2,
"data": {
"name": "admin",
"password": "hardtocrackpassword@1264564&"
},
"action": "submit",
"externalTag": null,
"id": 90
}
{
"formLayout": {
"components": [
{
"numRows": 2,
"numCols": 6,
"type": "table",
"mask": false,
"customClass": "uipath-button-container",
"tableView": true,
"alwaysEnabled": false,
"input": false,
"key": "key",
"label": "label",
"rows": [
[
{
"components": [
{
"label": "Name",
"showWordCount": false,
"showCharCount": false,
"alwaysEnabled": false,
"type": "textfield",
"input": true,
"key": "name",
"defaultValue": "",
"tableView": true,
"validate": {
"customMessage": ""
},
"conditional": {
"show": "",
"when": ""
},
"reorder": false
}
]
},
{
"components": []
},
{
"components": []
},
{
"components": []
},
{
"components": []
},
{
"components": []
}
],
[
{
"components": [
{
"label": "Password",
"showWordCount": false,
"showCharCount": false,
"alwaysEnabled": false,
"type": "password",
"input": true,
"key": "password",
"defaultValue": "",
"protected": true,
"tableView": false,
"validate": {
"customMessage": ""
},
"conditional": {
"show": "",
"when": ""
},
"reorder": false
}
]
},
{
"components": []
},
{
"components": []
},
{
"components": []
},
{
"components": []
},
{
"components": []
}
]
],
"header": [],
"customConditional": "",
"logic": [],
"conditional": {
"show": "",
"when": ""
},
"reorder": false
},
{
"type": "button",
"label": "Submit",
"key": "submit",
"disableOnInvalid": true,
"theme": "primary",
"input": true,
"alwaysEnabled": false,
"tableView": true
}
]
},
"actionLabel": "Submit",
"assignedToUserId": 52454,
"assignedToUser": {
"name": "",
"surname": "",
"userName": "admin",
"emailAddress": "",
"id": 52454
},
"status": 2,
"data": {
"name": "admin",
"password": "hardtocrackpassword@1264564&"
},
"action": "submit",
"externalTag": null,
"id": 90
}