2021-03-04 17:32:13 +01:00
[
{
"op" : "core/column-addition" ,
"engineConfig" : {
"facets" : [
{
"type" : "list" ,
"name" : "M|PST" ,
"expression" : "isBlank(value)" ,
"columnName" : "M|PST" ,
"invert" : false ,
"omitBlank" : false ,
"omitError" : false ,
"selection" : [
{
"v" : {
"v" : false ,
"l" : "false"
}
}
] ,
"selectBlank" : false ,
"selectError" : false
}
] ,
"mode" : "record-based"
} ,
"baseColumnName" : "M|PST" ,
"expression" : "grel:if(value.contains('¬'),with(value.split('¬'), v, v[0].trim() + ' @' + v[1].trim()),value)" ,
"onError" : "set-to-blank" ,
"newColumnName" : "4002" ,
2021-03-06 00:18:50 +01:00
"columnInsertIndex" : 3 ,
"description" : "Create column 4002 at index 3 based on column M|PST using expression grel:if(value.contains('¬'),with(value.split('¬'), v, v[0].trim() + ' @' + v[1].trim()),value)"
2021-03-04 17:32:13 +01:00
}
]