Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: prashanthWould something like this work? It has the same output as you requested I believe. Just copy and paste below to your BRE. Of course, you would have to remove the Static Data nodes at the beginning and connect them to your table outputs.
node:Status_Reason
bretype:core::Static Data
editor:Label=Status_Reason
editor:sortkey=5447dd1b758f043b_2
output:@40fe6c55598828e5/=
prop:StaticData=<<EOX
CROSS_REFERENCE_ID,Status_Reason,Unavailablity Class
INC000000008760,1000,2000
INC000000010590,4000,2000
INC000000010591,2000,1000
EOX
editor:XY=90,100
end:Status_Reason
node:Data
bretype:core::Static Data
editor:Label=Data
editor:sortkey=5447dd1b758f043b
output:@40fe6c55598828e5/=
prop:StaticData=<<EOX
ARSCHEMANAME,FIELDNAME,ENUMID,ENUMVALUE
Unavailability,Status_Reason,1000,Scheduled
Unavailability,Status_Reason,2000,Maintenance
Unavailability,Status_Reason,3000,Out of Service
Unavailability,Status_Reason,4000,Obsolete
Unavailability,Status_Reason,5000,RMA - Return To Vendor
Unavailability,Unavailability Class,1000,Change
Unavailability,Unavailability Class,2000,Incident
EOX
editor:XY=90,250
end:Data
node:Split
bretype:core::Split
editor:sortkey=54528daf365e1ae6
input:@40fd2c74167f1ca2/=Data.40fe6c55598828e5
output:@40fd2c7420761db6/=
output:@456df11556bd6bcf/=
prop:PredicateExpr=<<EOX
FIELDNAME!="Unavailability Class"
EOX
editor:XY=200,250
end:Split
node:Lookup
bretype:core::Lookup
editor:sortkey=5447de776e216164
input:@40fd2c746abc6dc7/=Status_Reason.40fe6c55598828e5
input:@40fd2c74486e4494/=Split.40fd2c7420761db6
output:@40fd2c7445835585/=
prop:InputKey=<<EOX
'Status_Reason'
EOX
prop:LookupKey=<<EOX
'ENUMID'
EOX
prop:Script=<<EOX
emit 1:*, '2:ENUMVALUE' as StatusReason
exclude '1:Status_Reason'
#emit 2:*
#exclude referencedFields(2,{{^LookupKey^}})
#where matchIsFound
# Note: If you want to avoid collisions with fields on the inputs
# prefix the second emit statement with the keyword "default"
# or "override".
EOX
editor:XY=260,190
end:Lookup
node:Lookup_3
bretype:core::Lookup
editor:sortkey=54528e7746953a8e
input:@40fd2c746abc6dc7/=Lookup.40fd2c7445835585
input:@40fd2c74486e4494/=Split.456df11556bd6bcf
output:@40fd2c7445835585/=
prop:InputKey=<<EOX
'Unavailablity Class'
EOX
prop:LookupKey=<<EOX
'ENUMID'
EOX
prop:Script=<<EOX
emit 1:*, '2:ENUMVALUE' as "Unavailability Class"
exclude '1:Unavailablity Class'
#emit 2:*
#exclude referencedFields(2,{{^LookupKey^}})
#where matchIsFound
# Note: If you want to avoid collisions with fields on the inputs
# prefix the second emit statement with the keyword "default"
# or "override".
EOX
editor:XY=470,190
end:Lookup_3