Syntax for the article workstate search with operator button, where only the workstates that apply to the Element are displayed:
<attribute path="[article.folderRef.workstateRef]" mode="Normal">
<ui labelPosition="Side" orientation="Horizontal">
<searchConditions xmlns="http://www.teradp.com/schemas/GN4/1/XmlSchemaExt.xsd">
<SearchNode
xmlns="http://www.teradp.com/schemas/GN4/1/SearchConditions.xsd"
xsi:type="SearchConditionList"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<List Op="In" Path="[workstate.levels]">
<IdList>
<IdName Name="Element" />
</IdList>
</List>
</SearchNode>
</searchConditions>
</ui>
</attribute>
Syntax for the article workstate search without operator button (default=In), where only the workstates that apply to the Element are displayed:
<attribute path="[article.folderRef.workstateRef]" mode="Normal" op="In">
<ui labelPosition="Side" orientation="Horizontal" opMode="Hidden">
<template kind="CheckBoxList" opMode="Hidden" />
<searchConditions xmlns="http://www.teradp.com/schemas/GN4/1/XmlSchemaExt.xsd">
<SearchNode
xmlns="http://www.teradp.com/schemas/GN4/1/SearchConditions.xsd"
xsi:type="SearchConditionList" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<List Op="In" Path="[workstate.levels]">
<IdList>
<IdName Name="Element" />
</IdList>
</List>
</SearchNode>
</searchConditions>
</ui>
</attribute>