Avatar

Level 4

Hello @Klaster

As I understand, you would like to know if a query activity is in design state. 

If a workflow query activity does not contain the XML element "<humanCond>" it means this query activity just dragged into workflow but it has not been configured. 

 

For e.g: This query does not contain the humanCond element. This is in design

 

<query collision="0" distinct="true" img="nms:activities/query.png" keepAllExtraData="false"
label="Query" mask="0" name="query" noAutoPk="false" noAutoPkFilter="false"
onError="0" runOnSimulation="true" schema="nms:recipient" timezone="_inherit_"
useSource="false" x="350" y="205">

 

Below activity contain code, so it is ready.

 

<query collision="0" distinct="true" img="nms:activities/query.png" keepAllExtraData="false"
label="undefined" mask="0" name="query" noAutoPk="false" noAutoPkFilter="false"
onError="0" runOnSimulation="true" schema="nms:recipient" timezone="_inherit_"
useSource="0" x="350" y="205">
<transitions>
<result enabled="true" label="Result" name="result"/>
</transitions>
<humanCond>Query: undefined</humanCond>
<where displayFilter="undefined" filterName="backGroundFilterFrm" id="1993998356"/>
</query>
<transitions>
<result enabled="true" label="Result" name="result"/>
</transitions>
</query>

 

In the input form, you can call a function at leave, and check the data of workflow.

 

Thanks. 

Parvesh.