conditional expressions - LLM
This commit is contained in:
parent
9463d08d13
commit
687b25416e
2 changed files with 3033 additions and 0 deletions
|
|
@ -0,0 +1,35 @@
|
|||
package ai.dynamixs;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.imixs.workflow.engine.ConditionalExpressionEvent;
|
||||
import org.imixs.workflow.faces.data.WorkflowEvent;
|
||||
|
||||
import jakarta.enterprise.event.Observes;
|
||||
|
||||
/**
|
||||
* Debug class to test CDI Events of type BPMNConditionEvent
|
||||
*/
|
||||
public class ConditionalDebugAdapter implements Serializable {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(ConditionalDebugAdapter.class.getName());
|
||||
|
||||
/**
|
||||
* Test method
|
||||
*
|
||||
* @param conditionEvent
|
||||
*/
|
||||
public void onConditionEvent(@Observes ConditionalExpressionEvent conditionalEvent) {
|
||||
|
||||
logger.info("We observe a BPMNConditionEvent -> SET FALSE");
|
||||
|
||||
conditionalEvent.setCondition("false");
|
||||
}
|
||||
|
||||
public void onWorkflowEvent(@Observes WorkflowEvent conditionEvent) {
|
||||
|
||||
logger.info("We observe a WorkflowEvent");
|
||||
|
||||
}
|
||||
}
|
||||
2998
workflow/de/rechnungsausgang-de-1.0.1-debug.bpmn
Normal file
2998
workflow/de/rechnungsausgang-de-1.0.1-debug.bpmn
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue