Class EventTrigger

java.lang.Object
com.appiancorp.suiteapi.process.events.Event
com.appiancorp.suiteapi.process.events.EventTrigger
All Implemented Interfaces:
JSONable, JSONCacheable, Serializable
Direct Known Subclasses:
MessageEventTrigger, RuleEventTrigger, TimerEventTrigger

public abstract class EventTrigger extends Event
Represents an event trigger (an event that waits for something to occur before continuing flow). Event triggers include MessageEventTrigger, TimerEventTrigger, and RuleEventTrigger. An event trigger can occur on a start node (in which case it kicks off a new instance of the process), an intermediate node (in which case it stops flow until the condition is met), or attached to an activity as an exception trigger (in which case it is active while the activity is active, and it causes the exception flow to be taken if/when the condition is met).
See Also:
  • Constructor Details

    • EventTrigger

      public EventTrigger()
  • Method Details

    • createEventTrigger

      public static final EventTrigger createEventTrigger(Long type_)
      Creates a new EventTrigger object of the type coresponding with the type code passed in. Type codes can be found in the Event class. Possible types include Event.MESSAGE_EVENT_TRIGGER, Event.TIMER_EVENT_TRIGGER, and Event.RULE_EVENT_TRIGGER.
      Parameters:
      type_ - the type code for the message type to create
      Returns:
      the new EventTrigger object
    • getOutputs

      public String[] getOutputs()
      Gets the output expressions for the event.
      Returns:
      array of output expressions
      See Also:
    • setOutputs

      public void setOutputs(String[] outputs_)
      Sets the output expressions for the event.
      Parameters:
      outputs_ - array of output expressions to set
      See Also:
    • getRules

      public Rule[] getRules()
      Gets the firing rules for the event.
      Returns:
      array of rules
      See Also:
    • setRules

      public void setRules(Rule[] rules_)
      Sets the firing rules for the event.
      Parameters:
      rules_ - array of firing rules to set
      See Also: