rules.templates.template.drl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
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