HI everyone,
Could you help explain me how below code works? The character "_" is new to me and I cannot find any documentation for it.
apply( contains( index( local!childTask, "id", null ), _ ), index( local!parent, "id", null ) )
Discussion posts and replies are publicly visible
first thing first, Apply function has been replaced with foreach. Or I would say Foreach is better way of implementing looping logics.
In your case, - would be replaced with value of the id from parent variable.You can implement same logic with )
a!forEach( items: index( local!parent, "id", null ), expression: contains( index( local!childTask, "id", null ), fv!item ), )