All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rules.templates.template.drl Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
template header
ruleId
salienceVal
ruleEnabled
dateEffective
dateExpires
whenCondition
thenAction

import java.util.HashMap;
import java.util.ArrayList;
import org.slf4j.Logger;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.netgrif.application.engine.utils.DateUtils;

import com.netgrif.application.engine.workflow.domain.*
import com.netgrif.application.engine.petrinet.domain.*
import com.netgrif.application.engine.petrinet.domain.events.*
import com.netgrif.application.engine.rules.domain.facts.*

import org.quartz.*

<%= imports %>

<%= globals %>

template "standard_template"

rule "@{ruleId}" salience @{salienceVal}
  dialect "mvel"
  enabled @{ruleEnabled}
  @{dateEffective}
  @{dateExpires}
  when
    @{whenCondition}
  then
    @{thenAction}
end
end template




© 2015 - 2025 Weber Informatics LLC | Privacy Policy