Forum Discussion
viktor_n
4 years agoContributor II
Hi @shuo,
In this situation you can use .find()
function.
Here is one simple expression.
Check Null-safe Access in the Mapper.
$entity.entries.find(f => f.get('Pipeline') == 'Pipeline_Failed').Numbers
If for example there’s not ‘Pipeline_Failed’ when you validate/execute then will return you a null.
Regards,
Viktor
shuo
4 years agoNew Contributor
Hi, Viktor_n,
Thank you for your help, this is a better way!