Initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"accessCheckerClassName": "Espo\\Modules\\Advanced\\Classes\\Acl\\BpmnFlowNode\\AccessChecker"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"ownershipCheckerClassName": "Espo\\Modules\\Advanced\\Classes\\Acl\\BpmnProcess\\OwnershipChecker"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"accessCheckerClassName": "Espo\\Modules\\Advanced\\Classes\\Acl\\Report\\AccessChecker",
|
||||
"portalAccessCheckerClassName": "Espo\\Modules\\Advanced\\Classes\\AclPortal\\Report\\AccessChecker"
|
||||
}
|
||||
21
custom/Espo/Modules/Advanced/Resources/metadata/app/acl.json
Normal file
21
custom/Espo/Modules/Advanced/Resources/metadata/app/acl.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"mandatory": {
|
||||
"scopeLevel": {
|
||||
"Workflow": false,
|
||||
"WorkflowLogRecord": false,
|
||||
"ReportPanel": false,
|
||||
"BpmnFlowNode": "BpmnProcess"
|
||||
}
|
||||
},
|
||||
"adminMandatory": {
|
||||
"scopeLevel": {
|
||||
"BpmnFlowchart": {
|
||||
"create": "yes",
|
||||
"read": "all",
|
||||
"edit": "all",
|
||||
"delete": "all",
|
||||
"stream": "all"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"mandatory": {
|
||||
"scopeFieldLevel": {
|
||||
"Report": {
|
||||
"portals": false,
|
||||
"assignedUser": false,
|
||||
"teams": false,
|
||||
"emailSendingInterval": false,
|
||||
"emailSendingSettingMonth": false,
|
||||
"emailSendingSettingDay": false,
|
||||
"emailSendingSettingWeekdays": false,
|
||||
"emailSendingTime": false,
|
||||
"emailSendingUsers": false,
|
||||
"emailSendingLastDateSent": false,
|
||||
"emailSendingDoNotSendEmptyReport": false,
|
||||
"applyAcl": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"scopeFieldLevel": {
|
||||
"Report": {
|
||||
"modifiedAt": false,
|
||||
"modifiedBy": false,
|
||||
"createdAt": false,
|
||||
"createdBy": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"strictDefault": {
|
||||
"scopeFieldLevel": {
|
||||
"Report": {
|
||||
"modifiedAt": false,
|
||||
"modifiedBy": false,
|
||||
"createdAt": false,
|
||||
"createdBy": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"customization": {
|
||||
"itemList": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"url":"#ReportFilter",
|
||||
"label": "Report Filters",
|
||||
"iconClass": "fas fa-filter",
|
||||
"description": "reportFilters"
|
||||
},
|
||||
{
|
||||
"url":"#ReportPanel",
|
||||
"label": "Report Panels",
|
||||
"iconClass": "fas fa-chart-area",
|
||||
"description": "reportPanels"
|
||||
}
|
||||
]
|
||||
},
|
||||
"workflows": {
|
||||
"label": "Workflow Manager",
|
||||
"itemList": [
|
||||
{
|
||||
"url":"#Workflow",
|
||||
"label":"Workflow Manager",
|
||||
"iconClass": "fas fa-code-branch icon-rotate-180",
|
||||
"description":"workflowManager",
|
||||
"tabQuickSearch": true
|
||||
}
|
||||
],
|
||||
"order": 99
|
||||
},
|
||||
"bpmn": {
|
||||
"label": "Business Process Management",
|
||||
"itemList": [
|
||||
{
|
||||
"url":"#BpmnFlowchart",
|
||||
"label":"Flowcharts",
|
||||
"iconClass": "fas fa-project-diagram",
|
||||
"description":"bpmnFlowcharts",
|
||||
"tabQuickSearch": true
|
||||
},
|
||||
{
|
||||
"url":"#BpmnProcess",
|
||||
"label":"Processes",
|
||||
"iconClass": "fas fa-cogs",
|
||||
"description":"bpmnProcesses",
|
||||
"tabQuickSearch": true
|
||||
}
|
||||
],
|
||||
"order": 100
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"fieldTypeList": [
|
||||
"currencyConverted",
|
||||
"int",
|
||||
"float",
|
||||
"duration",
|
||||
"enumInt",
|
||||
"enumFloat",
|
||||
"enum",
|
||||
"varchar",
|
||||
"link",
|
||||
"date",
|
||||
"datetime",
|
||||
"datetimeOptional",
|
||||
"email",
|
||||
"phone",
|
||||
"url",
|
||||
"personName",
|
||||
"array",
|
||||
"multiEnum",
|
||||
"checklist",
|
||||
"urlMultiple",
|
||||
"decimal"
|
||||
],
|
||||
"numericFieldTypeList": [
|
||||
"currencyConverted",
|
||||
"int",
|
||||
"float",
|
||||
"enumInt",
|
||||
"enumFloat",
|
||||
"duration",
|
||||
"decimal"
|
||||
],
|
||||
"noGroupFieldTypeList": [
|
||||
"linkMultiple",
|
||||
"date",
|
||||
"datetime",
|
||||
"datetimeOptional",
|
||||
"currency",
|
||||
"currencyConverted",
|
||||
"text",
|
||||
"map",
|
||||
"multiEnum",
|
||||
"array",
|
||||
"checklist",
|
||||
"urlMultiple",
|
||||
"address",
|
||||
"foreign",
|
||||
"linkOne",
|
||||
"attachmentMultiple"
|
||||
],
|
||||
"noForeignGroupFieldTypeList": [
|
||||
"linkParent",
|
||||
"phone",
|
||||
"email",
|
||||
"personName"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"flowchartEntityTypeList": {
|
||||
"className": "Espo\\Modules\\Advanced\\Core\\AppParams\\FlowchartEntityTypeList"
|
||||
},
|
||||
"manualWorkflows": {
|
||||
"className": "Espo\\Modules\\Advanced\\Classes\\AppParams\\ManualWorkflows"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"workflowLog": {
|
||||
"className": "Espo\\Modules\\Advanced\\Core\\Cleanup\\WorkflowLog",
|
||||
"order": 20
|
||||
},
|
||||
"advancedPack": {
|
||||
"className": "Espo\\Modules\\Advanced\\Core\\Cleanup\\Integrity"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"scriptList": [
|
||||
"__APPEND__",
|
||||
"client/custom/modules/advanced/lib/init.js"
|
||||
],
|
||||
"cssList": [
|
||||
"__APPEND__",
|
||||
"client/custom/modules/advanced/css/advanced.css"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Report/show/:id": {
|
||||
"params": {
|
||||
"controller": "Report",
|
||||
"action": "show"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"workflowManager": {
|
||||
"loaderClassName": "Espo\\Modules\\Advanced\\Core\\Loaders\\WorkflowManager"
|
||||
},
|
||||
"workflowHelper": {
|
||||
"loaderClassName": "Espo\\Modules\\Advanced\\Core\\Loaders\\WorkflowHelper"
|
||||
},
|
||||
"signalManager": {
|
||||
"loaderClassName": "Espo\\Modules\\Advanced\\Core\\Loaders\\SignalManager"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"gridReportFormatList": [
|
||||
"xlsx",
|
||||
"csv"
|
||||
]
|
||||
}
|
||||
128
custom/Espo/Modules/Advanced/Resources/metadata/app/formula.json
Normal file
128
custom/Espo/Modules/Advanced/Resources/metadata/app/formula.json
Normal file
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"functionClassNameMap": {
|
||||
"processEntity\\attribute": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\BpmGroup\\ProcessEntityGroup\\AttributeType",
|
||||
"bpm\\broadcastSignal": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\BpmGroup\\BroadcastSignalType",
|
||||
"bpm\\processEntity\\attribute": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\BpmGroup\\ProcessEntityGroup\\AttributeType",
|
||||
"bpm\\createdEntity\\attribute": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\BpmGroup\\CreatedEntityGroup\\AttributeType",
|
||||
"bpm\\targetEntity\\attribute": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\AttributeType",
|
||||
"bpm\\startProcess": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\BpmGroup\\StartProcessType",
|
||||
"bpm\\caughtErrorMessage": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\BpmGroup\\CaughtErrorMessage",
|
||||
"bpm\\caughtErrorCode": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\BpmGroup\\CaughtErrorCode",
|
||||
"targetEntity\\attribute": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\AttributeType",
|
||||
"targetEntity\\attributeFetched": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\AttributeFetchedType",
|
||||
"targetEntity\\isAttributeChanged": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\IsAttributeChangedType",
|
||||
"targetEntity\\isAttributeNotChanged": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\IsAttributeNotChangedType",
|
||||
"targetEntity\\isNew": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\IsNewType",
|
||||
"targetEntity\\isRelated": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\IsRelatedType",
|
||||
"targetEntity\\hasLinkMultipleId": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\HasLinkMultipleIdType",
|
||||
"workflow\\lastHttpResponseBody": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\WorkflowGroup\\LastHttpResponseBodyType",
|
||||
"workflow\\lastHttpResponseCode": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\WorkflowGroup\\LastHttpResponseCodeType",
|
||||
"workflow\\trigger": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\WorkflowGroup\\TriggerType",
|
||||
"workflow\\targetEntity\\attribute": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\AttributeType",
|
||||
"workflow\\targetEntity\\attributeFetched": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\AttributeFetchedType",
|
||||
"workflow\\targetEntity\\isAttributeChanged": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\IsAttributeChangedType",
|
||||
"workflow\\targetEntity\\isAttributeNotChanged": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\TargetEntityGroup\\IsAttributeNotChangedType",
|
||||
"workflow\\signalParam": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\WorkflowGroup\\SignalParamType",
|
||||
"workflow\\lastCreatedEntityId": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\WorkflowGroup\\LastCreatedEntityIdType",
|
||||
"workflow\\alert": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\WorkflowGroup\\AlertType",
|
||||
"report\\recordAttribute": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\ReportGroup\\RecordAttribute",
|
||||
"report\\export": "Espo\\Modules\\Advanced\\Core\\Workflow\\Formula\\Functions\\ReportGroup\\Export"
|
||||
},
|
||||
"functionList": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"name": "report\\export",
|
||||
"insertText": "report\\export('REPORT_ID')",
|
||||
"returnType": "string",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "report\\recordAttribute",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "bpm\\processEntity\\attribute",
|
||||
"insertText": "bpm\\processEntity\\attribute('ATTRIBUTE_NAME')",
|
||||
"returnType": "mixed",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "bpm\\targetEntity\\attribute",
|
||||
"insertText": "bpm\\targetEntity\\attribute('ATTRIBUTE_NAME)'",
|
||||
"returnType": "mixed",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "bpm\\createdEntity\\attribute",
|
||||
"insertText": "bpm\\createdEntity\\attribute('ALIAS_ID', 'ATTRIBUTE_NAME')",
|
||||
"returnType": "mixed",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "bpm\\broadcastSignal",
|
||||
"insertText": "bpm\\broadcastSignal(SIGNAL_NAME, [ENTITY_TYPE], [ENTITY_ID])",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "bpm\\startProcess",
|
||||
"insertText": "bpm\\startProcess(FLOWCHART_ID, TARGET_TYPE, TARGET_ID)",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "bpm\\caughtErrorCode",
|
||||
"insertText": "bpm\\caughtErrorCode()",
|
||||
"returnType": "?string",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "bpm\\caughtErrorMessage",
|
||||
"insertText": "bpm\\caughtErrorMessage()",
|
||||
"returnType": "?string",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "workflow\\targetEntity\\attribute",
|
||||
"insertText": "workflow\\targetEntity\\attribute('ATTRIBUTE_NAME')",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "workflow\\targetEntity\\attributeFetched",
|
||||
"insertText": "workflow\\targetEntity\\attributeFetched('ATTRIBUTE_NAME')",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "workflow\\trigger",
|
||||
"insertText": "workflow\\trigger(ENTITY_TYPE, ID, WORKFLOW_ID)",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "workflow\\lastHttpResponseBody",
|
||||
"insertText": "workflow\\lastHttpResponseBody()",
|
||||
"returnType": "string|null",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "workflow\\lastHttpResponseCode",
|
||||
"insertText": "workflow\\lastHttpResponseCode()",
|
||||
"returnType": "int|null",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "workflow\\signalParam",
|
||||
"insertText": "workflow\\signalParam(NAME)",
|
||||
"returnType": "mixed",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "workflow\\lastCreatedEntityId",
|
||||
"insertText": "workflow\\lastCreatedEntityId()",
|
||||
"returnType": "string|null",
|
||||
"unsafe": true
|
||||
},
|
||||
{
|
||||
"name": "workflow\\alert",
|
||||
"insertText": "workflow\\alert(MESSAGE)",
|
||||
"unsafe": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"aclDependencies": {
|
||||
"Workflow": {
|
||||
"anyScopeList": [
|
||||
"BpmnProcess",
|
||||
"BpmnFlowchart"
|
||||
]
|
||||
},
|
||||
"BpmnFlowchart": {
|
||||
"anyScopeList": [
|
||||
"BpmnProcess"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"AdvancedPack": {
|
||||
"isSystem": true,
|
||||
"scheduling": "3 3 * * *",
|
||||
"jobClassName": "Espo\\Modules\\Advanced\\Core\\App\\Job"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"reportTable": "Espo\\Modules\\Advanced\\Core\\TemplateHelpers\\Report"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"reportSendingGrid1": {
|
||||
"scope": "Report",
|
||||
"module": "Advanced"
|
||||
},
|
||||
"reportSendingGrid2": {
|
||||
"scope": "Report",
|
||||
"module": "Advanced"
|
||||
},
|
||||
"reportSendingList": {
|
||||
"scope": "Report",
|
||||
"module": "Advanced"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"serviceActions": {
|
||||
"Meeting": {
|
||||
"sendEventInvitations": {
|
||||
"className": "Espo\\Modules\\Advanced\\Classes\\ServiceActions\\Meeting\\SendInvitations"
|
||||
}
|
||||
},
|
||||
"Call": {
|
||||
"sendEventInvitations": {
|
||||
"className": "Espo\\Modules\\Advanced\\Classes\\ServiceActions\\Meeting\\SendInvitations"
|
||||
}
|
||||
},
|
||||
"Contact": {
|
||||
"optOut": {
|
||||
"className": "Espo\\Modules\\Advanced\\Classes\\ServiceActions\\Person\\OptOut"
|
||||
}
|
||||
},
|
||||
"Lead": {
|
||||
"optOut": {
|
||||
"className": "Espo\\Modules\\Advanced\\Classes\\ServiceActions\\Person\\OptOut"
|
||||
}
|
||||
},
|
||||
"Account": {
|
||||
"optOut": {
|
||||
"className": "Espo\\Modules\\Advanced\\Classes\\ServiceActions\\Person\\OptOut"
|
||||
}
|
||||
},
|
||||
"User": {
|
||||
"generateAndSendPassword": {
|
||||
"className": "Espo\\Modules\\Advanced\\Classes\\ServiceActions\\User\\GenerateAndSendPassword"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"mergeDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"massUpdateDisabled": true,
|
||||
"massRemoveDisabled": true
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"controller": "controllers/record-tree",
|
||||
"collection": "collections/tree",
|
||||
"massUpdateDisabled": true,
|
||||
"menu": {
|
||||
"listTree": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "List View",
|
||||
"link": "#BpmnFlowchartCategory\/list",
|
||||
"acl": "read"
|
||||
},
|
||||
{
|
||||
"labelTranslation": "Global.scopeNamesPlural.BpmnFlowchart",
|
||||
"link": "#BpmnFlowchart",
|
||||
"acl": "read",
|
||||
"aclScope": "BpmnFlowchart"
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Tree View",
|
||||
"link": "#BpmnFlowchartCategory",
|
||||
"acl": "read"
|
||||
},
|
||||
{
|
||||
"labelTranslation": "Global.scopeNamesPlural.BpmnFlowchart",
|
||||
"link": "#BpmnFlowchart",
|
||||
"acl": "read",
|
||||
"aclScope": "BpmnFlowchart"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"workflows": {
|
||||
"create": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"recordViews": {
|
||||
"detail": "advanced:views/bpmn-process/record/detail",
|
||||
"edit": "advanced:views/bpmn-process/record/edit",
|
||||
"detailQuick": "advanced:views/bpmn-process/record/detail-quick",
|
||||
"editQuick": "advanced:views/bpmn-process/record/edit-quick",
|
||||
"list": "advanced:views/bpmn-process/record/list"
|
||||
},
|
||||
"menu": {
|
||||
"list": {
|
||||
"dropdown": [
|
||||
{
|
||||
"label": "Flowcharts",
|
||||
"link": "#BpmnFlowchart",
|
||||
"acl": "read",
|
||||
"aclScope": "BpmnFlowchart"
|
||||
},
|
||||
{
|
||||
"label": "User Tasks",
|
||||
"link": "#BpmnUserTask",
|
||||
"acl": "read",
|
||||
"aclScope": "BpmnUserTask"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"dynamicLogic": {
|
||||
"fields": {
|
||||
"endedAt": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "status",
|
||||
"value": "Ended"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"parentProcess": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "parentProcessId",
|
||||
"data": {
|
||||
"field": "parentProcess"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"flowchartVisualization": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
},
|
||||
{
|
||||
"type": "and",
|
||||
"value": [
|
||||
{
|
||||
"type": "notEquals",
|
||||
"attribute": "status",
|
||||
"value": "Created"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"targetType": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"flowchart": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"target": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
},
|
||||
{
|
||||
"type": "isEmpty",
|
||||
"attribute": "targetType",
|
||||
"data": {
|
||||
"field": "targetType"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"flowNodes": {
|
||||
"rowActionsView": "advanced:views/bpmn-flow-node/record/row-actions/default",
|
||||
"recordListView": "advanced:views/bpmn-flow-node/record/list",
|
||||
"select": false,
|
||||
"create": false,
|
||||
"unlinkDisabled": true,
|
||||
"view": "advanced:views/bpmn-process/record/panels/flow-nodes"
|
||||
},
|
||||
"userTasks": {
|
||||
"rowActionsView": "views/record/row-actions/empty",
|
||||
"unlinkDisabled": true,
|
||||
"select": false,
|
||||
"create": false
|
||||
}
|
||||
},
|
||||
"filterList": [
|
||||
"actual",
|
||||
"ended"
|
||||
],
|
||||
"boolFilterList": ["onlyMy"],
|
||||
"iconClass": "fas fa-cogs"
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"createDisabled": true,
|
||||
"recordViews": {
|
||||
"detail": "advanced:views/bpmn-user-task/record/detail"
|
||||
},
|
||||
"views": {
|
||||
"detail": "advanced:views/bpmn-user-task/detail"
|
||||
},
|
||||
"dynamicLogic": {
|
||||
"options": {
|
||||
"resolution": [
|
||||
{
|
||||
"optionList": [
|
||||
"",
|
||||
"Approved",
|
||||
"Rejected"
|
||||
],
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "actionType",
|
||||
"value": "Approve"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"optionList": [
|
||||
"",
|
||||
"Reviewed"
|
||||
],
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "actionType",
|
||||
"value": "Review"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"optionList": [
|
||||
"",
|
||||
"Completed",
|
||||
"Failed"
|
||||
],
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "actionType",
|
||||
"value": "Accomplish"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"fields": {
|
||||
"resolution": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "isResolved"
|
||||
},
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "isCanceled"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"resolutionNote": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "resolution"
|
||||
},
|
||||
{
|
||||
"type": "isFalse",
|
||||
"attribute": "isFailed"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"instructions": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "instructions"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"filterList": [
|
||||
"actual",
|
||||
{
|
||||
"name": "resolved",
|
||||
"style": "success"
|
||||
},
|
||||
{
|
||||
"name": "canceled"
|
||||
}
|
||||
],
|
||||
"boolFilterList": ["onlyMy"],
|
||||
"iconClass": "fas fa-user-cog"
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"menu": {
|
||||
"detail": {
|
||||
"dropdown": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"name": "startProcessGlobal",
|
||||
"action": "startProcessGlobal",
|
||||
"label": "Start Process",
|
||||
"acl": "create",
|
||||
"aclScope": "BpmnProcess",
|
||||
"hidden": true,
|
||||
"data": {
|
||||
"handler": "advanced:start-process-action-handler"
|
||||
},
|
||||
"initFunction": "init"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"viewSetupHandlers": {
|
||||
"detail": [
|
||||
"__APPEND__",
|
||||
"advanced:handlers/manual-workflow"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"controller": "advanced:controllers/report",
|
||||
"boolFilterList": ["onlyMy"],
|
||||
"boolFilters": ["onlyMy"],
|
||||
"recordViews": {
|
||||
"list":"advanced:views/report/record/list",
|
||||
"detail": "advanced:views/report/record/detail",
|
||||
"edit": "advanced:views/report/record/edit"
|
||||
},
|
||||
"views": {
|
||||
"list": "advanced:views/report/list",
|
||||
"result": "advanced:views/report/result",
|
||||
"detail": "advanced:views/report/detail"
|
||||
},
|
||||
"modalViews": {
|
||||
"select": "advanced:views/report/modals/select-records"
|
||||
},
|
||||
"defaultSidePanelFieldLists": {
|
||||
"detail": [
|
||||
":assignedUser",
|
||||
"teams",
|
||||
"portals"
|
||||
],
|
||||
"edit": [
|
||||
":assignedUser",
|
||||
"teams",
|
||||
"portals"
|
||||
]
|
||||
},
|
||||
"createDisabled": false,
|
||||
"menu": {
|
||||
"list": {
|
||||
"dropdown": [
|
||||
{
|
||||
"label": "Create Joint Grid Report",
|
||||
"link": "#Report/create/type=JointGrid",
|
||||
"acl": "create"
|
||||
},
|
||||
{
|
||||
"label": "Manage Categories",
|
||||
"link": "#ReportCategory",
|
||||
"acl": "edit",
|
||||
"aclScope": "ReportCategory"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"bottomPanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "report",
|
||||
"label": "Report",
|
||||
"view": "advanced:views/report/record/panels/report"
|
||||
}
|
||||
]
|
||||
},
|
||||
"filterList": [
|
||||
"grid",
|
||||
"list"
|
||||
],
|
||||
"sidePanels":{
|
||||
"detail":[
|
||||
{
|
||||
"name": "emailSending",
|
||||
"label": "EmailSending",
|
||||
"view": "advanced:views/report/record/panels/email-sending",
|
||||
"options":{
|
||||
"fields":[
|
||||
"emailSendingInterval",
|
||||
"emailSendingSettingWeekdays",
|
||||
"emailSendingSettingDay",
|
||||
"emailSendingSettingMonth",
|
||||
"emailSendingTime",
|
||||
"emailSendingUsers",
|
||||
"emailSendingDoNotSendEmptyReport"
|
||||
],
|
||||
"fieldList":[
|
||||
"emailSendingInterval",
|
||||
"emailSendingSettingWeekdays",
|
||||
"emailSendingSettingDay",
|
||||
"emailSendingSettingMonth",
|
||||
"emailSendingTime",
|
||||
"emailSendingUsers",
|
||||
"emailSendingDoNotSendEmptyReport"
|
||||
],
|
||||
"inlineEditDisabled": true,
|
||||
"mode":"detail"
|
||||
},
|
||||
"isForm": true
|
||||
}
|
||||
],
|
||||
"edit":[
|
||||
{
|
||||
"name":"emailSending",
|
||||
"label":"EmailSending",
|
||||
"view":"views/record/panels/side",
|
||||
"options":{
|
||||
"fields":[
|
||||
"emailSendingInterval",
|
||||
"emailSendingSettingWeekdays",
|
||||
"emailSendingSettingDay",
|
||||
"emailSendingSettingMonth",
|
||||
"emailSendingTime",
|
||||
"emailSendingUsers",
|
||||
"emailSendingDoNotSendEmptyReport"
|
||||
],
|
||||
"fieldList":[
|
||||
"emailSendingInterval",
|
||||
"emailSendingSettingWeekdays",
|
||||
"emailSendingSettingDay",
|
||||
"emailSendingSettingMonth",
|
||||
"emailSendingTime",
|
||||
"emailSendingUsers",
|
||||
"emailSendingDoNotSendEmptyReport"
|
||||
],
|
||||
"mode":"edit"
|
||||
},
|
||||
"isForm": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"dynamicLogic": {
|
||||
"fields": {
|
||||
"applyAcl": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Grid"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"iconClass": "fas fa-chart-bar"
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"controller": "controllers/record-tree",
|
||||
"collection": "collections/tree",
|
||||
"menu": {
|
||||
"listTree": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "List View",
|
||||
"link": "#ReportCategory\/list",
|
||||
"acl": "read",
|
||||
"style": "default"
|
||||
},
|
||||
{
|
||||
"label": "Reports",
|
||||
"link": "#Report",
|
||||
"acl": "read",
|
||||
"aclScope": "Report",
|
||||
"style": "default"
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Tree View",
|
||||
"link": "#ReportCategory",
|
||||
"acl": "read",
|
||||
"style": "default"
|
||||
},
|
||||
{
|
||||
"label": "Reports",
|
||||
"link": "#Report",
|
||||
"acl": "read",
|
||||
"aclScope": "Report",
|
||||
"style": "default"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"reports": {
|
||||
"create": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"dynamicHandler": "advanced:dynamic-handlers/report-filter",
|
||||
"views": {
|
||||
"list": "advanced:views/report-filter/list"
|
||||
},
|
||||
"recordViews": {
|
||||
"list": "advanced:views/report-filter/record/list",
|
||||
"edit": "advanced:views/report-filter/record/edit",
|
||||
"editSmall": "advanced:views/report-filter/record/edit-small"
|
||||
},
|
||||
"menu": {
|
||||
"list": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Rebuild Filters",
|
||||
"name": "rebuildFilters",
|
||||
"action": "rebuildFilters"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"defaultSidePanelFieldLists": {
|
||||
"detail": [],
|
||||
"edit": [],
|
||||
"detailSmall": [],
|
||||
"editSmall": []
|
||||
},
|
||||
"dynamicLogic": {
|
||||
"fields": {
|
||||
"report": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "entityType"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"entityType": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"searchPanelDisabled": true
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"dynamicHandler": "advanced:dynamic-handlers/report-panel",
|
||||
"views": {
|
||||
"list": "advanced:views/report-panel/list"
|
||||
},
|
||||
"recordViews": {
|
||||
"list": "advanced:views/report-panel/record/list",
|
||||
"edit": "advanced:views/report-panel/record/edit",
|
||||
"editSmall": "advanced:views/report-panel/record/edit-small"
|
||||
},
|
||||
"menu": {
|
||||
"list": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Rebuild Panels",
|
||||
"name": "rebuildPanels",
|
||||
"action": "rebuildPanels"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"defaultSidePanelFieldLists": {
|
||||
"detail": [],
|
||||
"edit": [],
|
||||
"detailSmall": [],
|
||||
"editSmall": []
|
||||
},
|
||||
"dynamicLogic": {
|
||||
"fields": {
|
||||
"report": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "entityType"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"entityType": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"searchPanelDisabled": true
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"sidePanels": {
|
||||
"detail": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"name":"syncWithReports",
|
||||
"label":"Sync with Reports",
|
||||
"view":"advanced:views/target-list/record/panels/sync-with-reports",
|
||||
"notRefreshable": true,
|
||||
"isForm": true
|
||||
}
|
||||
],
|
||||
"edit": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"name":"syncWithReports",
|
||||
"label":"Sync with Reports",
|
||||
"view":"advanced:views/target-list/record/panels/sync-with-reports",
|
||||
"notRefreshable": true,
|
||||
"isForm": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"formDependency": {
|
||||
"syncWithReportsEnabled": {
|
||||
"map": {
|
||||
"true": [
|
||||
{
|
||||
"action": "show",
|
||||
"fields": ["syncWithReports", "syncWithReportsUnlink"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"default": [
|
||||
{
|
||||
"action": "hide",
|
||||
"fields": ["syncWithReports", "syncWithReportsUnlink"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"syncWithReports": {
|
||||
"createDisabled": true
|
||||
},
|
||||
"contacts": {
|
||||
"view": "advanced:views/target-list/record/panels/relationship",
|
||||
"actionList": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"label": "Populate from Report",
|
||||
"action": "populateFromReport",
|
||||
"acl": "edit",
|
||||
"data": {
|
||||
"link": "contacts"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"leads": {
|
||||
"view": "advanced:views/target-list/record/panels/relationship",
|
||||
"actionList": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"label": "Populate from Report",
|
||||
"action": "populateFromReport",
|
||||
"acl": "edit",
|
||||
"data": {
|
||||
"link": "leads"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"accounts": {
|
||||
"view": "advanced:views/target-list/record/panels/relationship",
|
||||
"actionList": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"label": "Populate from Report",
|
||||
"action": "populateFromReport",
|
||||
"acl": "edit",
|
||||
"data": {
|
||||
"link": "accounts"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"users": {
|
||||
"view": "advanced:views/target-list/record/panels/relationship",
|
||||
"create": false,
|
||||
"actionList": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"label": "Populate from Report",
|
||||
"action": "populateFromReport",
|
||||
"acl": "edit",
|
||||
"data": {
|
||||
"link": "users"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,249 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"recordViews": {
|
||||
"detail": "advanced:views/workflow/record/detail",
|
||||
"edit": "advanced:views/workflow/record/edit",
|
||||
"list": "advanced:views/workflow/record/list"
|
||||
},
|
||||
"views": {
|
||||
"list": "advanced:views/workflow/list"
|
||||
},
|
||||
"menu": {
|
||||
"list": {
|
||||
"dropdown": [
|
||||
{
|
||||
"label": "Workflows Log",
|
||||
"link": "#WorkflowLogRecord"
|
||||
},
|
||||
{
|
||||
"label": "Manage Categories",
|
||||
"link": "#WorkflowCategory",
|
||||
"acl": "edit",
|
||||
"aclScope": "WorkflowCategory"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"filterList": [
|
||||
"active"
|
||||
],
|
||||
"dynamicLogic": {
|
||||
"fields": {
|
||||
"entityType": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
},
|
||||
"signalName": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "signal"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "signal"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"manualLabel": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"manualTeams": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"manualDynamicLogic": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
},
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "entityType"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"manualAccessRequired": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"manualElementType": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"manualConfirmation": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"manualConfirmationText": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
},
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "manualConfirmation"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"manualStyle": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
},
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "manualElementType",
|
||||
"value": "Button"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"schedulingApplyTimezone": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "scheduled"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"processOrder": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": [
|
||||
"afterRecordCreated",
|
||||
"afterRecordUpdated",
|
||||
"afterRecordSaved",
|
||||
"scheduled",
|
||||
"signal"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"panels": {
|
||||
"manual": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "manual"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"scheduled": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": "scheduled"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"iconClass": "fas fa-code-commit"
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"controller": "controllers/record-tree",
|
||||
"collection": "collections/tree",
|
||||
"menu": {
|
||||
"listTree": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "List View",
|
||||
"link": "#WorkflowCategory\/list",
|
||||
"acl": "read"
|
||||
},
|
||||
{
|
||||
"label": "Workflows",
|
||||
"labelTranslation": "Global.scopeNamesPlural.Workflow",
|
||||
"link": "#Workflow",
|
||||
"acl": "read",
|
||||
"aclScope": "Workflow"
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Tree View",
|
||||
"link": "#WorkflowCategory",
|
||||
"acl": "read",
|
||||
"style": "default"
|
||||
},
|
||||
{
|
||||
"label": "Workflows",
|
||||
"labelTranslation": "Global.scopeNamesPlural.Workflow",
|
||||
"link": "#Workflow",
|
||||
"acl": "read",
|
||||
"aclScope": "Workflow"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"workflows": {
|
||||
"create": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"views": {
|
||||
"list":"advanced:views/workflow-log-record/list"
|
||||
},
|
||||
"recordViews": {
|
||||
"list":"advanced:views/workflow-log-record/record/list"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"view": "advanced:views/dashlets/bpmn-user-tasks",
|
||||
"aclScope": "BpmnUserTask",
|
||||
"entityType": "BpmnUserTask",
|
||||
"options": {
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "enumInt",
|
||||
"options": [3,4,5,10,15,20,30]
|
||||
},
|
||||
"expandedLayout": {
|
||||
"type": "base",
|
||||
"view": "views/dashlets/fields/records/expanded-layout"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc",
|
||||
"displayRecords": 5,
|
||||
"expandedLayout": {
|
||||
"rows": [
|
||||
[
|
||||
{
|
||||
"name": "name",
|
||||
"link": true
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"searchData": {
|
||||
"bool": {
|
||||
"onlyMy": true
|
||||
},
|
||||
"primary": "actual"
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"}
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "expandedLayout"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"view":"advanced:views/dashlets/report",
|
||||
"aclScope": "Report",
|
||||
"options": {
|
||||
"view": "advanced:views/dashlets/options/report",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"report": {
|
||||
"type": "link",
|
||||
"entity": "Report",
|
||||
"required": true,
|
||||
"view": "advanced:views/report/fields/dashlet-select"
|
||||
},
|
||||
"column": {
|
||||
"type": "enum",
|
||||
"options": []
|
||||
},
|
||||
"displayType": {
|
||||
"type": "enum",
|
||||
"default": "",
|
||||
"options": [
|
||||
"",
|
||||
"Chart",
|
||||
"List",
|
||||
"Chart-Total",
|
||||
"Total",
|
||||
"Table"
|
||||
],
|
||||
"translation": "Report.options.dashletDisplayType",
|
||||
"view": "advanced:views/dashlets/fields/display-type"
|
||||
},
|
||||
"useSiMultiplier": {
|
||||
"type": "bool"
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [
|
||||
0,
|
||||
0.5,
|
||||
1,
|
||||
2,
|
||||
5,
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"autorefreshInterval": 0,
|
||||
"useSiMultiplier": true,
|
||||
"displayType": ""
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"}
|
||||
],
|
||||
[
|
||||
{"name": "report"},
|
||||
{"name": "column"}
|
||||
],
|
||||
[
|
||||
{"name": "autorefreshInterval"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{
|
||||
"name": "displayType"
|
||||
},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "useSiMultiplier"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"fields": {
|
||||
"elementsDataHash": {
|
||||
"readOnly": true
|
||||
},
|
||||
"eventStartIdList": {
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"fields": {
|
||||
"flowchartElementsDataHash": {
|
||||
"readOnly": true
|
||||
},
|
||||
"workflowId": {
|
||||
"readOnly": true
|
||||
},
|
||||
"parentProcess": {
|
||||
"readOnly": true
|
||||
},
|
||||
"flowchartData": {
|
||||
"readOnly": true
|
||||
},
|
||||
"createdEntitiesData": {
|
||||
"readOnly": true
|
||||
},
|
||||
"variables": {
|
||||
"readOnly": true
|
||||
},
|
||||
"endedAt": {
|
||||
"readOnly": true
|
||||
},
|
||||
"status": {
|
||||
"readOnly": true
|
||||
},
|
||||
"parentProcessFlowNode": {
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"parentProcess": {
|
||||
"readOnly": true
|
||||
},
|
||||
"childProcesses": {
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"fields": {
|
||||
"internalClassName": {
|
||||
"internal": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"portals": {
|
||||
"internal": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fields": {
|
||||
"isInternal": {
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"fields": {
|
||||
"number": {
|
||||
"type": "autoincrement",
|
||||
"dbType": "bigint"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Created",
|
||||
"Pending",
|
||||
"In Process",
|
||||
"Standby",
|
||||
"Processed",
|
||||
"Rejected",
|
||||
"Failed",
|
||||
"Interrupted"
|
||||
],
|
||||
"style": {
|
||||
"In Process": "default",
|
||||
"Processed": "success",
|
||||
"Pending": "warning",
|
||||
"Failed": "danger",
|
||||
"Rejected": "info",
|
||||
"Interrupted": "info"
|
||||
},
|
||||
"maxLength": 36
|
||||
},
|
||||
"elementId": {
|
||||
"type": "varchar",
|
||||
"maxLength": 36
|
||||
},
|
||||
"target": {
|
||||
"type": "linkParent"
|
||||
},
|
||||
"elementType": {
|
||||
"type": "varchar",
|
||||
"maxLength": 36
|
||||
},
|
||||
"element": {
|
||||
"type": "varchar",
|
||||
"view": "advanced:views/bpmn-flow-node/fields/element",
|
||||
"notStorable": true
|
||||
},
|
||||
"elementData": {
|
||||
"type": "jsonObject"
|
||||
},
|
||||
"data": {
|
||||
"type": "jsonObject"
|
||||
},
|
||||
"previousFlowNodeElementType": {
|
||||
"type": "varchar",
|
||||
"maxLength": 36
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime"
|
||||
},
|
||||
"proceedAt": {
|
||||
"type": "datetime"
|
||||
},
|
||||
"processedAt": {
|
||||
"type": "datetime"
|
||||
},
|
||||
"userTaskId": {
|
||||
"type": "varchar",
|
||||
"notStorable": true
|
||||
},
|
||||
"subProcessId": {
|
||||
"type": "varchar",
|
||||
"notStorable": true,
|
||||
"maxLength": 36
|
||||
},
|
||||
"isLocked": {
|
||||
"type": "bool"
|
||||
},
|
||||
"isDeferred": {
|
||||
"type": "bool"
|
||||
},
|
||||
"deferredAt": {
|
||||
"type": "datetime"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"target": {
|
||||
"type": "belongsToParent"
|
||||
},
|
||||
"process": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnProcess",
|
||||
"noJoin": true
|
||||
},
|
||||
"flowchart": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnFlowchart",
|
||||
"noJoin": true
|
||||
},
|
||||
"previousFlowNode": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnFlowNode",
|
||||
"noJoin": true
|
||||
},
|
||||
"divergentFlowNode": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnFlowNode",
|
||||
"noJoin": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "number",
|
||||
"asc": false
|
||||
},
|
||||
"indexes": {
|
||||
"statusTargetTypeElementType": {
|
||||
"columns": ["status", "targetType", "elementType"]
|
||||
},
|
||||
"statusElementType": {
|
||||
"columns": ["status", "elementType"]
|
||||
},
|
||||
"statusProcessId": {
|
||||
"columns": ["status", "processId"]
|
||||
}
|
||||
},
|
||||
"hooksDisabled": true
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"trim": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"category": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"targetType": {
|
||||
"type": "enum",
|
||||
"required": true,
|
||||
"view": "advanced:views/bpmn-flowchart/fields/entity-type",
|
||||
"readOnlyAfterCreate": true
|
||||
},
|
||||
"data": {
|
||||
"type": "jsonObject",
|
||||
"audited": true
|
||||
},
|
||||
"flowchart": {
|
||||
"type": "base",
|
||||
"view": "advanced:views/bpmn-flowchart/fields/flowchart",
|
||||
"notStorable": true,
|
||||
"exportDisabled": true,
|
||||
"importDisabled": true
|
||||
},
|
||||
"elementsDataHash": {
|
||||
"type": "jsonObject",
|
||||
"utility": true,
|
||||
"readOnly": true,
|
||||
"exportDisabled": true,
|
||||
"importDisabled": true
|
||||
},
|
||||
"isActive": {
|
||||
"type": "bool",
|
||||
"default": true,
|
||||
"audited": true
|
||||
},
|
||||
"hasNoneStartEvent": {
|
||||
"type": "bool",
|
||||
"utility": true,
|
||||
"readOnly": true,
|
||||
"exportDisabled": true,
|
||||
"importDisabled": true
|
||||
},
|
||||
"eventStartIdList": {
|
||||
"type": "jsonArray",
|
||||
"utility": true,
|
||||
"readOnly": true
|
||||
},
|
||||
"eventStartAllIdList": {
|
||||
"type": "jsonArray",
|
||||
"utility": true,
|
||||
"readOnly": true
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"processes": {
|
||||
"type": "hasMany",
|
||||
"entity": "BpmnProcess",
|
||||
"foreign": "flowchart"
|
||||
},
|
||||
"startWorkflows": {
|
||||
"type": "hasMany",
|
||||
"entity": "Workflow",
|
||||
"foreign": "flowchart",
|
||||
"utility": true,
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"category": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "flowcharts",
|
||||
"entity": "BpmnFlowchartCategory"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
},
|
||||
"targetTypeListToIgnore": [
|
||||
"ProductBrand",
|
||||
"QuoteItem",
|
||||
"OpportunityItem",
|
||||
"SalesOrderItem",
|
||||
"InvoiceItem"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"trim": true
|
||||
},
|
||||
"order": {
|
||||
"type": "int",
|
||||
"minValue": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple"
|
||||
},
|
||||
"parent": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"childList": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "children",
|
||||
"entity": "BpmnFlowchartCategory"
|
||||
},
|
||||
"children": {
|
||||
"type": "hasMany",
|
||||
"foreign": "parent",
|
||||
"entity": "BpmnFlowchartCategory",
|
||||
"readOnly": true
|
||||
},
|
||||
"flowcharts": {
|
||||
"type": "hasMany",
|
||||
"foreign": "category",
|
||||
"entity": "BpmnFlowchart"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "parent",
|
||||
"asc": true
|
||||
},
|
||||
"additionalTables": {
|
||||
"BpmnFlowchartCategoryPath": {
|
||||
"fields": {
|
||||
"id": {
|
||||
"type": "id",
|
||||
"dbType": "integer",
|
||||
"len": 11,
|
||||
"autoincrement": true
|
||||
},
|
||||
"ascendorId": {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
},
|
||||
"descendorId" : {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"repositoryClassName": "Espo\\Core\\Repositories\\CategoryTree"
|
||||
}
|
||||
@@ -0,0 +1,237 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"trim": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Created",
|
||||
"Started",
|
||||
"Ended",
|
||||
"Paused",
|
||||
"Stopped",
|
||||
"Interrupted"
|
||||
],
|
||||
"style": {
|
||||
"Started": "primary",
|
||||
"Ended": "success",
|
||||
"Paused": "warning",
|
||||
"Stopped": "info",
|
||||
"Interrupted": "info"
|
||||
},
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"default": "Created",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"targetType": {
|
||||
"type": "enum",
|
||||
"view": "advanced:views/bpmn-process/fields/target-type",
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"target": {
|
||||
"type": "linkParent",
|
||||
"view": "advanced:views/bpmn-process/fields/target",
|
||||
"required": true,
|
||||
"readOnlyAfterCreate": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"flowchartData": {
|
||||
"type": "jsonObject",
|
||||
"readOnly": true,
|
||||
"utility": true,
|
||||
"customizationDisabled": true,
|
||||
"layoutAvailabilityList": []
|
||||
},
|
||||
"startElementId": {
|
||||
"type": "varchar",
|
||||
"maxLength": 24,
|
||||
"required": true,
|
||||
"view": "advanced:views/bpmn-process/fields/start-element-id",
|
||||
"customizationDisabled": true,
|
||||
"readOnlyAfterCreate": true
|
||||
},
|
||||
"flowchartElementsDataHash": {
|
||||
"type": "jsonObject",
|
||||
"utility": true,
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true,
|
||||
"layoutAvailabilityList": []
|
||||
},
|
||||
"flowchartVisualization": {
|
||||
"type": "base",
|
||||
"readOnly": true,
|
||||
"view": "advanced:views/bpmn-process/fields/flowchart-visualization",
|
||||
"notStorable": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"flowchart": {
|
||||
"type": "link",
|
||||
"required": true,
|
||||
"view": "advanced:views/bpmn-process/fields/flowchart",
|
||||
"customizationDisabled": true,
|
||||
"readOnlyAfterCreate": true
|
||||
},
|
||||
"parentProcess": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"parentProcessFlowNode": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"rootProcess": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"createdEntitiesData": {
|
||||
"type": "jsonObject",
|
||||
"utility": true,
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true,
|
||||
"layoutAvailabilityList": []
|
||||
},
|
||||
"variables": {
|
||||
"type": "jsonObject",
|
||||
"view": "advanced:views/bpmn-process/fields/variables",
|
||||
"readOnly": true,
|
||||
"utility": true,
|
||||
"customizationDisabled": true,
|
||||
"layoutAvailabilityList": []
|
||||
},
|
||||
"workflowId": {
|
||||
"type": "varchar",
|
||||
"maxLength": 36,
|
||||
"customizationDisabled": true,
|
||||
"readOnly": true
|
||||
},
|
||||
"isLocked": {
|
||||
"type": "bool",
|
||||
"customizationDisabled": true,
|
||||
"readOnly": true
|
||||
},
|
||||
"visitTimestamp": {
|
||||
"type": "int",
|
||||
"dbType": "bigint",
|
||||
"customizationDisabled": true,
|
||||
"readOnly": true
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user",
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams",
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"endedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"flowNodes": {
|
||||
"type": "hasMany",
|
||||
"entity": "BpmnFlowNode",
|
||||
"foreign": "process"
|
||||
},
|
||||
"userTasks": {
|
||||
"type": "hasMany",
|
||||
"entity": "BpmnUserTask",
|
||||
"foreign": "process"
|
||||
},
|
||||
"flowchart": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnFlowchart",
|
||||
"foreign": "processes"
|
||||
},
|
||||
"parentProcess": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnProcess",
|
||||
"foreign": "childProcesses"
|
||||
},
|
||||
"childProcesses": {
|
||||
"type": "hasMany",
|
||||
"entity": "BpmnProcess",
|
||||
"foreign": "parentProcess"
|
||||
},
|
||||
"parentProcessFlowNode": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnFlowNode",
|
||||
"foreignName": "id"
|
||||
},
|
||||
"rootProcess": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnProcess"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"target": {
|
||||
"type": "belongsToParent",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "createdAt",
|
||||
"asc": false
|
||||
},
|
||||
"indexes": {
|
||||
"createdAt": {
|
||||
"columns": ["createdAt"]
|
||||
},
|
||||
"statusCreatedAt": {
|
||||
"columns": ["status", "createdAt"]
|
||||
},
|
||||
"isLockedVisitTimestamp": {
|
||||
"columns": ["status", "isLocked", "visitTimestamp"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"fields": {
|
||||
"number": {
|
||||
"type": "autoincrement",
|
||||
"dbType": "bigint"
|
||||
},
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"maxLength": 200
|
||||
},
|
||||
"isTriggered": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
"triggeredAt": {
|
||||
"type": "datetime"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"flowNode": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnFlowNode",
|
||||
"foreignName": "id"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "number",
|
||||
"asc": false
|
||||
},
|
||||
"indexes": {
|
||||
"name": {
|
||||
"columns": ["name"]
|
||||
},
|
||||
"nameNumber": {
|
||||
"columns": ["name", "number"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"trim": true,
|
||||
"readOnly": true
|
||||
},
|
||||
"actionType": {
|
||||
"type": "enum",
|
||||
"options": ["Approve", "Review", "Accomplish"],
|
||||
"readOnly": true,
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"resolution": {
|
||||
"type": "enum",
|
||||
"options": ["", "Approved", "Rejected", "Reviewed", "Completed", "Failed", "Canceled"],
|
||||
"default": "",
|
||||
"style": {
|
||||
"Approved": "success",
|
||||
"Completed": "success"
|
||||
}
|
||||
},
|
||||
"target": {
|
||||
"type": "linkParent",
|
||||
"readOnly": true,
|
||||
"view": "advanced:views/bpmn-user-task/fields/target",
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"process": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"isResolved": {
|
||||
"type": "bool",
|
||||
"readOnly": true,
|
||||
"default": false,
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"instructions": {
|
||||
"type": "text",
|
||||
"readOnly": true,
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"flowNode": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationReadOnlyDisabled": true,
|
||||
"utility": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"resolutionNote": {
|
||||
"type": "text"
|
||||
},
|
||||
"isCanceled": {
|
||||
"type": "bool",
|
||||
"readOnly": true,
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"process": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnProcess"
|
||||
},
|
||||
"flowNode": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnFlowNode",
|
||||
"noJoin": true,
|
||||
"utility": true,
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"target": {
|
||||
"type": "belongsToParent",
|
||||
"foreign": "userTasks"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "createdAt",
|
||||
"asc": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"fields": {
|
||||
"from": {
|
||||
"reportDisabled": true
|
||||
},
|
||||
"to": {
|
||||
"reportDisabled": true
|
||||
},
|
||||
"cc": {
|
||||
"reportDisabled": true
|
||||
},
|
||||
"bcc": {
|
||||
"reportDisabled": true
|
||||
},
|
||||
"replyTo": {
|
||||
"reportDisabled": true
|
||||
},
|
||||
"folder": {
|
||||
"reportDisabled": true
|
||||
},
|
||||
"folderId": {
|
||||
"reportDisabled": true
|
||||
},
|
||||
"isUsers": {
|
||||
"reportDisabled": true,
|
||||
"workflowDisabled": true
|
||||
},
|
||||
"isNotRead": {
|
||||
"reportGroupByDisabled": true,
|
||||
"reportFilterDisabled": true,
|
||||
"reportOrderByDisabled": true,
|
||||
"workflowDisabled": true
|
||||
},
|
||||
"isRead": {
|
||||
"reportGroupByDisabled": true,
|
||||
"reportFilterDisabled": true,
|
||||
"reportOrderByDisabled": true,
|
||||
"workflowDisabled": true
|
||||
},
|
||||
"inTrash": {
|
||||
"reportGroupByDisabled": true,
|
||||
"reportFilterDisabled": true,
|
||||
"reportOrderByDisabled": true,
|
||||
"workflowDisabled": true
|
||||
},
|
||||
"isImportant": {
|
||||
"reportGroupByDisabled": true,
|
||||
"reportFilterDisabled": true,
|
||||
"reportOrderByDisabled": true,
|
||||
"workflowDisabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"links": {
|
||||
"reports": {
|
||||
"type": "hasMany",
|
||||
"entity": "Report",
|
||||
"foreign": "portals"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,353 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"trim": true
|
||||
},
|
||||
"entityType": {
|
||||
"type": "enum",
|
||||
"view": "advanced:views/report/fields/entity-type",
|
||||
"readOnlyAfterCreate": true
|
||||
},
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"default": "Grid",
|
||||
"options": ["Grid", "List", "JointGrid"],
|
||||
"readOnlyAfterCreate": true
|
||||
},
|
||||
"data": {
|
||||
"type": "jsonObject"
|
||||
},
|
||||
"columns": {
|
||||
"type": "jsonArray",
|
||||
"tooltip": true,
|
||||
"audited": true,
|
||||
"view": "views/fields/json-object"
|
||||
},
|
||||
"groupBy": {
|
||||
"type": "jsonArray",
|
||||
"tooltip": true,
|
||||
"audited": true,
|
||||
"view": "views/fields/json-object"
|
||||
},
|
||||
"orderBy": {
|
||||
"type": "jsonArray",
|
||||
"audited": true,
|
||||
"view": "views/fields/json-object",
|
||||
"tooltip": true
|
||||
},
|
||||
"orderByList": {
|
||||
"type": "varchar",
|
||||
"view": "advanced:views/report/fields/order-by-list"
|
||||
},
|
||||
"filters": {
|
||||
"type": "jsonArray"
|
||||
},
|
||||
"filtersDataList": {
|
||||
"type": "jsonArray",
|
||||
"audited": true,
|
||||
"view": "views/fields/json-object"
|
||||
},
|
||||
"runtimeFilters": {
|
||||
"type": "jsonArray",
|
||||
"tooltip": true
|
||||
},
|
||||
"filtersData": {
|
||||
"type": "jsonObject",
|
||||
"audited": true
|
||||
},
|
||||
"columnsData": {
|
||||
"type": "jsonObject",
|
||||
"audited": true
|
||||
},
|
||||
"chartColorList": {
|
||||
"type": "array",
|
||||
"tooltip": true,
|
||||
"view": "advanced:views/report/fields/chart-color-list",
|
||||
"validationList": [],
|
||||
"mandatoryValidationList": [
|
||||
"array",
|
||||
"arrayOfString",
|
||||
"valid"
|
||||
],
|
||||
"doNotStoreArrayValues": true
|
||||
},
|
||||
"chartColors": {
|
||||
"type": "jsonObject"
|
||||
},
|
||||
"chartColor": {
|
||||
"type": "colorpicker",
|
||||
"maxLength": 7,
|
||||
"default": "#6FA8D6"
|
||||
},
|
||||
"chartDataList": {
|
||||
"type": "jsonArray"
|
||||
},
|
||||
"chartOneColumns": {
|
||||
"type": "multiEnum",
|
||||
"notStorable": true,
|
||||
"view": "advanced:views/report/fields/chart-columns",
|
||||
"tooltip": true
|
||||
},
|
||||
"chartOneY2Columns": {
|
||||
"type": "multiEnum",
|
||||
"notStorable": true,
|
||||
"view": "advanced:views/report/fields/chart-columns",
|
||||
"tooltip": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"chartType": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"",
|
||||
"BarVertical",
|
||||
"BarHorizontal",
|
||||
"BarGroupedVertical",
|
||||
"BarGroupedHorizontal",
|
||||
"Pie",
|
||||
"Line",
|
||||
"Radar"
|
||||
],
|
||||
"optionListMap": {
|
||||
"0": ["", "BarVertical", "BarHorizontal"],
|
||||
"1": ["", "BarVertical", "BarHorizontal", "Pie", "Line", "Radar"],
|
||||
"2": ["", "BarVertical", "BarHorizontal", "BarGroupedVertical", "BarGroupedHorizontal", "Line"]
|
||||
}
|
||||
},
|
||||
"depth": {
|
||||
"type": "int"
|
||||
},
|
||||
"isInternal": {
|
||||
"type": "bool"
|
||||
},
|
||||
"internalClassName": {
|
||||
"type": "varchar",
|
||||
"readOnly": true
|
||||
},
|
||||
"category": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple"
|
||||
},
|
||||
"portals": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
},
|
||||
"emailSendingInterval": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"",
|
||||
"Daily",
|
||||
"Weekly",
|
||||
"Monthly",
|
||||
"Yearly"
|
||||
]
|
||||
},
|
||||
"emailSendingSettingMonth": {
|
||||
"type": "enum",
|
||||
"dbType": "int",
|
||||
"options": ["","1","2","3","4","5","6","7","8","9","10","11","12"],
|
||||
"view": "advanced:views/report/fields/email-sending-month"
|
||||
},
|
||||
"emailSendingSettingDay": {
|
||||
"type": "enum",
|
||||
"dbType": "int",
|
||||
"view": "advanced:views/report/fields/email-sending-day",
|
||||
"options": ["","1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32"]
|
||||
},
|
||||
"emailSendingSettingWeekdays": {
|
||||
"type": "varchar",
|
||||
"view": "advanced:views/report/fields/email-sending-weekdays"
|
||||
},
|
||||
"emailSendingTime": {
|
||||
"type": "base",
|
||||
"required": true,
|
||||
"dbType": "time",
|
||||
"view": "advanced:views/report/fields/email-sending-time"
|
||||
},
|
||||
"emailSendingUsers": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
},
|
||||
"emailSendingLastDateSent": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"emailSendingDoNotSendEmptyReport": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
"applyAcl": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
},
|
||||
"joinedReports": {
|
||||
"type": "linkMultiple",
|
||||
"entity": "Report",
|
||||
"notStorable": true,
|
||||
"columns": {
|
||||
"label": "joinedReportLabel"
|
||||
},
|
||||
"view": "advanced:views/report/fields/joined-reports"
|
||||
},
|
||||
"joinedReportLabel": {
|
||||
"type": "varchar",
|
||||
"notStorable": true,
|
||||
"utility": true
|
||||
},
|
||||
"joinedReportDataList": {
|
||||
"type": "jsonArray",
|
||||
"utility": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "EntityTeam"
|
||||
},
|
||||
"portals": {
|
||||
"type": "hasMany",
|
||||
"entity": "Portal",
|
||||
"foreign": "reports"
|
||||
},
|
||||
"syncTargetLists": {
|
||||
"type": "hasMany",
|
||||
"entity": "TargetList",
|
||||
"foreign": "syncWithReports"
|
||||
},
|
||||
"emailSendingUsers": {
|
||||
"type": "hasMany",
|
||||
"entity": "User",
|
||||
"foreign": "reportEmailSending"
|
||||
},
|
||||
"category": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "reports",
|
||||
"entity": "ReportCategory"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "name",
|
||||
"asc": true
|
||||
},
|
||||
"entityListToIgnore": [
|
||||
"Job",
|
||||
"UniqueId",
|
||||
"Role",
|
||||
"ScheduledJob",
|
||||
"ScheduledJobLogRecord",
|
||||
"PhoneNumber",
|
||||
"Notification",
|
||||
"EmailAddress",
|
||||
"EmailAccount",
|
||||
"EmailTemplate",
|
||||
"Attachment",
|
||||
"Extension",
|
||||
"InboundEmail",
|
||||
"AuthToken",
|
||||
"Integration",
|
||||
"ExternalAccount",
|
||||
"Currency",
|
||||
"Note",
|
||||
"Workflow",
|
||||
"Report",
|
||||
"Reminder",
|
||||
"PasswordChangeRequest",
|
||||
"Team",
|
||||
"GoogleCalendar",
|
||||
"GoogleCalendarUser",
|
||||
"GoogleCalendarRecurrentEvent",
|
||||
"MailChimpLogMarker",
|
||||
"MailChimp",
|
||||
"MailChimpCampaign",
|
||||
"MailChimpList",
|
||||
"MailChimpManualSync",
|
||||
"Import",
|
||||
"BpmnFlowchart",
|
||||
"WorkingTimeCalendar",
|
||||
"Template"
|
||||
],
|
||||
"entityListAllowed": [
|
||||
"CampaignLogRecord"
|
||||
],
|
||||
"complexExpressionFunctionList": [
|
||||
"DATE_NUMBER",
|
||||
"MONTH_NUMBER",
|
||||
"YEAR_NUMBER",
|
||||
"DAYOFWEEK_NUMBER",
|
||||
"HOUR_NUMBER",
|
||||
"MINUTE_NUMBER",
|
||||
"WEEK_NUMBER_0",
|
||||
"WEEK_NUMBER_1",
|
||||
"TRIM",
|
||||
"LENGTH"
|
||||
],
|
||||
"complexExpressionHavingFunctionList": [
|
||||
"COUNT",
|
||||
"SUM",
|
||||
"MAX",
|
||||
"MIN",
|
||||
"AVG"
|
||||
],
|
||||
"complexExpressionOperatorList": [
|
||||
"equals",
|
||||
"notEquals",
|
||||
"greaterThan",
|
||||
"lessThan",
|
||||
"greaterThanOrEquals",
|
||||
"lessThanOrEquals",
|
||||
"in",
|
||||
"notIn",
|
||||
"isTrue",
|
||||
"isFalse",
|
||||
"isNull",
|
||||
"isNotNull",
|
||||
"like"
|
||||
],
|
||||
"complexExpressionHavingOperatorList": [
|
||||
"equals",
|
||||
"notEquals",
|
||||
"greaterThan",
|
||||
"lessThan",
|
||||
"greaterThanOrEquals",
|
||||
"lessThanOrEquals"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"trim": true
|
||||
},
|
||||
"order": {
|
||||
"type": "int",
|
||||
"minValue": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple"
|
||||
},
|
||||
"parent": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"childList": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "children",
|
||||
"entity": "ReportCategory"
|
||||
},
|
||||
"children": {
|
||||
"type": "hasMany",
|
||||
"foreign": "parent",
|
||||
"entity": "ReportCategory",
|
||||
"readOnly": true
|
||||
},
|
||||
"reports": {
|
||||
"type": "hasMany",
|
||||
"foreign": "category",
|
||||
"entity": "Report"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "parent",
|
||||
"asc": true
|
||||
},
|
||||
"additionalTables": {
|
||||
"ReportCategoryPath": {
|
||||
"fields": {
|
||||
"id": {
|
||||
"type": "id",
|
||||
"dbType": "integer",
|
||||
"len": 11,
|
||||
"autoincrement": true
|
||||
},
|
||||
"ascendorId": {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
},
|
||||
"descendorId" : {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"trim": true,
|
||||
"maxLength": 50
|
||||
},
|
||||
"entityType": {
|
||||
"type": "enum",
|
||||
"required": true,
|
||||
"view": "views/fields/entity-type"
|
||||
},
|
||||
"order": {
|
||||
"type": "int",
|
||||
"minValue": 1,
|
||||
"required": true,
|
||||
"default": 1
|
||||
},
|
||||
"isActive": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
},
|
||||
"report": {
|
||||
"type": "link",
|
||||
"tooltip": true,
|
||||
"required": true,
|
||||
"view": "advanced:views/report-filter/fields/report"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"report": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Report"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "order",
|
||||
"asc": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"trim": true,
|
||||
"maxLength": 50
|
||||
},
|
||||
"entityType": {
|
||||
"type": "enum",
|
||||
"required": true,
|
||||
"view": "advanced:views/report-panel/fields/entity-type"
|
||||
},
|
||||
"reportEntityType": {
|
||||
"type": "foreign",
|
||||
"readOnly": true,
|
||||
"link": "report",
|
||||
"field": "entityType",
|
||||
"view": "views/fields/entity-type"
|
||||
},
|
||||
"isActive": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
},
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"default": "side",
|
||||
"options": ["side", "bottom"]
|
||||
},
|
||||
"column": {
|
||||
"type": "enum",
|
||||
"view": "advanced:views/report-panel/fields/column"
|
||||
},
|
||||
"columnList": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true
|
||||
},
|
||||
"columnsData": {
|
||||
"type": "jsonObject",
|
||||
"notStorable": true
|
||||
},
|
||||
"order": {
|
||||
"type": "int",
|
||||
"minValue": 1,
|
||||
"required": true,
|
||||
"default": 7,
|
||||
"tooltip": true
|
||||
},
|
||||
"displayType": {
|
||||
"type": "enum",
|
||||
"default": "",
|
||||
"options": [
|
||||
"",
|
||||
"Chart",
|
||||
"List",
|
||||
"Chart-Total",
|
||||
"Total",
|
||||
"Table"
|
||||
],
|
||||
"translation": "Report.options.dashletDisplayType",
|
||||
"view": "advanced:views/dashlets/fields/display-type"
|
||||
},
|
||||
"displayTotal": {
|
||||
"type": "bool"
|
||||
},
|
||||
"displayOnlyTotal": {
|
||||
"type": "bool"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
},
|
||||
"reportType": {
|
||||
"type": "foreign",
|
||||
"readOnly": true,
|
||||
"link": "report",
|
||||
"field": "type",
|
||||
"view": "views/fields/foreign-enum"
|
||||
},
|
||||
"report": {
|
||||
"type": "link",
|
||||
"tooltip": true,
|
||||
"required": true,
|
||||
"view": "advanced:views/report-panel/fields/report"
|
||||
},
|
||||
"dynamicLogicVisible": {
|
||||
"type": "jsonObject",
|
||||
"view": "advanced:views/report-panel/fields/dynamic-logic-visible"
|
||||
},
|
||||
"useSiMultiplier": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"report": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Report"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "createdAt",
|
||||
"asc": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"jobSchedulingMap": {
|
||||
"ReportTargetListSync": "0 2 * * *",
|
||||
"ScheduleReportSending": "0 * * * *",
|
||||
"RunScheduledWorkflows": "*/10 * * * *",
|
||||
"ProcessPendingProcessFlows": "* * * * *"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"fields": {
|
||||
"syncWithReportsEnabled": {
|
||||
"type": "bool",
|
||||
"inlineEditDisabled": true,
|
||||
"layoutAvailabilityList": [],
|
||||
"tooltip": true
|
||||
},
|
||||
"syncWithReports": {
|
||||
"type": "linkMultiple",
|
||||
"view": "advanced:views/target-list/fields/sync-with-reports",
|
||||
"layoutAvailabilityList": [],
|
||||
"tooltip": true
|
||||
},
|
||||
"syncWithReportsUnlink": {
|
||||
"type": "bool",
|
||||
"layoutAvailabilityList": [],
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"syncWithReports": {
|
||||
"type": "hasMany",
|
||||
"entity": "Report",
|
||||
"foreign": "syncTargetLists",
|
||||
"utility": true,
|
||||
"layoutRelationshipsDisabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"links": {
|
||||
"manualWorkflows": {
|
||||
"type": "hasMany",
|
||||
"entity": "Workflow",
|
||||
"foreign": "manualTeams"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"defaultTemplates": {
|
||||
"Report": {
|
||||
"body": "<h1>{{name}}</h1><br>{{reportTable border=1 borderColor=\"#333\" cellpadding=2}}",
|
||||
"footer": "<div style=\"text-align: center;\"><span style=\"font-size: 10px;\">{pageNumber}</span></div>"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"links": {
|
||||
"reportEmailSending": {
|
||||
"type": "hasMany",
|
||||
"entity": "Report",
|
||||
"foreign": "emailSendingUsers",
|
||||
"utility": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,432 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"trim": true
|
||||
},
|
||||
"entityType": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"view": "advanced:views/workflow/fields/entity-type",
|
||||
"tooltip": true
|
||||
},
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"afterRecordCreated",
|
||||
"afterRecordUpdated",
|
||||
"afterRecordSaved",
|
||||
"manual",
|
||||
"scheduled",
|
||||
"sequential",
|
||||
"signal"
|
||||
],
|
||||
"default": "afterRecordCreated",
|
||||
"index": true,
|
||||
"tooltip": true
|
||||
},
|
||||
"signalName": {
|
||||
"type": "varchar",
|
||||
"maxLength": 200,
|
||||
"trim": true,
|
||||
"options": [
|
||||
"@create",
|
||||
"@update",
|
||||
"@delete",
|
||||
"@leadCapture",
|
||||
"@optOut"
|
||||
],
|
||||
"audited": true
|
||||
},
|
||||
"isActive": {
|
||||
"type": "bool",
|
||||
"default": true,
|
||||
"audited": true
|
||||
},
|
||||
"isInternal": {
|
||||
"type": "bool",
|
||||
"default": false,
|
||||
"readOnly": true,
|
||||
"utility": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"conditionsAll": {
|
||||
"type": "jsonArray",
|
||||
"audited": true,
|
||||
"view": "views/fields/json-object"
|
||||
},
|
||||
"conditionsAny": {
|
||||
"type": "jsonArray",
|
||||
"audited": true,
|
||||
"view": "views/fields/json-object"
|
||||
},
|
||||
"conditionsFormula": {
|
||||
"type": "text",
|
||||
"audited": true
|
||||
},
|
||||
"actions": {
|
||||
"type": "jsonArray",
|
||||
"audited": true,
|
||||
"view": "views/fields/json-object"
|
||||
},
|
||||
"portalOnly": {
|
||||
"type": "bool",
|
||||
"tooltip": true,
|
||||
"audited": true
|
||||
},
|
||||
"portal": {
|
||||
"type": "link",
|
||||
"tooltip": true,
|
||||
"audited": true
|
||||
},
|
||||
"targetReport": {
|
||||
"type": "link",
|
||||
"view": "advanced:views/workflow/fields/target-report",
|
||||
"audited": true,
|
||||
"tooltip": true
|
||||
},
|
||||
"scheduling": {
|
||||
"type": "varchar",
|
||||
"maxLength": 48,
|
||||
"default": "0 0 * * *",
|
||||
"tooltip": true,
|
||||
"view": "advanced:views/workflow/fields/scheduling",
|
||||
"audited": true,
|
||||
"noSpellCheck": true,
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\FieldValidators\\Workflow\\Scheduling\\Valid"
|
||||
]
|
||||
},
|
||||
"schedulingApplyTimezone": {
|
||||
"type": "bool",
|
||||
"default": true,
|
||||
"tooltip": true
|
||||
},
|
||||
"lastRun": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"exportDisabled": true
|
||||
},
|
||||
"flowchart": {
|
||||
"type": "link",
|
||||
"noJoin": true,
|
||||
"utility": true,
|
||||
"exportDisabled": true,
|
||||
"importDisabled": true
|
||||
},
|
||||
"manualDynamicLogic": {
|
||||
"type": "jsonObject",
|
||||
"view": "advanced:views/workflow/fields/manual-dynamic-logic",
|
||||
"tooltip": true
|
||||
},
|
||||
"manualTeams": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
},
|
||||
"manualLabel": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100,
|
||||
"tooltip": true
|
||||
},
|
||||
"manualAccessRequired": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"read",
|
||||
"edit",
|
||||
"admin"
|
||||
],
|
||||
"default": "read",
|
||||
"tooltip": true
|
||||
},
|
||||
"manualElementType": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Button",
|
||||
"Dropdown-Item"
|
||||
],
|
||||
"default": "Button"
|
||||
},
|
||||
"manualConfirmation": {
|
||||
"type": "bool",
|
||||
"default": true,
|
||||
"tooltip": true
|
||||
},
|
||||
"manualConfirmationText": {
|
||||
"type": "text",
|
||||
"tooltip": true
|
||||
},
|
||||
"manualStyle": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"",
|
||||
"danger",
|
||||
"success",
|
||||
"info",
|
||||
"warning"
|
||||
],
|
||||
"translation": "LayoutManager.options.style",
|
||||
"style": {
|
||||
"danger": "danger",
|
||||
"success": "success",
|
||||
"info": "info",
|
||||
"warning": "warning"
|
||||
}
|
||||
},
|
||||
"category": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"processOrder": {
|
||||
"type": "int",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"default": 1
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"portal": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Portal"
|
||||
},
|
||||
"targetReport": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Report"
|
||||
},
|
||||
"category": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "workflows",
|
||||
"entity": "WorkflowCategory"
|
||||
},
|
||||
"manualTeams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"foreign": "manualWorkflows"
|
||||
},
|
||||
"workflowLogRecords": {
|
||||
"type": "hasMany",
|
||||
"entity": "WorkflowLogRecord",
|
||||
"foreign": "workflow"
|
||||
},
|
||||
"flowchart": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnFlowchart",
|
||||
"foreign": "startWorkflows"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "createdAt",
|
||||
"asc": false
|
||||
},
|
||||
"conditionFieldTypes": {
|
||||
"varchar": "varchar",
|
||||
"enum": "enum",
|
||||
"enumInt": "enum",
|
||||
"enumFloat": "enum",
|
||||
"phone": "varchar",
|
||||
"email": "varchar",
|
||||
"url": "varchar",
|
||||
"int": "int",
|
||||
"currency": "currency",
|
||||
"float": "float",
|
||||
"decimal": "decimal",
|
||||
"bool": "bool",
|
||||
"password": "varchar",
|
||||
"text": "text",
|
||||
"wysiwyg": "text",
|
||||
"link": "link",
|
||||
"file": "link",
|
||||
"image": "link",
|
||||
"linkParent": "linkParent",
|
||||
"date": "date",
|
||||
"datetime": "date",
|
||||
"datetimeOptional": "date",
|
||||
"linkMultiple": "linkMultiple",
|
||||
"attachmentMultiple": "attachmentMultiple",
|
||||
"checklist": "array",
|
||||
"multiEnum": "array",
|
||||
"array": "array",
|
||||
"urlMultiple": "array"
|
||||
},
|
||||
"fieldDefinitions": {
|
||||
"date": "date",
|
||||
"datetime": "date",
|
||||
"datetimeOptional": "date"
|
||||
},
|
||||
"fieldDefinitionsFieldViews": {
|
||||
"duration": "advanced:views/workflow/field-definitions/fields/duration"
|
||||
},
|
||||
"fieldTypeActions": {
|
||||
"linkMultiple": [
|
||||
"update",
|
||||
"add",
|
||||
"remove"
|
||||
],
|
||||
"array": [
|
||||
"update",
|
||||
"add",
|
||||
"remove"
|
||||
],
|
||||
"multiEnum": [
|
||||
"update",
|
||||
"add",
|
||||
"remove"
|
||||
],
|
||||
"checklist": [
|
||||
"update",
|
||||
"add",
|
||||
"remove"
|
||||
]
|
||||
},
|
||||
"fieldTypeComparison": {
|
||||
"enumInt": ["int"],
|
||||
"enumFloat": ["float", "decimal"],
|
||||
"date": ["datetime", "datetimeOptional"],
|
||||
"datetime": ["date", "datetimeOptional"],
|
||||
"datetimeOptional": ["date", "datetime"],
|
||||
"float": ["enumFloat", "int", "decimal"],
|
||||
"decimal": ["enumFloat", "int", "float"],
|
||||
"linkMultiple": "link",
|
||||
"email": ["varchar"],
|
||||
"phone": ["varchar"],
|
||||
"personName": ["varchar"],
|
||||
"varchar": ["email", "phone"],
|
||||
"text": ["varchar"],
|
||||
"wysiwyg": ["varchar"],
|
||||
"linkParent": ["link", "linkParent", "id"]
|
||||
},
|
||||
"ignoreActualAttributesOnValueCopyFieldList": [
|
||||
"personName",
|
||||
"email",
|
||||
"phone"
|
||||
],
|
||||
"entityListToIgnore": [
|
||||
"PhoneNumber",
|
||||
"Notification",
|
||||
"EmailAddress",
|
||||
"Attachment",
|
||||
"Extension",
|
||||
"Currency",
|
||||
"Reminder",
|
||||
"PasswordChangeRequest",
|
||||
"Workflow",
|
||||
"AuthToken",
|
||||
"Team",
|
||||
"Role",
|
||||
"EmailAccount",
|
||||
"EmailTemplate",
|
||||
"ExternalAccount",
|
||||
"Integration",
|
||||
"Job",
|
||||
"Preferences",
|
||||
"ScheduledJob",
|
||||
"ScheduledJobLogRecord",
|
||||
"Settings",
|
||||
"UniqueId",
|
||||
"InboundEmail",
|
||||
"BpmnFlowchart",
|
||||
"Report",
|
||||
"WorkingTimeCalendar",
|
||||
"Template"
|
||||
],
|
||||
"forcedSupportEntityList": [
|
||||
"LeadCaptureLogRecord"
|
||||
],
|
||||
"assignmentRuleList": [
|
||||
"Round-Robin",
|
||||
"Least-Busy"
|
||||
],
|
||||
"actionList": [
|
||||
"sendEmail",
|
||||
"createEntity",
|
||||
"createRelatedEntity",
|
||||
"updateEntity",
|
||||
"updateRelatedEntity",
|
||||
"relateWithEntity",
|
||||
"unrelateFromEntity",
|
||||
"applyAssignmentRule",
|
||||
"triggerWorkflow",
|
||||
"createNotification",
|
||||
"makeFollowed",
|
||||
"runService",
|
||||
"startBpmnProcess",
|
||||
"sendRequest",
|
||||
"executeFormula"
|
||||
],
|
||||
"serviceActions": {
|
||||
"Quote": {
|
||||
"addQuoteItemList": {
|
||||
"serviceName": "QuoteWorkflow",
|
||||
"methodName": "addItemList"
|
||||
},
|
||||
"convertCurrency": {
|
||||
"serviceName": "QuoteWorkflow",
|
||||
"methodName": "convertCurrency"
|
||||
},
|
||||
"sendInEmail": {
|
||||
"serviceName": "QuoteWorkflow",
|
||||
"methodName": "sendInEmail"
|
||||
}
|
||||
},
|
||||
"Invoice": {
|
||||
"addInvoiceItemList": {
|
||||
"serviceName": "InvoiceWorkflow",
|
||||
"methodName": "addItemList"
|
||||
},
|
||||
"convertCurrency": {
|
||||
"serviceName": "InvoiceWorkflow",
|
||||
"methodName": "convertCurrency"
|
||||
},
|
||||
"sendInEmail": {
|
||||
"serviceName": "InvoiceWorkflow",
|
||||
"methodName": "sendInEmail"
|
||||
}
|
||||
},
|
||||
"SalesOrder": {
|
||||
"addSalesOrderItemList": {
|
||||
"serviceName": "SalesOrderWorkflow",
|
||||
"methodName": "addItemList"
|
||||
},
|
||||
"convertCurrency": {
|
||||
"serviceName": "SalesOrderWorkflow",
|
||||
"methodName": "convertCurrency"
|
||||
},
|
||||
"sendInEmail": {
|
||||
"serviceName": "SalesOrderWorkflow",
|
||||
"methodName": "sendInEmail"
|
||||
}
|
||||
},
|
||||
"Opportunity": {
|
||||
"convertCurrency": {
|
||||
"serviceName": "OpportunityWorkflow",
|
||||
"methodName": "convertCurrency"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"trim": true
|
||||
},
|
||||
"order": {
|
||||
"type": "int",
|
||||
"minValue": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple"
|
||||
},
|
||||
"parent": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"childList": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "children",
|
||||
"entity": "WorkflowCategory"
|
||||
},
|
||||
"children": {
|
||||
"type": "hasMany",
|
||||
"foreign": "parent",
|
||||
"entity": "WorkflowCategory",
|
||||
"readOnly": true
|
||||
},
|
||||
"workflows": {
|
||||
"type": "hasMany",
|
||||
"foreign": "category",
|
||||
"entity": "Workflow"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "parent",
|
||||
"asc": true
|
||||
},
|
||||
"additionalTables": {
|
||||
"WorkflowCategoryPath": {
|
||||
"fields": {
|
||||
"id": {
|
||||
"type": "id",
|
||||
"dbType": "integer",
|
||||
"len": 11,
|
||||
"autoincrement": true
|
||||
},
|
||||
"ascendorId": {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
},
|
||||
"descendorId" : {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"fields": {
|
||||
"workflow": {
|
||||
"type": "link"
|
||||
},
|
||||
"target": {
|
||||
"type": "linkParent",
|
||||
"view": "advanced:views/workflow-log-record/fields/target"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"workflow": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Workflow",
|
||||
"foreign": "workflowLogRecords"
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"target": {
|
||||
"type": "belongsToParent"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"sortBy": "createdAt",
|
||||
"asc": false,
|
||||
"textFilterFields": ["workflowName"]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"fields": {
|
||||
"actionId": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100,
|
||||
"index": true
|
||||
},
|
||||
"entityType": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"lastUserId": {
|
||||
"type": "varchar"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"workflow": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Workflow"
|
||||
},
|
||||
"flowchart": {
|
||||
"type": "belongsTo",
|
||||
"entity": "BpmnFlowchart"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"assignmentNotificatorClassName": "Espo\\Modules\\Advanced\\Classes\\AssignmentNotificators\\BpmnUserTask"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"listLoaderClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\FieldProcessing\\BpmnFlowNode\\UserTaskLoader"
|
||||
],
|
||||
"forceSelectAllAttributes": true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"massActions": {
|
||||
"delete": {
|
||||
"allowed": true
|
||||
},
|
||||
"update": {
|
||||
"allowed": true
|
||||
}
|
||||
},
|
||||
"forceSelectAllAttributes": true
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"massActions": {
|
||||
"delete": {
|
||||
"allowed": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"actions": {
|
||||
"merge": {
|
||||
"disabled": true
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"flowNodes": {
|
||||
"selectAccessControlDisabled": true
|
||||
}
|
||||
},
|
||||
"readLoaderClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\FieldProcessing\\BpmnProcess\\FlowchartDataLoader"
|
||||
],
|
||||
"beforeUpdateHookClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\RecordHooks\\BpmnProcess\\BeforeUpdate"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"beforeUpdateHookClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\RecordHooks\\BpmnUserTask\\BeforeUpdate"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"massActions": {
|
||||
"delete": {
|
||||
"allowed": true
|
||||
},
|
||||
"update": {
|
||||
"allowed": true
|
||||
}
|
||||
},
|
||||
"loadAdditionalFieldsAfterUpdate": true,
|
||||
"readLoaderClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\FieldProcessing\\Report\\ChartOneLoader",
|
||||
"Espo\\Modules\\Advanced\\Classes\\FieldProcessing\\Report\\UnsetPortals"
|
||||
],
|
||||
"listLoaderClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\FieldProcessing\\Report\\UnsetPortals"
|
||||
],
|
||||
"forceSelectAllAttributes": true,
|
||||
"beforeCreateHookClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\RecordHooks\\Report\\BeforeCreate"
|
||||
],
|
||||
"beforeUpdateHookClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\RecordHooks\\Report\\BeforeUpdate"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"massActions": {
|
||||
"delete": {
|
||||
"allowed": true
|
||||
},
|
||||
"update": {
|
||||
"allowed": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"forceSelectAllAttributes": true
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"readLoaderClassNameList": [
|
||||
"Espo\\Modules\\Advanced\\Classes\\FieldProcessing\\ReportPanel\\Additional"
|
||||
],
|
||||
"forceSelectAllAttributes": true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"massActions": {
|
||||
"delete": {
|
||||
"allowed": true
|
||||
},
|
||||
"update": {
|
||||
"allowed": true
|
||||
}
|
||||
},
|
||||
"forceSelectAllAttributes": true
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"massActions": {
|
||||
"delete": {
|
||||
"allowed": true
|
||||
},
|
||||
"update": {
|
||||
"allowed": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": false,
|
||||
"acl": false,
|
||||
"module": "Advanced",
|
||||
"customizable": false,
|
||||
"importable": false,
|
||||
"notifications": false
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": true,
|
||||
"acl": true,
|
||||
"aclActionList": ["read"],
|
||||
"aclPortal": false,
|
||||
"module": "Advanced",
|
||||
"customizable": false,
|
||||
"importable": true,
|
||||
"notifications": false
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"entity": true,
|
||||
"module": "Advanced",
|
||||
"type": "CategoryTree",
|
||||
"categoryParentEntityType": "BpmnFlowchart",
|
||||
"categoryField": "category"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"entity": true,
|
||||
"object": true,
|
||||
"layouts": false,
|
||||
"tab": true,
|
||||
"acl": true,
|
||||
"aclActionList": ["create", "read", "edit", "delete", "stream"],
|
||||
"aclPortal": false,
|
||||
"module": "Advanced",
|
||||
"customizable": true,
|
||||
"importable": false,
|
||||
"notifications": true,
|
||||
"entityManager": {
|
||||
"formula": false,
|
||||
"layouts": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": false,
|
||||
"acl": false,
|
||||
"module": "Advanced",
|
||||
"customizable": false,
|
||||
"importable": false,
|
||||
"notifications": false
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"entity": true,
|
||||
"object": true,
|
||||
"layouts": true,
|
||||
"tab": true,
|
||||
"acl": true,
|
||||
"aclActionList": ["read", "edit", "delete"],
|
||||
"aclPortal": false,
|
||||
"module": "Advanced",
|
||||
"customizable": true,
|
||||
"importable": false,
|
||||
"notifications": true
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"workflow": true
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"workflow": true
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"workflow": true
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": true,
|
||||
"acl": true,
|
||||
"aclPortal": "recordAllNo",
|
||||
"aclPortalActionList": ["read"],
|
||||
"module": "Advanced",
|
||||
"customizable": false,
|
||||
"importable": true,
|
||||
"lastViewed": true,
|
||||
"pdfTemplate": true,
|
||||
"exportFormatList": ["csv"],
|
||||
"stars": true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": false,
|
||||
"acl": "recordAllTeamNo",
|
||||
"module": "Advanced",
|
||||
"customizable": false,
|
||||
"importable": false,
|
||||
"type": "CategoryTree",
|
||||
"notifications": false
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": false,
|
||||
"acl": false,
|
||||
"module": "Advanced",
|
||||
"customizable": false,
|
||||
"importable": false,
|
||||
"notifications": false
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": false,
|
||||
"acl": false,
|
||||
"module": "Advanced",
|
||||
"customizable": false,
|
||||
"importable": false,
|
||||
"notifications": false
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": true,
|
||||
"acl": false,
|
||||
"customizable":false,
|
||||
"module": "Advanced",
|
||||
"importable": true,
|
||||
"exportFormatList": ["csv"]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": false,
|
||||
"module": "Advanced",
|
||||
"customizable": false,
|
||||
"importable": false,
|
||||
"type": "CategoryTree",
|
||||
"notifications": false
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": false,
|
||||
"acl": false,
|
||||
"module": "Advanced",
|
||||
"customizable": false,
|
||||
"stream": false,
|
||||
"importable": false
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"entity": true,
|
||||
"layouts": false,
|
||||
"tab": false,
|
||||
"acl": false,
|
||||
"customizable": false,
|
||||
"module": "Advanced"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"workflow": true
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"primaryFilterClassNameMap": {
|
||||
"active": "Espo\\Modules\\Advanced\\Classes\\Select\\BpmnFlowchart\\PrimaryFilters\\Active",
|
||||
"activeHasNoneStartEvent": "Espo\\Modules\\Advanced\\Classes\\Select\\BpmnFlowchart\\PrimaryFilters\\ActiveHasNoneStartEvent",
|
||||
"isManuallyStartable": "Espo\\Modules\\Advanced\\Classes\\Select\\BpmnFlowchart\\PrimaryFilters\\IsManuallyStartable"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"primaryFilterClassNameMap": {
|
||||
"actual": "Espo\\Modules\\Advanced\\Classes\\Select\\BpmnProcess\\PrimaryFilters\\Actual",
|
||||
"ended": "Espo\\Modules\\Advanced\\Classes\\Select\\BpmnProcess\\PrimaryFilters\\Ended"
|
||||
},
|
||||
"accessControlFilterClassNameMap": {
|
||||
"mandatory": "Espo\\Modules\\Advanced\\Classes\\Select\\BpmnProcess\\AccessControlFilters\\Mandatory"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"primaryFilterClassNameMap": {
|
||||
"actual": "Espo\\Modules\\Advanced\\Classes\\Select\\BpmnUserTask\\PrimaryFilters\\Actual",
|
||||
"resolved": "Espo\\Modules\\Advanced\\Classes\\Select\\BpmnUserTask\\PrimaryFilters\\Resolved",
|
||||
"canceled": "Espo\\Modules\\Advanced\\Classes\\Select\\BpmnUserTask\\PrimaryFilters\\Canceled"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"primaryFilterClassNameMap": {
|
||||
"listTargets": "Espo\\Modules\\Advanced\\Classes\\Select\\Report\\PrimaryFilters\\ListTargets",
|
||||
"listAccounts": "Espo\\Modules\\Advanced\\Classes\\Select\\Report\\PrimaryFilters\\ListAccounts",
|
||||
"listContacts": "Espo\\Modules\\Advanced\\Classes\\Select\\Report\\PrimaryFilters\\ListContacts",
|
||||
"listLeads": "Espo\\Modules\\Advanced\\Classes\\Select\\Report\\PrimaryFilters\\ListLeads",
|
||||
"listUsers": "Espo\\Modules\\Advanced\\Classes\\Select\\Report\\PrimaryFilters\\ListUsers",
|
||||
"list": "Espo\\Modules\\Advanced\\Classes\\Select\\Report\\PrimaryFilters\\ListType",
|
||||
"grid": "Espo\\Modules\\Advanced\\Classes\\Select\\Report\\PrimaryFilters\\GridType"
|
||||
},
|
||||
"accessControlFilterClassNameMap": {
|
||||
"mandatory": "Espo\\Modules\\Advanced\\Classes\\Select\\Report\\AccessControlFilters\\Mandatory"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"accessControlFilterClassNameMap": {
|
||||
"mandatory": "Espo\\Modules\\Advanced\\Classes\\Select\\Workflow\\AccessControlFilters\\Mandatory"
|
||||
},
|
||||
"primaryFilterClassNameMap": {
|
||||
"active": "Espo\\Modules\\Advanced\\Classes\\Select\\Workflow\\PrimaryFilters\\Active"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user