Implemented trigger logic to create correct fulfillment plans
Implemented ui macro for trigger table field fulfillment plan Implemented quick actions for Task table Updated admin settings to introduce quick settings.
This commit is contained in:
@ -19,12 +19,6 @@
|
||||
<type>string</type>
|
||||
<value>{
|
||||
"display": "form",
|
||||
"settings": {
|
||||
"pdf": {
|
||||
"id": "1ec0f8ee-6685-5d98-a847-26f67b67d6f0",
|
||||
"src": "https://files.form.io/pdf/5692b91fd1028f01000407e3/file/1ec0f8ee-6685-5d98-a847-26f67b67d6f0"
|
||||
}
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"title": "Main details",
|
||||
@ -96,7 +90,7 @@
|
||||
"title": "General",
|
||||
"theme": "primary",
|
||||
"collapsible": false,
|
||||
"key": "general",
|
||||
"key": "generalAdministration",
|
||||
"type": "panel",
|
||||
"label": "Panel",
|
||||
"input": false,
|
||||
@ -105,7 +99,7 @@
|
||||
{
|
||||
"label": "General",
|
||||
"tableView": false,
|
||||
"key": "general1",
|
||||
"key": "general",
|
||||
"type": "container",
|
||||
"input": true,
|
||||
"components": [
|
||||
@ -153,7 +147,7 @@
|
||||
},
|
||||
{
|
||||
"label": "Log Administration",
|
||||
"key": "log_administration",
|
||||
"key": "logAdministration",
|
||||
"components": [
|
||||
{
|
||||
"title": "Log Administration",
|
||||
@ -267,9 +261,283 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Quick Actions",
|
||||
"key": "quickActionsAdministration",
|
||||
"components": [
|
||||
{
|
||||
"title": "Quick Actions",
|
||||
"theme": "primary",
|
||||
"collapsible": false,
|
||||
"key": "quickActionsPanel",
|
||||
"type": "panel",
|
||||
"label": "Panel",
|
||||
"input": false,
|
||||
"tableView": false,
|
||||
"components": [
|
||||
{
|
||||
"label": "Quick Actions",
|
||||
"tableView": false,
|
||||
"key": "quickActions",
|
||||
"type": "container",
|
||||
"input": true,
|
||||
"components": [
|
||||
{
|
||||
"label": "Add UI Action button to Task tables",
|
||||
"tableView": false,
|
||||
"defaultValue": false,
|
||||
"key": "taskUiAction",
|
||||
"type": "checkbox",
|
||||
"input": true
|
||||
},
|
||||
{
|
||||
"label": "Task",
|
||||
"tableView": false,
|
||||
"key": "task",
|
||||
"type": "container",
|
||||
"input": true,
|
||||
"components": [
|
||||
{
|
||||
"title": "Task Action Buttons",
|
||||
"theme": "info",
|
||||
"collapsible": false,
|
||||
"key": "taskActionButtons",
|
||||
"conditional": {
|
||||
"show": true,
|
||||
"when": "quickActions.taskUiAction",
|
||||
"eq": "true"
|
||||
},
|
||||
"type": "panel",
|
||||
"label": "Panel",
|
||||
"input": false,
|
||||
"tableView": false,
|
||||
"components": [
|
||||
{
|
||||
"label": "Columns",
|
||||
"columns": [
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "All Task Tables",
|
||||
"tableView": false,
|
||||
"key": "allTaskTables",
|
||||
"type": "checkbox",
|
||||
"input": true,
|
||||
"defaultValue": false
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
},
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "Inherit on Task extended tables",
|
||||
"tooltip": "Show UI Action button on selected tables AND extended tables.",
|
||||
"tableView": false,
|
||||
"defaultValue": false,
|
||||
"key": "inheritOnTaskExtendedTables",
|
||||
"conditional": {
|
||||
"show": true,
|
||||
"when": "quickActions.task.allTaskTables",
|
||||
"eq": "false"
|
||||
},
|
||||
"type": "checkbox",
|
||||
"input": true
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
}
|
||||
],
|
||||
"key": "columns1",
|
||||
"type": "columns",
|
||||
"input": false,
|
||||
"tableView": false
|
||||
},
|
||||
{
|
||||
"label": "Task Related Tables",
|
||||
"widget": "choicesjs",
|
||||
"tableView": true,
|
||||
"multiple": true,
|
||||
"dataSrc": "url",
|
||||
"data": {
|
||||
"url": "/api/x_355681_fa/fulfillment_automater/extended-tables/task",
|
||||
"headers": [
|
||||
{
|
||||
"key": "",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"idPath": "name",
|
||||
"valueProperty": "name",
|
||||
"validate": {
|
||||
"required": true
|
||||
},
|
||||
"key": "taskRelatedTables",
|
||||
"conditional": {
|
||||
"show": true,
|
||||
"when": "quickActions.task.allTaskTables",
|
||||
"eq": "false"
|
||||
},
|
||||
"type": "select",
|
||||
"selectValues": "result",
|
||||
"disableLimit": false,
|
||||
"input": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Add UI Action button to Service Catalog tables",
|
||||
"tableView": false,
|
||||
"defaultValue": false,
|
||||
"key": "serviceCatalogUiAction",
|
||||
"type": "checkbox",
|
||||
"input": true
|
||||
},
|
||||
{
|
||||
"label": "Service Catalog",
|
||||
"tableView": false,
|
||||
"key": "serviceCatalog",
|
||||
"type": "container",
|
||||
"input": true,
|
||||
"components": [
|
||||
{
|
||||
"title": "Service Catalog Action Buttons",
|
||||
"theme": "info",
|
||||
"collapsible": false,
|
||||
"key": "serviceCatalogActionButtons1",
|
||||
"conditional": {
|
||||
"show": true,
|
||||
"when": "quickActions.serviceCatalogUiAction",
|
||||
"eq": "true"
|
||||
},
|
||||
"type": "panel",
|
||||
"label": "Panel",
|
||||
"input": false,
|
||||
"tableView": false,
|
||||
"components": [
|
||||
{
|
||||
"label": "Advanced Warning",
|
||||
"attrs": [
|
||||
{
|
||||
"attr": "",
|
||||
"value": ""
|
||||
}
|
||||
],
|
||||
"content": "<div class=\"alert alert-info\" role=\"alert\">\n <h4>Important</h4>\n <p>\n Due to the way ServiceNow configured the table 'sc_cat_item', you need to create the UI Action yourself.\n </p>\n <p>\n Instruction on how to do this can be found <a href='#'>here.</a>\n </p>\n</div>",
|
||||
"refreshOnChange": false,
|
||||
"key": "advancedWarning",
|
||||
"type": "htmlelement",
|
||||
"input": false,
|
||||
"tableView": false
|
||||
},
|
||||
{
|
||||
"label": "Columns",
|
||||
"columns": [
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "All Service Catalog Tables",
|
||||
"tableView": false,
|
||||
"defaultValue": false,
|
||||
"key": "allServiceCatalogTables",
|
||||
"type": "checkbox",
|
||||
"input": true
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
},
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "Inherit on Service Catalog extended tables",
|
||||
"tooltip": "Show UI Action button on selected tables AND extended tables.",
|
||||
"tableView": false,
|
||||
"defaultValue": false,
|
||||
"key": "inheritOnServiceCatalogExtendedTables",
|
||||
"conditional": {
|
||||
"show": true,
|
||||
"when": "quickActions.serviceCatalog.allServiceCatalogTables",
|
||||
"eq": "false"
|
||||
},
|
||||
"type": "checkbox",
|
||||
"input": true
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
}
|
||||
],
|
||||
"key": "columns2",
|
||||
"type": "columns",
|
||||
"input": false,
|
||||
"tableView": false
|
||||
},
|
||||
{
|
||||
"label": "Service Catalog related tables",
|
||||
"widget": "choicesjs",
|
||||
"tableView": true,
|
||||
"multiple": true,
|
||||
"dataSrc": "url",
|
||||
"data": {
|
||||
"url": "/api/x_355681_fa/fulfillment_automater/extended-tables/sc_cat_item",
|
||||
"headers": [
|
||||
{
|
||||
"key": "",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"idPath": "name",
|
||||
"valueProperty": "name",
|
||||
"validate": {
|
||||
"required": true
|
||||
},
|
||||
"key": "serviceCatalogRelatedTables",
|
||||
"conditional": {
|
||||
"show": true,
|
||||
"when": "quickActions.serviceCatalog.allServiceCatalogTables",
|
||||
"eq": "false"
|
||||
},
|
||||
"type": "select",
|
||||
"selectValues": "result",
|
||||
"disableLimit": false,
|
||||
"input": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Advanced Settings",
|
||||
"key": "advanced_settings",
|
||||
"key": "advancedSettings",
|
||||
"components": [
|
||||
{
|
||||
"title": "Advanced Settings",
|
||||
|
||||
Reference in New Issue
Block a user