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

org.cristalise.dsl.scaffold.state_groovy.tmpl Maven / Gradle / Ivy

Go to download

CRISTAL-iSE Domain Specific Language module for bootstrapping and funtional testing

There is a newer version: 6.0.0
Show newest version
states = ['ACTIVE', 'DEACTIVATED']

def activateAct = Activity('State_Activate', 0) {
    Property('ItemProperty.State': states[0])
}

def deactivateAct = Activity('State_Deactivate', 0) {
    Property('ItemProperty.State': states[1])
}

def stateWf = Workflow('State_Manage', 0) {
    ElemActDef(activateAct)
    ElemActDef(deactivateAct)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy