Something went wrong on our end
WorkflowTask_entity.aod 11.19 KiB
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.14" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.14">
<name>WorkflowTask_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/WorkflowTask_entity/documentation.adoc</documentation>
<title>Task</title>
<grantCreate v="false" />
<grantUpdateProcess>%aditoprj%/entity/WorkflowTask_entity/grantUpdateProcess.js</grantUpdateProcess>
<grantDelete v="false" />
<imageProcess>%aditoprj%/entity/WorkflowTask_entity/imageProcess.js</imageProcess>
<titlePlural>Tasks</titlePlural>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
<dependencies>
<entityDependency>
<name>f199d701-3d7a-4dbe-abf5-2f5e598e9839</name>
<entityName>WorkflowDefinition_entity</entityName>
<fieldName>Tasks</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
</entityProvider>
<entityField>
<name>UID</name>
</entityField>
<entityField>
<name>FORMDEFINITION</name>
</entityField>
<entityField>
<name>FORMRESULT</name>
</entityField>
<entityField>
<name>NAME</name>
<title>Name</title>
</entityField>
<entityField>
<name>PROCESSDEFINITION_ID</name>
<displayValueProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/processdefinition_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>PROCESSINSTANCE_ID</name>
<title>Workflow instance</title>
<linkedContext>WorkflowInstance</linkedContext>
<displayValueProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/processinstance_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>CREATE_TIME</name>
<title>Creation date</title>
<contentType>DATE</contentType>
<state>READONLY</state>
</entityField>
<entityParameter>
<name>WorkflowDefinitionId_param</name>
<expose v="true" />
</entityParameter>
<entityActionField>
<name>completeTask</name>
<title>Complete task</title>
<onActionProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/completetask/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CHECK</iconId>
<stateProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/completetask/stateProcess.js</stateProcess>
<tooltip>Complete task</tooltip>
</entityActionField>
<entityParameter>
<name>OnlyForCurrentUser_param</name>
<expose v="true" />
</entityParameter>
<entityField>
<name>USER</name>
<title>User</title>
</entityField>
<entityProvider>
<name>InstanceTasks</name>
<dependencies>
<entityDependency>
<name>5913327f-1bb4-48b8-846e-639274290cee</name>
<entityName>WorkflowInstance_entity</entityName>
<fieldName>Tasks</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
<name>OnlyFinishedTasks_param</name>
<expose v="false" />
</entityParameter>
<entityParameter>
<name>IncludeServiceTasks_param</name>
<expose v="false" />
</entityParameter>
</children>
</entityProvider>
<entityParameter>
<name>WorkflowInstanceId_param</name>
<expose v="true" />
</entityParameter>
<entityField>
<name>DESCRIPTION</name>
<title>Description</title>
<state>READONLY</state>
</entityField>
<entityField>
<name>CATEGORY</name>
<title>Category</title>
<state>READONLY</state>
</entityField>
<entityField>
<name>ASSIGNEE</name>
<title>Responsible</title>
<consumer>Employees</consumer>
<displayValueProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/assignee/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>DUEDATE</name>
<title>Due</title>
<contentType>DATE</contentType>
<state>READONLY</state>
</entityField>
<entityField>
<name>OWNER</name>
<title>Owner</title>
<state>READONLY</state>
</entityField>
<entityField>
<name>TARGET_CONTEXT</name>
</entityField>
<entityField>
<name>TARGET_ID</name>
<title>Link</title>
<consumer>LinkedObject</consumer>
<linkedContextProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/target_id/linkedContextProcess.js</linkedContextProcess>
<state>READONLY</state>
<displayValueProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/target_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityParameter>
<name>TaskTitle_param</name>
<expose v="true" />
</entityParameter>
<entityActionField>
<name>claimTask</name>
<title>Claim task</title>
<onActionProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/claimtask/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CLIPBOARD_USER</iconId>
<stateProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/claimtask/stateProcess.js</stateProcess>
</entityActionField>
<entityField>
<name>ISACTIVE</name>
<title>Active</title>
<contentType>BOOLEAN</contentType>
<dropDownProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/isactive/dropDownProcess.js</dropDownProcess>
</entityField>
<entityField>
<name>CLAIM_TIME</name>
<title>Claim date</title>
<contentType>DATE</contentType>
</entityField>
<entityField>
<name>PRIORITY</name>
<title>Priority</title>
<state>READONLY</state>
</entityField>
<entityField>
<name>ICON</name>
<colorProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/icon/colorProcess.js</colorProcess>
<contentType>IMAGE</contentType>
</entityField>
<entityConsumer>
<name>Employees</name>
<dependency>
<name>dependency</name>
<entityName>Employee_entity</entityName>
<fieldName>EmployeesByUserId</fieldName>
</dependency>
</entityConsumer>
<entityParameter>
<name>OnlyFinishedTasks_param</name>
<expose v="true" />
</entityParameter>
<entityProvider>
<name>FinishedInstanceTasks</name>
<dependencies>
<entityDependency>
<name>d5d39281-0183-42fa-960a-01347cddc85a</name>
<entityName>WorkflowInstance_entity</entityName>
<fieldName>FinishedTasks</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
<name>OnlyFinishedTasks_param</name>
<valueProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/finishedinstancetasks/children/onlyfinishedtasks_param/valueProcess.js</valueProcess>
<expose v="false" />
</entityParameter>
</children>
</entityProvider>
<entityParameter>
<name>IncludeServiceTasks_param</name>
<expose v="true" />
</entityParameter>
<entityConsumer>
<name>LinkedObject</name>
<dependency>
<name>dependency</name>
<entityName>ObjectProxy_entity</entityName>
<fieldName>FilteredObjects</fieldName>
</dependency>
<children>
<entityParameter>
<name>Entity_param</name>
<valueProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/linkedobject/children/entity_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityActionGroup>
<name>tableActions</name>
<children>
<entityActionField>
<name>completeMultipleTasks</name>
<title>Complete tasks</title>
<onActionProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/tableactions/children/completemultipletasks/onActionProcess.js</onActionProcess>
<isObjectAction v="false" />
<isSelectionAction v="true" />
<iconId>VAADIN:CHECK</iconId>
<stateProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/tableactions/children/completemultipletasks/stateProcess.js</stateProcess>
</entityActionField>
</children>
</entityActionGroup>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>jdito</name>
<jDitoRecordAlias>Data_alias</jDitoRecordAlias>
<isFilterable v="true" />
<isSortable v="false" />
<contentProcess>%aditoprj%/entity/WorkflowTask_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
<onUpdate>%aditoprj%/entity/WorkflowTask_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
<recordFieldMappings>
<jDitoRecordFieldMapping>
<name>UID.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>NAME.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>PROCESSDEFINITION_ID.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>PROCESSINSTANCE_ID.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>CREATE_TIME.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>FORMDEFINITION.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>FORMRESULT.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>USER.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>DESCRIPTION.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>CATEGORY.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ASSIGNEE.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ASSIGNEE.displayValue</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>DUEDATE.value</name>
<isFilterable v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>OWNER.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>TARGET_CONTEXT.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>TARGET_ID.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>CLAIM_TIME.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ISACTIVE.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>PRIORITY.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ICON.value</name>
</jDitoRecordFieldMapping>
</recordFieldMappings>
</jDitoRecordContainer>
</recordContainers>
</entity>