I actually do that...
I use the unserialize function on the customfield first and then i perform the following condition against the array value:
<if condition="$customfields[7]==$name">
However... the condition doesn't work all the time... If it works on one variable value... it doesn't for another...
eg) $name = Sam works but $name = Kevin doesn't work... even though there is a value for "Kevin" the customfield array and the value being passed is "Kevin"... i checked for spacing, different lengths...
I can PM anyone specific examples if interested in the exact context
|