Files
sn/c04afa629713111093a8337e6253af6d/update/sys_properties_8b21f27f97e061105838bfb3f153af5e.xml
admin dc8bc52dae 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.
2023-02-03 12:49:13 -08:00

650 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_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>
<type>string</type>
<value>{&#13;
"display": "form",&#13;
"components": [&#13;
{&#13;
"title": "Main details",&#13;
"theme": "primary",&#13;
"collapsible": false,&#13;
"key": "mainDetails",&#13;
"type": "panel",&#13;
"label": "Panel",&#13;
"input": false,&#13;
"tableView": false,&#13;
"components": [&#13;
{&#13;
"label": "Columns",&#13;
"columns": [&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "Name",&#13;
"disabled": true,&#13;
"tableView": true,&#13;
"defaultValue": "Fulfillment Automater",&#13;
"key": "name",&#13;
"type": "textfield",&#13;
"input": true&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
},&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "Version",&#13;
"disabled": true,&#13;
"tableView": true,&#13;
"defaultValue": "0.0.1",&#13;
"key": "version",&#13;
"type": "textfield",&#13;
"input": true&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
}&#13;
],&#13;
"key": "columns",&#13;
"type": "columns",&#13;
"input": false,&#13;
"tableView": false&#13;
}&#13;
]&#13;
},&#13;
{&#13;
"label": "Tabs",&#13;
"components": [&#13;
{&#13;
"label": "General Administration",&#13;
"key": "generalAdministration",&#13;
"components": [&#13;
{&#13;
"title": "General",&#13;
"theme": "primary",&#13;
"collapsible": false,&#13;
"key": "generalAdministration",&#13;
"type": "panel",&#13;
"label": "Panel",&#13;
"input": false,&#13;
"tableView": false,&#13;
"components": [&#13;
{&#13;
"label": "General",&#13;
"tableView": false,&#13;
"key": "general",&#13;
"type": "container",&#13;
"input": true,&#13;
"components": [&#13;
{&#13;
"label": "Columns",&#13;
"columns": [&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "Scope",&#13;
"tableView": true,&#13;
"key": "scope",&#13;
"type": "textfield",&#13;
"input": true,&#13;
"defaultValue": "x_355681"&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
},&#13;
{&#13;
"components": [],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
}&#13;
],&#13;
"key": "columns",&#13;
"type": "columns",&#13;
"input": false,&#13;
"tableView": false&#13;
}&#13;
]&#13;
}&#13;
]&#13;
}&#13;
]&#13;
},&#13;
{&#13;
"label": "Log Administration",&#13;
"key": "logAdministration",&#13;
"components": [&#13;
{&#13;
"title": "Log Administration",&#13;
"theme": "primary",&#13;
"collapsible": false,&#13;
"key": "logAdministration",&#13;
"type": "panel",&#13;
"label": "Panel",&#13;
"input": false,&#13;
"tableView": false,&#13;
"components": [&#13;
{&#13;
"label": "Logging",&#13;
"tableView": false,&#13;
"key": "logging",&#13;
"type": "container",&#13;
"input": true,&#13;
"components": [&#13;
{&#13;
"label": "Columns",&#13;
"columns": [&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "Retention",&#13;
"tooltip": "Total months of retention of logging. Default 24 months.",&#13;
"suffix": "months",&#13;
"mask": false,&#13;
"tableView": false,&#13;
"defaultValue": 24,&#13;
"delimiter": false,&#13;
"requireDecimal": false,&#13;
"inputFormat": "plain",&#13;
"truncateMultipleSpaces": false,&#13;
"key": "retention",&#13;
"type": "number",&#13;
"input": true&#13;
},&#13;
{&#13;
"label": "Enabled",&#13;
"tableView": false,&#13;
"defaultValue": true,&#13;
"key": "enabled",&#13;
"type": "checkbox",&#13;
"input": true&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
},&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "Level of debugging",&#13;
"optionsLabelPosition": "right",&#13;
"tableView": false,&#13;
"defaultValue": {&#13;
"debug": false,&#13;
"info": false,&#13;
"warning": true,&#13;
"error": true&#13;
},&#13;
"values": [&#13;
{&#13;
"label": "Debug",&#13;
"value": "debug",&#13;
"shortcut": ""&#13;
},&#13;
{&#13;
"label": "Info",&#13;
"value": "info",&#13;
"shortcut": ""&#13;
},&#13;
{&#13;
"label": "Warning",&#13;
"value": "warning",&#13;
"shortcut": ""&#13;
},&#13;
{&#13;
"label": "Error",&#13;
"value": "error",&#13;
"shortcut": ""&#13;
}&#13;
],&#13;
"key": "levelOfDebugging",&#13;
"type": "selectboxes",&#13;
"input": true,&#13;
"inputType": "checkbox"&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
}&#13;
],&#13;
"key": "columns2",&#13;
"type": "columns",&#13;
"input": false,&#13;
"tableView": false&#13;
}&#13;
]&#13;
}&#13;
]&#13;
}&#13;
]&#13;
},&#13;
{&#13;
"label": "Quick Actions",&#13;
"key": "quickActionsAdministration",&#13;
"components": [&#13;
{&#13;
"title": "Quick Actions",&#13;
"theme": "primary",&#13;
"collapsible": false,&#13;
"key": "quickActionsPanel",&#13;
"type": "panel",&#13;
"label": "Panel",&#13;
"input": false,&#13;
"tableView": false,&#13;
"components": [&#13;
{&#13;
"label": "Quick Actions",&#13;
"tableView": false,&#13;
"key": "quickActions",&#13;
"type": "container",&#13;
"input": true,&#13;
"components": [&#13;
{&#13;
"label": "Add UI Action button to Task tables",&#13;
"tableView": false,&#13;
"defaultValue": false,&#13;
"key": "taskUiAction",&#13;
"type": "checkbox",&#13;
"input": true&#13;
},&#13;
{&#13;
"label": "Task",&#13;
"tableView": false,&#13;
"key": "task",&#13;
"type": "container",&#13;
"input": true,&#13;
"components": [&#13;
{&#13;
"title": "Task Action Buttons",&#13;
"theme": "info",&#13;
"collapsible": false,&#13;
"key": "taskActionButtons",&#13;
"conditional": {&#13;
"show": true,&#13;
"when": "quickActions.taskUiAction",&#13;
"eq": "true"&#13;
},&#13;
"type": "panel",&#13;
"label": "Panel",&#13;
"input": false,&#13;
"tableView": false,&#13;
"components": [&#13;
{&#13;
"label": "Columns",&#13;
"columns": [&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "All Task Tables",&#13;
"tableView": false,&#13;
"key": "allTaskTables",&#13;
"type": "checkbox",&#13;
"input": true,&#13;
"defaultValue": false&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
},&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "Inherit on Task extended tables",&#13;
"tooltip": "Show UI Action button on selected tables AND extended tables.",&#13;
"tableView": false,&#13;
"defaultValue": false,&#13;
"key": "inheritOnTaskExtendedTables",&#13;
"conditional": {&#13;
"show": true,&#13;
"when": "quickActions.task.allTaskTables",&#13;
"eq": "false"&#13;
},&#13;
"type": "checkbox",&#13;
"input": true&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
}&#13;
],&#13;
"key": "columns1",&#13;
"type": "columns",&#13;
"input": false,&#13;
"tableView": false&#13;
},&#13;
{&#13;
"label": "Task Related Tables",&#13;
"widget": "choicesjs",&#13;
"tableView": true,&#13;
"multiple": true,&#13;
"dataSrc": "url",&#13;
"data": {&#13;
"url": "/api/x_355681_fa/fulfillment_automater/extended-tables/task",&#13;
"headers": [&#13;
{&#13;
"key": "",&#13;
"value": ""&#13;
}&#13;
]&#13;
},&#13;
"idPath": "name",&#13;
"valueProperty": "name",&#13;
"validate": {&#13;
"required": true&#13;
},&#13;
"key": "taskRelatedTables",&#13;
"conditional": {&#13;
"show": true,&#13;
"when": "quickActions.task.allTaskTables",&#13;
"eq": "false"&#13;
},&#13;
"type": "select",&#13;
"selectValues": "result",&#13;
"disableLimit": false,&#13;
"input": true&#13;
}&#13;
]&#13;
}&#13;
]&#13;
},&#13;
{&#13;
"label": "Add UI Action button to Service Catalog tables",&#13;
"tableView": false,&#13;
"defaultValue": false,&#13;
"key": "serviceCatalogUiAction",&#13;
"type": "checkbox",&#13;
"input": true&#13;
},&#13;
{&#13;
"label": "Service Catalog",&#13;
"tableView": false,&#13;
"key": "serviceCatalog",&#13;
"type": "container",&#13;
"input": true,&#13;
"components": [&#13;
{&#13;
"title": "Service Catalog Action Buttons",&#13;
"theme": "info",&#13;
"collapsible": false,&#13;
"key": "serviceCatalogActionButtons1",&#13;
"conditional": {&#13;
"show": true,&#13;
"when": "quickActions.serviceCatalogUiAction",&#13;
"eq": "true"&#13;
},&#13;
"type": "panel",&#13;
"label": "Panel",&#13;
"input": false,&#13;
"tableView": false,&#13;
"components": [&#13;
{&#13;
"label": "Advanced Warning",&#13;
"attrs": [&#13;
{&#13;
"attr": "",&#13;
"value": ""&#13;
}&#13;
],&#13;
"content": "&lt;div class=\"alert alert-info\" role=\"alert\"&gt;\n &lt;h4&gt;Important&lt;/h4&gt;\n &lt;p&gt;\n Due to the way ServiceNow configured the table 'sc_cat_item', you need to create the UI Action yourself.\n &lt;/p&gt;\n &lt;p&gt;\n Instruction on how to do this can be found &lt;a href='#'&gt;here.&lt;/a&gt;\n &lt;/p&gt;\n&lt;/div&gt;",&#13;
"refreshOnChange": false,&#13;
"key": "advancedWarning",&#13;
"type": "htmlelement",&#13;
"input": false,&#13;
"tableView": false&#13;
},&#13;
{&#13;
"label": "Columns",&#13;
"columns": [&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "All Service Catalog Tables",&#13;
"tableView": false,&#13;
"defaultValue": false,&#13;
"key": "allServiceCatalogTables",&#13;
"type": "checkbox",&#13;
"input": true&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
},&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "Inherit on Service Catalog extended tables",&#13;
"tooltip": "Show UI Action button on selected tables AND extended tables.",&#13;
"tableView": false,&#13;
"defaultValue": false,&#13;
"key": "inheritOnServiceCatalogExtendedTables",&#13;
"conditional": {&#13;
"show": true,&#13;
"when": "quickActions.serviceCatalog.allServiceCatalogTables",&#13;
"eq": "false"&#13;
},&#13;
"type": "checkbox",&#13;
"input": true&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
}&#13;
],&#13;
"key": "columns2",&#13;
"type": "columns",&#13;
"input": false,&#13;
"tableView": false&#13;
},&#13;
{&#13;
"label": "Service Catalog related tables",&#13;
"widget": "choicesjs",&#13;
"tableView": true,&#13;
"multiple": true,&#13;
"dataSrc": "url",&#13;
"data": {&#13;
"url": "/api/x_355681_fa/fulfillment_automater/extended-tables/sc_cat_item",&#13;
"headers": [&#13;
{&#13;
"key": "",&#13;
"value": ""&#13;
}&#13;
]&#13;
},&#13;
"idPath": "name",&#13;
"valueProperty": "name",&#13;
"validate": {&#13;
"required": true&#13;
},&#13;
"key": "serviceCatalogRelatedTables",&#13;
"conditional": {&#13;
"show": true,&#13;
"when": "quickActions.serviceCatalog.allServiceCatalogTables",&#13;
"eq": "false"&#13;
},&#13;
"type": "select",&#13;
"selectValues": "result",&#13;
"disableLimit": false,&#13;
"input": true&#13;
}&#13;
]&#13;
}&#13;
]&#13;
}&#13;
]&#13;
}&#13;
]&#13;
}&#13;
]&#13;
},&#13;
{&#13;
"label": "Advanced Settings",&#13;
"key": "advancedSettings",&#13;
"components": [&#13;
{&#13;
"title": "Advanced Settings",&#13;
"theme": "primary",&#13;
"collapsible": false,&#13;
"key": "advancedSettings",&#13;
"type": "panel",&#13;
"label": "Panel",&#13;
"input": false,&#13;
"tableView": false,&#13;
"components": [&#13;
{&#13;
"label": "Advanced Warning",&#13;
"attrs": [&#13;
{&#13;
"attr": "",&#13;
"value": ""&#13;
}&#13;
],&#13;
"content": "&lt;div class=\"alert alert-warning\" role=\"alert\"&gt;\n &lt;h4&gt;Warning&lt;/h4&gt;\n &lt;p&gt;\n Here you find advanced setting for Fulfillment Automater. Make sure you are aware of what you are doing, before making any changes.\n &lt;/p&gt;\n&lt;/div&gt;",&#13;
"refreshOnChange": false,&#13;
"key": "advancedWarning",&#13;
"type": "htmlelement",&#13;
"input": false,&#13;
"tableView": false&#13;
},&#13;
{&#13;
"label": "Advanced",&#13;
"tableView": false,&#13;
"key": "advanced",&#13;
"type": "container",&#13;
"input": true,&#13;
"components": [&#13;
{&#13;
"label": "Columns",&#13;
"columns": [&#13;
{&#13;
"components": [&#13;
{&#13;
"label": "Pause all Fulfillment processes",&#13;
"tooltip": "WARNING: This will pause all currently running fulfillment processes that are controlled by FA",&#13;
"tableView": false,&#13;
"defaultValue": false,&#13;
"key": "pauseAllFulfillmentProcesses",&#13;
"type": "checkbox",&#13;
"input": true&#13;
},&#13;
{&#13;
"label": "Clear logging table",&#13;
"tooltip": "WARNING: This will delete all records from the FA Logging table.",&#13;
"tableView": false,&#13;
"key": "clearLoggingTable",&#13;
"type": "checkbox",&#13;
"input": true,&#13;
"defaultValue": false&#13;
}&#13;
],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
},&#13;
{&#13;
"components": [],&#13;
"width": 6,&#13;
"offset": 0,&#13;
"push": 0,&#13;
"pull": 0,&#13;
"size": "md",&#13;
"currentWidth": 6&#13;
}&#13;
],&#13;
"key": "columns",&#13;
"type": "columns",&#13;
"input": false,&#13;
"tableView": false&#13;
}&#13;
]&#13;
}&#13;
]&#13;
}&#13;
]&#13;
}&#13;
],&#13;
"verticalLayout": true,&#13;
"key": "tabs",&#13;
"type": "tabs",&#13;
"input": false,&#13;
"tableView": false&#13;
},&#13;
{&#13;
"label": "Submit",&#13;
"showValidations": false,&#13;
"customClass": "pull-right",&#13;
"disableOnInvalid": true,&#13;
"tableView": false,&#13;
"key": "submit",&#13;
"type": "button",&#13;
"saveOnEnter": false,&#13;
"input": true&#13;
}&#13;
]&#13;
}</value>
<write_roles>x_355681_fa.fa admin</write_roles>
</sys_properties>
<sys_translated_text action="delete_multiple" query="documentkey=8b21f27f97e061105838bfb3f153af5e"/>
</record_update>