Discussions
Help Optimizing Formula
When I use this formula in an item saved search i get no problems.  In a different item saved search i get an unexpected error.  If I put the formula into a custom item field i get an invalid expression error.  I know there is more than one way to write this formula and get the info i need.  Can someone offer an alternative to this formula.  I'm hoping that writing the formula differently will help me avoid some of the errors.  I would appreciate the help!
CASE WHEN (LENGTH{parent}>1) THEN (CASE WHEN (LENGTH{custitem_matrix_parent.custitem_tabbed_descrip}>1) THEN SUBSTR({custitem_matrix_parent.custitem_tabbed_descrip},1,1000) ELSE SUBSTR({custitem_matrix_parent.storedetaileddescription},1,1000) END) ELSE SUBSTR({custitem_stand_item_descrip},1,1000) END