Finding parent based on property
Summary: I am trying to find the correct parent (GAAP (G0000) v/s Non GAAP (NG000)) based on custom property (GAPP (G) v/s Non GAAP (N)) from ERP Nodetype to any other Nodetype. Below is the node converter expression that I am trying but it is not working.
{
if (sourceNode.properties.FCGL.Summary.equals(false))
{
return sourceNode.properties.Core.Name
} else
{
if (sourceNode.properties.Custom.GAAP vs Non-GAAP.equals("G"))
{
return "G0000"
} else
{
return "NG000"
}
}
}
Content (required):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
1