Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

   
ConstructModifierDomainDescriptionDefaultExample of Syntax
Workflow  Examples:

 

Background Color

te

 

<Workflow Limit="1" Live="1" Timeout="-1">
 
 Limit-1..nThe maximum number of workflow instances of the same model waiting at any given time (they are pre-created instances existing in the buffer)10
 Live-1..nThe maximum number of workflow instances of the same model allowed to run (in parallel) at the same time. (For example, a workflow receives inputs of X value and Y value and calculates X+Y=Z. When the first X and Y values are received, a workflow instance starts the process of calculation. While the calculation is taking 1 second to complete, a new set of X and Y values are received before the current instance is completed. Therefore a new workflow instance will start calculating X+Y from the new values. These two instances are running in parallel10
 Timeout-1..nPeriod The period of time of inactivity after which a workflow instance is considered dead and removed from the buffer. Both XSD time period format and plain number of milliseconds are allowed. If there is no activity of workflow for this period of time, remove it from bufferPT1M
      
Task    
  While

true, false

 

Logical expression for repeatable tasks (only true/false is currently supported) (if false use variable not streams)false
       

Invoke

 

    
 SkipIf (skip-if)true, falseA logical expression to skip the invoke execution (mutually exclusive with OnlyIf) - output will be null  
 OnlyIf (only-if)true, falseA logical expression to execute invoke conditionally (mutually exclusive with SkipIf)  
 DelayDurationSynonym for DelayBefore (mutually exclusive with DelayUntil, Timeout) 
  DelayBeforeDurationInvoke execution delay interval (delay before invoke starts executing) - Mutually exclusive with Timeout and DelayUntil 
  DelayAfterDurationTime to wait after invoke completed for the next invoke in the same task to start  
 DelayUntilDateTimeAbsolute invoke execution time (Mutually exclusive with DelayBefore and Timeout)  
 GetURI   
 PostURI   
 PutURI  
  DeleteURI  
  WaitFor A logical expression of possibly multiple outputs/events 
  TimeoutDurationInvoke type dependent hint. Different invoke types may interpret it differently (Mutually exclusive with Delay and DelayUntil) - only relevant if handler understands it, maybe not be in use currently (synonym of delay), use delay instead  
 UnlessName of the Output from another taskDelay termination output/event. Usually used with timeout/delay