Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<process-definition revision="0.1" name="Test">
<cursor>
<participant tag="_1" ref="Anfang"/>
<participant tag="_2" ref="Mitte"/>
<jump if="${field:reject} == true" to="_1"/>
</cursor>
</process-definition>
@tosch
tosch / lvb.js
Last active August 29, 2015 21:34
CmdUtils.CreateCommand({
names: ["lvb"],
description: "Reiseplanung der Nahverkehrsagentur Sachsen-Anhalt. Achtung: Umlaute funktionieren noch nicht so recht...",
help: "lvb starthaltestelle to endhaltestelle at zeit on datum",
arguments: [
{
role: 'source',
nountype: noun_arb_text,
label: 'Starthaltestelle'
},
puts "Die Biertester betreten den Raum (Initialisierung der Engine).\n\n"
require 'rubygems'
require 'openwfe/engine' # sudo gem install ruote
#
# start engine (not persistent, all workitems are lost after script execution)
#
engine = OpenWFE::Engine.new(:definition_in_launchitem_allowed => true)