Skip to content
Snippets Groups Projects
Commit 21a44241 authored by Martin Groppe's avatar Martin Groppe
Browse files

Merge branch '1080981_standardWorkflows' into '2021.1.0'

1080981 standard workflows

See merge request xrm/basic!959
parents a465aaa8 9171f352
No related branches found
No related tags found
No related merge requests found
Showing
with 289 additions and 0 deletions
import("system.result");
import("system.vars");
import("system.neon");
var state = neon.COMPONENTSTATE_DISABLED;
if (vars.get("$field.selectedWorkflows"))
{
state = neon.COMPONENTSTATE_EDITABLE;
}
result.string(state);
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$field.excludeExisting"));
\ No newline at end of file
......@@ -212,6 +212,13 @@
<isObjectAction v="false" />
<iconId>NEON:PLUS</iconId>
</entityActionField>
<entityActionField>
<name>openStore</name>
<title>Standard workflows</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/tableactions/children/openstore/onActionProcess.js</onActionProcess>
<isObjectAction v="false" />
<iconId>VAADIN:PACKAGE</iconId>
</entityActionField>
</children>
</entityActionGroup>
<entityActionField>
......
import("system.neon");
neon.openContext("WorkflowDefinitionStore", "WorkflowDefinitionStore_view", null, neon.OPERATINGSTATE_VIEW, {});
\ No newline at end of file
......@@ -8632,6 +8632,63 @@
<entry>
<key>Global Cases </key>
</entry>
<entry>
<key>Attributes of attribute group \"%0\" have to be used at least %1.</key>
</entry>
<entry>
<key>Attributes of attribute group \"%0\" can't be used more than %1.</key>
</entry>
<entry>
<key>Add selected workflow</key>
</entry>
<entry>
<key>Profiling</key>
</entry>
<entry>
<key>Add all</key>
</entry>
<entry>
<key>Standard workflow</key>
</entry>
<entry>
<key>Standard workflows</key>
</entry>
<entry>
<key>Global</key>
</entry>
<entry>
<key>Bounce (Soft)</key>
</entry>
<entry>
<key>Test1</key>
</entry>
<entry>
<key>Bounce (Hard)</key>
</entry>
<entry>
<key>Smart TV</key>
</entry>
<entry>
<key>Desktop</key>
</entry>
<entry>
<key>Download selected workflow</key>
</entry>
<entry>
<key>Send workflow signal</key>
</entry>
<entry>
<key>Tablet</key>
</entry>
<entry>
<key>Blacklist</key>
</entry>
<entry>
<key>SubTest1</key>
</entry>
<entry>
<key>Exclude existing workflows</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
<sqlModels>
......
......@@ -11347,6 +11347,63 @@ Bitte Datumseingabe prüfen</value>
<entry>
<key>Global Cases </key>
</entry>
<entry>
<key>Add selected workflow</key>
<value>Ausgewählten Workflow hinzufügen</value>
</entry>
<entry>
<key>Profiling</key>
</entry>
<entry>
<key>Add all</key>
<value>Alle hinzufügen</value>
</entry>
<entry>
<key>Standard workflow</key>
<value>Standard Workflow</value>
</entry>
<entry>
<key>Standard workflows</key>
<value>Standard Workflows</value>
</entry>
<entry>
<key>Global</key>
</entry>
<entry>
<key>Bounce (Soft)</key>
</entry>
<entry>
<key>Test1</key>
</entry>
<entry>
<key>Bounce (Hard)</key>
</entry>
<entry>
<key>Smart TV</key>
</entry>
<entry>
<key>Desktop</key>
</entry>
<entry>
<key>Download selected workflow</key>
<value>Ausgewählten Workflow herunterladen</value>
</entry>
<entry>
<key>Send workflow signal</key>
</entry>
<entry>
<key>Tablet</key>
</entry>
<entry>
<key>Blacklist</key>
</entry>
<entry>
<key>SubTest1</key>
</entry>
<entry>
<key>Exclude existing workflows</key>
<value>Nur nicht vorhandene Workflows</value>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
......@@ -8717,6 +8717,63 @@
<entry>
<key>Global Cases </key>
</entry>
<entry>
<key>Attributes of attribute group \"%0\" have to be used at least %1.</key>
</entry>
<entry>
<key>Attributes of attribute group \"%0\" can't be used more than %1.</key>
</entry>
<entry>
<key>Add selected workflow</key>
</entry>
<entry>
<key>Profiling</key>
</entry>
<entry>
<key>Add all</key>
</entry>
<entry>
<key>Standard workflow</key>
</entry>
<entry>
<key>Standard workflows</key>
</entry>
<entry>
<key>Global</key>
</entry>
<entry>
<key>Bounce (Soft)</key>
</entry>
<entry>
<key>Test1</key>
</entry>
<entry>
<key>Bounce (Hard)</key>
</entry>
<entry>
<key>Smart TV</key>
</entry>
<entry>
<key>Desktop</key>
</entry>
<entry>
<key>Download selected workflow</key>
</entry>
<entry>
<key>Send workflow signal</key>
</entry>
<entry>
<key>Tablet</key>
</entry>
<entry>
<key>Blacklist</key>
</entry>
<entry>
<key>SubTest1</key>
</entry>
<entry>
<key>Exclude existing workflows</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
<?xml version="1.0" encoding="UTF-8"?>
<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.1.1">
<name>StandardWorkflow</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterView>StandardWorkflowFilter_view</filterView>
<lookupView>StandardWorkflowFilter_view</lookupView>
<entity>StandardWorkflow_entity</entity>
<references>
<neonViewReference>
<name>a30bfbf9-5e2a-4f9e-85b4-23763c228cb7</name>
<view>StandardWorkflowFilter_view</view>
</neonViewReference>
</references>
</neonContext>
<?xml version="1.0" encoding="UTF-8"?>
<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.1.1">
<name>WorkflowDefinitionStore</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<entity>WorkflowDefinitionStore_entity</entity>
<references>
<neonViewReference>
<name>3a038eee-9187-4d47-bd63-f6396c915627</name>
<view>WorkflowDefinitionStore_view</view>
</neonViewReference>
</references>
</neonContext>
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.8">
<name>StandardWorkflowFilter_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<tilesViewTemplate>
<name>Tiles</name>
<iconField>DIAGRAM</iconField>
<titleField>NAME</titleField>
<subtitleField>PROCESSKEY</subtitleField>
<descriptionField>DESCRIPTION</descriptionField>
<isDeletable v="false" />
<isEditable v="false" />
</tilesViewTemplate>
</children>
</neonView>
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.8">
<name>WorkflowDefinitionStore_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<size>SMALL</size>
<isOverlay v="true" />
<layout>
<headerFooterLayout>
<name>layout</name>
<header>Options</header>
<footer>Actions</footer>
</headerFooterLayout>
</layout>
<children>
<lookupViewTemplate>
<name>WorkflowLookup</name>
<consumerField>selectedWorkflows</consumerField>
<consumerPresentationMode>EMBEDDED</consumerPresentationMode>
</lookupViewTemplate>
<actionsViewTemplate>
<name>Actions</name>
<actions>
<element>deploySelectedWorkflow</element>
<element>downloadSelectedWorkflow</element>
<element>deployAllWorkflows</element>
</actions>
</actionsViewTemplate>
<genericViewTemplate>
<name>Options</name>
<editMode v="true" />
<fields>
<entityFieldLink>
<name>6f24b365-e339-4c32-9cf6-1cb7cbef1571</name>
<entityField>excludeExisting</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
</children>
</neonView>
......@@ -6,6 +6,14 @@ import("Sql_lib");
var variables = JSON.parse(vars.get("$local.value"));
var contactId = variables.contactId || variables.targetId;
var interestId = variables.interestId;
if (!interestId && variables.mailLogId)
{
interestId = newSelect("MAIL_RUN.INTERESTID")
.from("MAIL_LOG")
.join("MAIL_RUN", "MAIL_LOG.MAIL_RUN_ID = MAIL_RUN.MAIL_RUNID")
.where("MAIL_LOG.MAIL_LOGID", variables.mailLogId)
.cell();
}
var status = variables.status || $KeywordRegistry.interestLinkStatus$notSubscribed();
var interestLinkId = new SqlBuilder()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment