Hi,

We have an issue where we are starting a workflow from policy
(do-start-workflow) action and everytime the condition is met it is
generating a workflow, hence multiple request is coming in the user's
queue.

is there a way to check whether workflow is already started and pending
for approval before submitting another in the user's queue.

Here is the policy condition that we are using -


Code:
--------------------
<rule>
<description>Get Clone Profile Name - start workflow</description>
<comment xml:space="preserve">start workflow</comment>
<conditions>
<and>
<if-association op="not-associated"/>
<if-class-name mode="nocase" op="equal">User</if-class-name>
<if-src-dn op="in-container">IDVAULT</if-src-dn>
</and>
</conditions>
<actions>
<do-start-workflow id="~authorizeduserdn~" url="~userappservername~" workflow-id="CN=AcctWF,CN=RequestDefs,CN=AppConfig,CN=UserA pplication,CN=DriverSet,O=services">
<arg-password>
<token-named-password name="workflowadminpasswd"/>
</arg-password>
<arg-dn>
<token-parse-dn dest-dn-format="ldap" src-dn-format="qualified-slash">
<token-xpath expression="@qualified-src-dn"/>
</token-parse-dn>
</arg-dn>
<arg-string name="systemName">
<token-global-variable name="srvname"/>
</arg-string>
<arg-string name="accountAccess">
<token-text xml:space="preserve">none</token-text>
</arg-string>
</do-start-workflow>
</actions>
</rule>

--------------------


--
edir4ever
------------------------------------------------------------------------
edir4ever's Profile: http://forums.novell.com/member.php?userid=28533
View this thread: http://forums.novell.com/showthread.php?t=349552