I have created a work flow which is triggered based on two events.
1.) BUS2038.CLOSED &
BUS2007.TECO is a customer created event and attached to status 'Technically somplete' of a PM Order. This is acheived via BSVW transaction. Workflow can be trigerred by any of these events.
It works fine if any one of the event is raised but if a PM order is being set to technically complete (Via Txn IW32) a pop up is diplayed which have an checkbox to close notification. On checking this checkbox both the events are simultaneously raised.
I have tried using an check funuction module and also putting an start condition via SWB_COND but it doesn't work as both the events are raised within a fraction of milliseconds.
Has anyone come across this situation earlier? Is there any way to stop triggering of one of the events? Or if there is any way of grouping the events so that any event within the group only sends one work item?
Any help would be greatly appreciated.
Thanks in advance,