Skip to content
Snippets Groups Projects
Commit 3ec65f92 authored by Tobias Feldmann's avatar Tobias Feldmann
Browse files

#1058838 enable ai salesproject probability in custom project preferences

parent cd2ff65e
No related branches found
No related tags found
No related merge requests found
......@@ -744,6 +744,7 @@
<name>PROBABILITY_AI</name>
<title>Wahrscheinlichkeit KI</title>
<state>READONLY</state>
<stateProcess>%aditoprj%/entity/Salesproject_entity/entityfields/probability_ai/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/Salesproject_entity/entityfields/probability_ai/valueProcess.js</valueProcess>
</entityField>
</entityFields>
......
import("system.result");
import("system.project");
if(!JSON.parse(project.getPreferenceValue("custom.ai.salesprojectProbability", "false")))
{
result.string("INVISIBLE");
}
\ No newline at end of file
......@@ -102,6 +102,11 @@
<description></description>
<property>http://localhost:8080/flowable-modeler/#/processes</property>
</customStringProperty>
<customBooleanProperty>
<name>ai.salesprojectProbability</name>
<description></description>
<property v="false" />
</customBooleanProperty>
</customProperties>
<customConfigProperties>
<customBooleanProperty>
......
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