Flow_0bh8vly
Flow_0bh8vly
Flow_12pk64d
import org.camunda.spin.*
TIME_ZONE = "UTC"
def log(String message, String timeZone = TIME_ZONE) {
def now = new Date()
String timeStamp = now.format("yyyy-MM-dd'T'HH:mm:ss.SSS", TimeZone.getTimeZone(timeZone))
println "$timeStamp: $message"
}
try {
execution.setVariable("collectionOfUpdates", S("[" + execution.getVariable("event").toString() + "]"))
execution.setVariable("loopCounter",0)
} catch (Exception ex) {
log("Update Runner script error: " + ex.getMessage())
}
Flow_0nj6ym7
Flow_1kd6ece
Flow_0swinov
Flow_1kd6ece
Flow_0dytcou
Flow_0tdilp8
Flow_1r5hu5z
Flow_1e6e8e6
import org.camunda.spin.*
TIME_ZONE = "UTC"
def log(String message, String timeZone = TIME_ZONE) {
def now = new Date()
String timeStamp = now.format("yyyy-MM-dd'T'HH:mm:ss.SSS", TimeZone.getTimeZone(timeZone))
println "$timeStamp: $message"
}
try {
log("Add Update Script - Starting AddUpdateToSubProcess script")
collectionOfUpdates = execution.getVariable("collectionOfUpdates")
SpinList collectionOfUpdates_list = collectionOfUpdates.elements();
addEvent = execution.getVariable("addEvent")
collectionOfUpdates_list.add(addEvent)
execution.setVariable("collectionOfUpdates", S(collectionOfUpdates_list.toString()))
} catch (Exception ex) {
log("Add Update Script - ERROR Adding Update to Update Runner - Message: ${ ex.getMessage()}")
}
Flow_0dytcou
Flow_1r5hu5z
Flow_0tdilp8
Flow_0mxurho
P30D
Flow_0xs2vnh
Flow_0lrrdax
import org.camunda.spin.*
TIME_ZONE = "UTC"
def log(String message, String timeZone = TIME_ZONE) {
def now = new Date()
String timeStamp = now.format("yyyy-MM-dd'T'HH:mm:ss.SSS", TimeZone.getTimeZone(timeZone))
println "$timeStamp: $message"
}
try {
log("Add Update Script - Starting AddUpdateToSubProcess script")
collectionOfUpdates = execution.getVariable("collectionOfUpdates")
SpinList collectionOfUpdates_list = collectionOfUpdates.elements();
addEvent = execution.getVariable("addEvent")
collectionOfUpdates_list.add(addEvent)
execution.setVariable("collectionOfUpdates", S(collectionOfUpdates_list.toString()))
} catch (Exception ex) {
log("Add Update Script - ERROR Adding Update to Update Runner - Message: ${ ex.getMessage()}")
}
Flow_0mxurho
Flow_0lrrdax
Flow_1j8kkq8
Flow_0nj6ym7
Flow_0xs2vnh
Flow_12pk64d
Flow_1xzzdna
Flow_0v9ar6c
Flow_1j8kkq8
Flow_1e6e8e6
Flow_1xzzdna
import org.camunda.spin.*
TIME_ZONE = "UTC"
def log(String message, String timeZone = TIME_ZONE) {
def now = new Date()
String timeStamp = now.format("yyyy-MM-dd'T'HH:mm:ss.SSS", TimeZone.getTimeZone(timeZone))
println "$timeStamp: $message"
}
execution.setVariable("loopCounter", execution.getVariable("loopCounter")++)
execution.setVariable("event", execution.getVariable("addEvent"))
Flow_0swinov
Flow_0v9ar6c
import org.camunda.spin.*
TIME_ZONE = "UTC"
def log(String message, String timeZone = TIME_ZONE) {
def now = new Date()
String timeStamp = now.format("yyyy-MM-dd'T'HH:mm:ss.SSS", TimeZone.getTimeZone(timeZone))
println "$timeStamp: $message"
}
loopCounter = execution.getVariable("loopCounter")++
execution.setVariable("loopCounter",loopCounter)
collectionOfUpdates = execution.getVariable("collectionOfUpdates")
SpinList collectionOfUpdates_list = collectionOfUpdates.elements();
execution.setVariable("event", collectionOfUpdates_list[loopCounter])
import org.camunda.spin.*
TIME_ZONE = "UTC"
def log(String message, String timeZone = TIME_ZONE) {
def now = new Date()
String timeStamp = now.format("yyyy-MM-dd'T'HH:mm:ss.SSS", TimeZone.getTimeZone(timeZone))
println "$timeStamp: $message"
}
loopCounter = execution.getVariable("loopCounter")
log("LoopCounter: ${loopCounter.toString()}")
collectionOfUpdates = execution.getVariable("collectionOfUpdates")
SpinList collectionOfUpdates_list = collectionOfUpdates.elements();
log("Collection size: ${collectionOfUpdates_list.size().toString()}")
return collectionOfUpdates_list.size() > loopCounter+1