Konstanten
...
Formeln
Weitere Informationen zu Formeln finden sich in der API-Dokumentation Formulas.
...
- node(".")
- node("/order/tisp")
- node("/order/activation/interception-type[list]")
...
- Type
- String (xpath) [String (suche nach value)]
...
- nodes(".")
- nodes(".","=='foobar'")
...
- Type
- String (xpath)
...
- nodeValue(node("/order/tisp"))
- nodeValue("/order/tisp")
...
- Type
- String (xpath)
...
- nodeValues(node("/order/activation/interception-type[list]")) = ["xxx", "yyy"]
- nodeValues("/order/activation/interception-type[list]") = ["xxx", "yyy"]
...
- String...
- Type (list)
- Array
...
- count("a", "b") = 2
- count(nodes(".")) = n
- count(node("/order/activation/interception-type[list]")) = n
...
- String, Array
- String, Number, Array
- String, String, Array
...
- arrayHelper("getFirst",nodes("."))
- arrayHelper("getLast",nodes("."))
- arrayHelper("removeNull",nodes("."))
- arrayHelper("removeDuplicate",nodes("."))
- arrayHelper("get",1,nodes("."))
- arrayHelper("removeEvery",2,nodes("."))
- arrayHelper("keepEvery",2,nodes("."))
- arrayHelper("startsWith","jax",nodes("."))
- arrayHelper("endsWith","jax",nodes("."))
- arrayHelper("contains","jax",nodes("."))
...
- String
- Number
- Array
...
- concat("A","B") = "AB"
- concat(integer(111111),integer(1112)) = 11111111112
- concat(nodeValues("/order/activation/interception-type[list]")) = "xxx-yyy"
...
getProcessReasons() = {
"reasons": [
{"processID": "123456", "type": "rejected", "message":"this is a message"},
{"processID": "123457", "type": "rejected", "message":"this is another message"}
]
}
...
- Number, String
- String, Number, String
...
Evaluiert einen Formelausdruck auf einem DOM eines Subprozesses eines Orders.
Wird keine GUID mitgegeben, wird der order auf welchem die Formel aufgerufen wird genommen.
...
- getProcessValue(110, "nodeValue("/Processing/processDefinitionID")")
- getProcessValue("7b8ad95f-b0d1-400d-b722-29f8f9510c2d", 110, "STATUS")
Um den DOM für den richtigen Subprozess zu bauen, ist zwingend immer die Sequenz des gewünschten Subprozesses anzugeben.
...
- Type, String
- String, String
Differenz zweier Datum
- Type, String, Type
- String, String, String
- String, String, Type
- Type, String, String
...
Pattern:
Für das Pattern wird ein gültiges ISO_DATE, ISO_TIME oder ISO_DATE_TIME entgegengenommen.
Modifier:
+, - oder == zusammen mit dem Datumstyp:
Y -> year
M -> month
D -> day
h -> hour
m -> minute
s -> second
S -> milli
...
- String
- String, boolean, boolean, boolean
...
- isPikettOrder("2019-08-01T09:59:51")
- isPikettOrder("2019-08-01T09:59:51", true, true, false)
String: Datum
boolean: checkWeekend (Samstag, Sonntag)
boolean: checkOfficeTime (Ausserhalb von 08:00 - 17:00)
boolean: checkFeiertage (Offizielle Schweizer-Feiertage)
...
Folgende Process Instructions sind verfügbar:
...
Details bestehenden Konstanten / Variablen und Formaten