title: How to compare a string value with values in enumeration in SRL
body: <p>as I am very new to blaze advisor and SRL. I am trying to compare a value with the elements in enumeration by Iterating it. below is the code.</p>
  <pre><code>    for each  CompanyList do 
  </code></pre>
  <p>{</p>
  <p>if(anApplicant.employementDetail.organisation=it) then{
  print(&quot;companies&quot; it).
  break.</p>
  <p>}</p>
  <p>But I am getting error saying</p>
  <pre><code>Error: 'type' and 'string' are incompatible types.  main.advprom    /assignProject [New Repository]/assignProject Folder/Testing    line 718    Blaze Advisor Compilation Problem
  </code></pre>
  <p>I can say that this is valid error, but I wanted to know how I can compare a value using Structure rule language.</p>