Thanks for your reply Anthony.
I will review your code and try things at my end. I am a bit concerned though since my config doesn't define any Dynamic Map Service Layers with sub-layers, rather just Feature layers one after the other with no grouping. For example:
<operationallayers coordSystemID="102187" coordSystemName="NAD_1983_3TM_114">
<layer label="Location - ATS" type="feature" visible="true" alpha="1"
url="http://server.com/arcgis/rest/services/XYZ/XYZ_ABCD/MapServer/0"
assess="True" constraintType="Geog" constraintSubType="Provincial" fieldAttribute1="TWP" fieldAttribute2="SC"/>
<layer label="Airport Base" type="feature" visible="true" alpha="1"
url="http://server.com/arcgis/rest/services/XYZ/XYZ_ABCD/MapServer/2"
assess="False" constraintType="" constraintSubType="" fieldAttribute1="" fieldAttribute2=""/>
<layer label="Assessment Area" type="feature" visible="true" alpha="1"
url="http://server.com/arcgis/rest/services/XYZ/XYZ_ABCD/MapServer/8"
assess="True" constraintType="System" constraintSubType="Test" fieldAttribute1="AssessArea" fieldAttribute2="AssessArea"/>
</operationallayers>
Finally, in case I wasn't clear in original post, I need the current state and not the state as specified in the config file.
Thanks again for your help.
Robert.