I hereby claim:
- I am tpanagos on github.
- I am tpanagos (https://keybase.io/tpanagos) on keybase.
- I have a public key ASC0Z0hWyVHp2Kehki0au4b6KMJg1n0fqnKLYECVoSMywgo
To claim this, I am signing this object:
// eg. groovy testEL.groovy -D filename=hello '${filename:append("_world")}' | |
@Grab(group='org.apache.nifi', module='nifi-expression-language', version='1.12.1') | |
import org.apache.nifi.attribute.expression.language.* | |
def cli = new CliBuilder(usage:'groovy testEL.groovy [options] [expressions]', | |
header:'Options:') | |
cli.help('print this message') | |
cli.D(args:2, valueSeparator:'=', argName:'attribute=value', | |
'set value for given attribute') | |
def options = cli.parse(args) |
I hereby claim:
To claim this, I am signing this object:
val items = List(Item("Apple","Fruit", 1.50),Item("Pear", "Fruit", 2.00)) | |
val items_on_sale = items.map(_.copy(price = 0.50)) |
var lib = require('./libs/helpers'); | |
function main(text, auth) { | |
var recType = '$$RECTYPE$$'; | |
var id = '$$ID$$'; | |
var tags = []; | |
var resp1 = lib.readShareByView(auth, recType, id); | |
if (resp1.err !== 1) { | |
print('currentCount = ' + JSON.stringify(resp1.meta.currentCount)); | |
print('recType = ' + JSON.stringify(resp1.recType)); | |
resp1.objs.forEach( function(obj) { |
<message id="reviewputmsg" name="reviewputmsg"></message> | |
<boundaryEvent id="reviewput" name="Message" attachedToRef="review" cancelActivity="false"> | |
<messageEventDefinition messageRef="reviewputmsg"></messageEventDefinition> | |
</boundaryEvent> |
create: function(){ | |
var model = this.get('controller').get('model'); | |
//generate object | |
var updateForm = { | |
recordType: 'com.comcast.questionset', | |
vars: { | |
name: model.name, | |
questions: { | |
"chatname": "Question of Record", | |
"inserts": model.inserts, |
actions: { | |
backDetailsAction: function () { | |
console.log("backDetails kickoff" + $('[name=wf_optionsOutcome]').val()); | |
$('[name=wf_optionsOutcome]').val('backDetails'); | |
this.set("isSubmitting", true ); | |
// here you could perform your actions like persisting to the server or so | |
$('#emberForm').submit(); | |
} | |
} |
actions: { | |
backDetailsAction: function () { | |
console.log("backDetails kickoff" + $('[name=wf_optionsOutcome]').val()); | |
$('[name=wf_optionsOutcome]').val('backDetails'); | |
this.set("isSubmitting", true ); | |
// here you could perform your actions like persisting to the server or so | |
$('#emberForm').submit(); | |
} | |
} |
"states": [ | |
{"LABEL":"Alabama","VALUE":"AL"}, | |
{"LABEL":"Alaska","VALUE":"AK"}, | |
{"LABEL":"Alberta","VALUE":"AB"}, | |
{"LABEL":"American Samoa","VALUE":"AS"}, | |
{"LABEL":"Arizona","VALUE":"AZ"}, | |
{"LABEL":"Arkansas","VALUE":"AR"}, | |
{"LABEL":"Armed Forces (AE)","VALUE":"AE"}, | |
{"LABEL":"Armed Forces Americas","VALUE":"AA"}, | |
{"LABEL":"Armed Forces Pacific","VALUE":"AP"}, |
val paramMap: JsObject = (Try(parameterMap.getValue(execution).asInstanceOf[JsObject]) match { | |
case Success(myObj: JsObject) => { | |
myObj | |
} | |
case Failure(myException) => { | |
foo | |
} | |
}) |