Skip to content
Snippets Groups Projects
WorkflowSignal_entity.aod 6.45 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.17" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.17">
  <name>WorkflowSignal_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/WorkflowSignal_entity/documentation.adoc</documentation>
  <title>Signal</title>
  <titlePlural>Signals</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityField>
      <name>WORKFLOWSIGNALID</name>
    </entityField>
    <entityField>
      <name>SIGNAL_NAME</name>
      <title>Signal</title>
      <mandatory v="true" />
      <dropDownProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/signal_name/dropDownProcess.js</dropDownProcess>
    </entityField>
    <entityField>
      <name>SCOPE</name>
      <title>Scope</title>
    </entityField>
    <entityParameter>
      <name>ProcessDefinitionId_param</name>
      <expose v="true" />
      <mandatory v="true" />
    </entityParameter>
    <entityField>
      <name>OBJECT_TYPE</name>
      <title>Context</title>
      <consumer>Contexts</consumer>
    </entityField>
    <entityField>
      <name>TRIGGER_EVENT</name>
      <title>Trigger</title>
      <consumer>TriggerKeyword</consumer>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>OBJECT_CONDITION</name>
      <title>${CONDITION}</title>
      <contentType>FILTER_TREE</contentType>
      <valueProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/object_condition/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>Contexts</name>
      <dependency>
        <name>dependency</name>
        <entityName>Context_entity</entityName>
        <fieldName>Exclusive</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>Blacklist_param</name>
          <valueProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/contexts/children/blacklist_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>InvertBlacklist_param</name>
          <valueProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/contexts/children/invertblacklist_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>TriggerKeyword</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/triggerkeyword/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityProvider>
      <name>ProcessDefinitionSignals</name>
      <dependencies>
        <entityDependency>
          <name>f08ff63c-296a-4b1f-8264-b6b1e6c1d748</name>
          <entityName>WorkflowDefinition_entity</entityName>
          <fieldName>Signals</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityField>
      <name>PROCESSDEFINITION_KEY</name>
      <valueProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/processdefinition_key/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>ProcessDefinitionKey_param</name>
      <expose v="true" />
      <mandatory v="true" />
    </entityParameter>
    <entityField>
      <name>ICON</name>
      <contentType>IMAGE</contentType>
    </entityField>
    <entityField>
      <name>VARIABLES</name>
      <title>Variables</title>
      <dropDownProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/variables/dropDownProcess.js</dropDownProcess>
      <selectionMode>MULTI</selectionMode>
      <valueProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/variables/valueProcess.js</valueProcess>
    </entityField>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <conditionProcess>%aditoprj%/entity/WorkflowSignal_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <linkInformation>
        <linkInformation>
          <name>f6162cb6-c209-4607-8d67-0d630b28feab</name>
          <tableName>WORKFLOWSIGNAL</tableName>
          <primaryKey>WORKFLOWSIGNALID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>WORKFLOWSIGNALID.value</name>
          <recordfield>WORKFLOWSIGNAL.WORKFLOWSIGNALID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT_CONDITION.value</name>
          <recordfield>WORKFLOWSIGNAL.OBJECT_CONDITION</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT_TYPE.value</name>
          <recordfield>WORKFLOWSIGNAL.OBJECT_TYPE</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SIGNAL_NAME.value</name>
          <recordfield>WORKFLOWSIGNAL.SIGNAL_NAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TRIGGER_EVENT.value</name>
          <recordfield>WORKFLOWSIGNAL.TRIGGER_EVENT</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TRIGGER_EVENT.displayValue</name>
          <expression>%aditoprj%/entity/WorkflowSignal_entity/recordcontainers/db/recordfieldmappings/trigger_event.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PROCESSDEFINITION_KEY.value</name>
          <recordfield>WORKFLOWSIGNAL.PROCESSDEFINITION_KEY</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>VARIABLES.value</name>
          <recordfield>WORKFLOWSIGNAL.VARIABLES</recordfield>
        </dbRecordFieldMapping>
      </recordFieldMappings>
    </dbRecordContainer>
  </recordContainers>
</entity>