I am trying to create a work order using a particular event in another
driver. I need both technical help and some clarification of how work
order works, with an emphasis on the latter. My understanding is that if
one driver creates a Work Order (DirXML-WorkOrder) in the container that a
Work Order driver is polling, the Work Order driver will notice that newly
created Work Order and process it if appropriate. What I'd like to do is
create a WO with a process date of the current time plus 3 min. Looking
at the Creation policies, I am assuming that the driver will set certain
attributes on the WO (like DirXML-nwoSendToPublisher) when that time is
reached. Is this true? If not, am I misunderstanding something about WO
creation/dataflow?

Here is the rule I created on the "other" driver to create the Workflow -
I also have a policy in the Event Transform on the WO driver itself but
that isn't the problem - my WO is never being sent to the Publisher
channel. I hope it is only because my date format is incorrect but I
don't think that's true.

Thanks for any help.

<rule>
<description>Start Work Order</description>
<conditions>
<and>
<if-op-attr mode="nocase" name="Status" op="equal">I</if-op-attr>
<if-operation mode="case" op="equal">modify</if-operation>
</and>
</conditions>
<actions>
<do-set-local-variable name="order-dest-dn" scope="policy">
<arg-string>
<token-dest-dn/>
</arg-string>
</do-set-local-variable>
<do-add-dest-object class-name="DirXML-WorkOrder" when="after">
<arg-dn>
<token-text
xml:space="preserve">systemworkordersworkorder-</token-text>
<token-dest-attr class-name="User" name="workforceID"/>
</arg-dn>
</do-add-dest-object>
<do-add-dest-attr-value class-name="DirXML-WorkOrder"
name="DirXML-nwoContent" when="after">
<arg-dn>
<token-text
xml:space="preserve">systemworkordersworkorder-</token-text>
<token-dest-attr class-name="User" name="workforceID"/>
</arg-dn>
<arg-value>
<token-local-variable name="order-dest-dn"/>
</arg-value>
</do-add-dest-attr-value>
<do-add-dest-attr-value class-name="DirXML-WorkOrder"
name="DirXML-DueDate" when="after">
<arg-dn>
<token-text
xml:space="preserve">systemworkordersworkorder-</token-text>
<token-dest-attr class-name="User" name="workforceID"/>
</arg-dn>
<arg-value>
<token-time format="!CTIME" tz="UTC"/>
</arg-value>
</do-add-dest-attr-value>
<do-add-dest-attr-value class-name="DirXML-WorkOrder"
name="DirXML-nwoDeleteDueDate" when="after">
<arg-dn>
<token-text
xml:space="preserve">systemworkordersworkorder-</token-text>
<token-dest-attr class-name="User" name="workforceID"/>
</arg-dn>
<arg-value>
<token-time format="!CTIME" tz="UTC"/>
</arg-value>
</do-add-dest-attr-value>
</actions>
</rule>