Hi All,
Does the static velocity transform inject a known variable for implicit input, such as $input or $implicitInput?
I’m trying to create something re-usable for date fields which occur in multiple places in my source directory. So that I don’t create 5 rules for 5 dates (using multiple accountAttribute). I found I can basically create a NoOp using Trim(), but would like to know if there’s a cleaner way?
Working:
{
"name": "Plain Date to UTC Date",
"type": "static",
"attributes": {
"utcOffset": {
"attributes": {
"sourceName": "MySource",
"attributeName": "utcOffset"
},
"type": "accountAttribute"
},
"dateNoOp": {
"type": "trim",
"name": "Trim Transform"
},
"value": "$dateNoOp $utcOffset"
},
"internal": false
}
Is there something I’m missing in the documentation that would allow for this:
{
"name": "Plain Date to UTC Date",
"type": "static",
"attributes": {
"utcOffset": {
"attributes": {
"sourceName": "MySource",
"attributeName": "utcOffset"
},
"type": "accountAttribute"
},
"value": "$implicitInput $utcOffset"
},
"internal": false
}
I’ve tried input
, implicitInput
, and value
. I’m functional with my workaround, but wondering if there’s a cleaner approach?