658 lines
29 KiB
XML
658 lines
29 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_properties">
|
|
<sys_properties action="INSERT_OR_UPDATE">
|
|
<choices/>
|
|
<description>This is the form schematic for the admin panel.</description>
|
|
<ignore_cache>true</ignore_cache>
|
|
<is_private>false</is_private>
|
|
<name>x_355681_fa.form.admin.settings.schema</name>
|
|
<read_roles>x_355681_fa.fa admin</read_roles>
|
|
<suffix>form.admin.settings.schema</suffix>
|
|
<sys_class_name>sys_properties</sys_class_name>
|
|
<sys_created_by>admin</sys_created_by>
|
|
<sys_created_on>2023-01-29 13:12:10</sys_created_on>
|
|
<sys_id>8b21f27f97e061105838bfb3f153af5e</sys_id>
|
|
<sys_mod_count>19</sys_mod_count>
|
|
<sys_name>x_355681_fa.form.admin.settings.schema</sys_name>
|
|
<sys_package display_value="Fulfilment Automater" source="x_355681_fa">c04afa629713111093a8337e6253af6d</sys_package>
|
|
<sys_policy/>
|
|
<sys_scope display_value="Fulfilment Automater">c04afa629713111093a8337e6253af6d</sys_scope>
|
|
<sys_update_name>sys_properties_8b21f27f97e061105838bfb3f153af5e</sys_update_name>
|
|
<sys_updated_by>admin</sys_updated_by>
|
|
<sys_updated_on>2023-04-27 10:34:07</sys_updated_on>
|
|
<type>string</type>
|
|
<value>{
|
|
"display": "form",
|
|
"components": [
|
|
{
|
|
"title": "Main details",
|
|
"theme": "primary",
|
|
"collapsible": false,
|
|
"key": "mainDetails",
|
|
"type": "panel",
|
|
"label": "Panel",
|
|
"input": false,
|
|
"tableView": false,
|
|
"components": [
|
|
{
|
|
"label": "Columns",
|
|
"columns": [
|
|
{
|
|
"components": [
|
|
{
|
|
"label": "Name",
|
|
"disabled": true,
|
|
"tableView": true,
|
|
"defaultValue": "Fulfillment Automater",
|
|
"key": "name",
|
|
"type": "textfield",
|
|
"input": true
|
|
}
|
|
],
|
|
"width": 6,
|
|
"offset": 0,
|
|
"push": 0,
|
|
"pull": 0,
|
|
"size": "md",
|
|
"currentWidth": 6
|
|
},
|
|
{
|
|
"components": [
|
|
{
|
|
"label": "Version",
|
|
"disabled": true,
|
|
"tableView": true,
|
|
"defaultValue": "0.0.1",
|
|
"key": "version",
|
|
"type": "textfield",
|
|
"input": true
|
|
}
|
|
],
|
|
"width": 6,
|
|
"offset": 0,
|
|
"push": 0,
|
|
"pull": 0,
|
|
"size": "md",
|
|
"currentWidth": 6
|
|
}
|
|
],
|
|
"key": "columns",
|
|
"type": "columns",
|
|
"input": false,
|
|
"tableView": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Tabs",
|
|
"components": [
|
|
{
|
|
"label": "General Administration",
|
|
"key": "generalAdministration",
|
|
"components": [
|
|
{
|
|
"title": "General",
|
|
"theme": "primary",
|
|
"collapsible": false,
|
|
"key": "generalAdministration",
|
|
"type": "panel",
|
|
"label": "Panel",
|
|
"input": false,
|
|
"tableView": false,
|
|
"components": [
|
|
{
|
|
"label": "General",
|
|
"tableView": false,
|
|
"key": "general",
|
|
"type": "container",
|
|
"input": true,
|
|
"components": [
|
|
{
|
|
"label": "Columns",
|
|
"columns": [
|
|
{
|
|
"components": [
|
|
{
|
|
"label": "Scope",
|
|
"tableView": true,
|
|
"key": "scope",
|
|
"type": "textfield",
|
|
"input": true,
|
|
"defaultValue": "x_355681"
|
|
}
|
|
],
|
|
"width": 6,
|
|
"offset": 0,
|
|
"push": 0,
|
|
"pull": 0,
|
|
"size": "md",
|
|
"currentWidth": 6
|
|
},
|
|
{
|
|
"components": [],
|
|
"width": 6,
|
|
"offset": 0,
|
|
"push": 0,
|
|
"pull": 0,
|
|
"size": "md",
|
|
"currentWidth": 6
|
|
}
|
|
],
|
|
"key": "columns",
|
|
"type": "columns",
|
|
"input": false,
|
|
"tableView": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Log Administration",
|
|
"key": "logAdministration",
|
|
"components": [
|
|
{
|
|
"title": "Log Administration",
|
|
"theme": "primary",
|
|
"collapsible": false,
|
|
"key": "logAdministration",
|
|
"type": "panel",
|
|
"label": "Panel",
|
|
"input": false,
|
|
"tableView": false,
|
|
"components": [
|
|
{
|
|
"label": "Logging",
|
|
"tableView": false,
|
|
"key": "logging",
|
|
"type": "container",
|
|
"input": true,
|
|
"components": [
|
|
{
|
|
"label": "Columns",
|
|
"columns": [
|
|
{
|
|
"components": [
|
|
{
|
|
"label": "Retention",
|
|
"tooltip": "Total months of retention of logging. Default 24 months.",
|
|
"suffix": "months",
|
|
"mask": false,
|
|
"tableView": false,
|
|
"defaultValue": 24,
|
|
"delimiter": false,
|
|
"requireDecimal": false,
|
|
"inputFormat": "plain",
|
|
"truncateMultipleSpaces": false,
|
|
"key": "retention",
|
|
"type": "number",
|
|
"input": true
|
|
},
|
|
{
|
|
"label": "Enabled",
|
|
"tableView": false,
|
|
"defaultValue": true,
|
|
"key": "enabled",
|
|
"type": "checkbox",
|
|
"input": true
|
|
}
|
|
],
|
|
"width": 6,
|
|
"offset": 0,
|
|
"push": 0,
|
|
"pull": 0,
|
|
"size": "md",
|
|
"currentWidth": 6
|
|
},
|
|
{
|
|
"components": [
|
|
{
|
|
"label": "Level of debugging",
|
|
"optionsLabelPosition": "right",
|
|
"tableView": false,
|
|
"defaultValue": {
|
|
"debug": false,
|
|
"info": false,
|
|
"warning": true,
|
|
"error": true
|
|
},
|
|
"values": [
|
|
{
|
|
"label": "Debug",
|
|
"value": "debug",
|
|
"shortcut": ""
|
|
},
|
|
{
|
|
"label": "Info",
|
|
"value": "info",
|
|
"shortcut": ""
|
|
},
|
|
{
|
|
"label": "Warning",
|
|
"value": "warning",
|
|
"shortcut": ""
|
|
},
|
|
{
|
|
"label": "Error",
|
|
"value": "error",
|
|
"shortcut": ""
|
|
}
|
|
],
|
|
"key": "levelOfDebugging",
|
|
"type": "selectboxes",
|
|
"input": true,
|
|
"inputType": "checkbox"
|
|
}
|
|
],
|
|
"width": 6,
|
|
"offset": 0,
|
|
"push": 0,
|
|
"pull": 0,
|
|
"size": "md",
|
|
"currentWidth": 6
|
|
}
|
|
],
|
|
"key": "columns2",
|
|
"type": "columns",
|
|
"input": false,
|
|
"tableView": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "Visible for Roles",
|
|
"widget": "choicesjs",
|
|
"tableView": true,
|
|
"multiple": true,
|
|
"dataSrc": "custom",
|
|
"data": {
|
|
"custom": "if(data._resources && data._resources.roles){\n values = data._resources.roles;\n}"
|
|
},
|
|
"idPath": "name",
|
|
"valueProperty": "name",
|
|
"template": "<span>{{ item.name }}</span>",
|
|
"key": "visibleForRoles",
|
|
"conditional": {
|
|
"show": true,
|
|
"when": "quickActions.taskUiAction",
|
|
"eq": "true"
|
|
},
|
|
"type": "select",
|
|
"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": "custom",
|
|
"data": {
|
|
"custom": "if(data && data._resources){\n values = data._resources.taskTables\n}"
|
|
},
|
|
"idPath": "name",
|
|
"valueProperty": "name",
|
|
"validate": {
|
|
"required": true
|
|
},
|
|
"key": "taskRelatedTables",
|
|
"conditional": {
|
|
"show": true,
|
|
"when": "quickActions.task.allTaskTables",
|
|
"eq": "false"
|
|
},
|
|
"type": "select",
|
|
"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": "custom",
|
|
"data": {
|
|
"custom": "if(data._resources && data._resources.scCatItemTables){\n values = data._resources.scCatItemTables;\n}"
|
|
},
|
|
"idPath": "name",
|
|
"valueProperty": "name",
|
|
"validate": {
|
|
"required": true
|
|
},
|
|
"key": "serviceCatalogRelatedTables",
|
|
"conditional": {
|
|
"show": true,
|
|
"when": "quickActions.serviceCatalog.allServiceCatalogTables",
|
|
"eq": "false"
|
|
},
|
|
"type": "select",
|
|
"input": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Advanced Settings",
|
|
"key": "advancedSettings",
|
|
"components": [
|
|
{
|
|
"title": "Advanced Settings",
|
|
"theme": "primary",
|
|
"collapsible": false,
|
|
"key": "advancedSettings",
|
|
"type": "panel",
|
|
"label": "Panel",
|
|
"input": false,
|
|
"tableView": false,
|
|
"components": [
|
|
{
|
|
"label": "Advanced Warning",
|
|
"attrs": [
|
|
{
|
|
"attr": "",
|
|
"value": ""
|
|
}
|
|
],
|
|
"content": "<div class=\"alert alert-warning\" role=\"alert\">\n <h4>Warning</h4>\n <p>\n Here you find advanced setting for Fulfillment Automater. Make sure you are aware of what you are doing, before making any changes.\n </p>\n</div>",
|
|
"refreshOnChange": false,
|
|
"key": "advancedWarning",
|
|
"type": "htmlelement",
|
|
"input": false,
|
|
"tableView": false
|
|
},
|
|
{
|
|
"label": "Advanced",
|
|
"tableView": false,
|
|
"key": "advanced",
|
|
"type": "container",
|
|
"input": true,
|
|
"components": [
|
|
{
|
|
"label": "Columns",
|
|
"columns": [
|
|
{
|
|
"components": [
|
|
{
|
|
"label": "Pause all Fulfillment processes",
|
|
"tooltip": "WARNING: This will pause all currently running fulfillment processes that are controlled by FA",
|
|
"tableView": false,
|
|
"defaultValue": false,
|
|
"key": "pauseAllFulfillmentProcesses",
|
|
"type": "checkbox",
|
|
"input": true
|
|
},
|
|
{
|
|
"label": "Clear logging table",
|
|
"tooltip": "WARNING: This will delete all records from the FA Logging table.",
|
|
"tableView": false,
|
|
"key": "clearLoggingTable",
|
|
"type": "checkbox",
|
|
"input": true,
|
|
"defaultValue": false
|
|
}
|
|
],
|
|
"width": 6,
|
|
"offset": 0,
|
|
"push": 0,
|
|
"pull": 0,
|
|
"size": "md",
|
|
"currentWidth": 6
|
|
},
|
|
{
|
|
"components": [],
|
|
"width": 6,
|
|
"offset": 0,
|
|
"push": 0,
|
|
"pull": 0,
|
|
"size": "md",
|
|
"currentWidth": 6
|
|
}
|
|
],
|
|
"key": "columns",
|
|
"type": "columns",
|
|
"input": false,
|
|
"tableView": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"verticalLayout": true,
|
|
"key": "tabs",
|
|
"type": "tabs",
|
|
"input": false,
|
|
"tableView": false
|
|
},
|
|
{
|
|
"label": "Submit",
|
|
"showValidations": false,
|
|
"customClass": "pull-right",
|
|
"disableOnInvalid": true,
|
|
"tableView": false,
|
|
"key": "submit",
|
|
"type": "button",
|
|
"saveOnEnter": false,
|
|
"input": true
|
|
}
|
|
]
|
|
}</value>
|
|
<write_roles>x_355681_fa.fa admin</write_roles>
|
|
</sys_properties>
|
|
<sys_translated_text action="delete_multiple" query="documentkey=8b21f27f97e061105838bfb3f153af5e"/>
|
|
</record_update>
|