关于stimulus的问题,如何判断工单被新建呢?stimulus有相应的值吗
想请教一下各位大神,工单新建的时候stimulus字段没有相应的值吗?,我看到有如下几种,那么要如何判断工单是新建的状态呢?<stimuli>
<stimulus id="ev_assign" xsi:type="StimulusUserAction"/>
<stimulus id="ev_reassign" xsi:type="StimulusUserAction"/>
<stimulus id="ev_approve" xsi:type="StimulusUserAction"/>
<stimulus id="ev_reject" xsi:type="StimulusUserAction"/>
<stimulus id="ev_pending" xsi:type="StimulusUserAction"/>
<stimulus id="ev_timeout" xsi:type="StimulusInternal"/>
<stimulus id="ev_autoresolve" xsi:type="StimulusInternal"/>
<stimulus id="ev_autoclose" xsi:type="StimulusInternal"/>
<stimulus id="ev_resolve" xsi:type="StimulusUserAction"/>
<stimulus id="ev_close" xsi:type="StimulusUserAction"/>
<stimulus id="ev_reopen" xsi:type="StimulusUserAction"/>
<stimulus id="ev_wait_for_approval" xsi:type="StimulusUserAction"/>
</stimuli>
木有。stimulus是从一种状态转为另一种,新建之前没状态,没法转呀。。。。。。
需要控制的话可以重写对象的OnInsert方法。
页:
[1]