AW: Start a workflow due to a status change of a document

Schmidinger, Heinz (Unaxis IT BZ) heinz.schmidinger at unaxis.com
Fri May 23 08:55:12 EDT 2003


Hi Werner,
 
I had the same problem when I tried to use the build in functionality =
of
DMWS to start WF's/Task's out of DMS-CHANGE-STATUS.
When I defined Event DRAW.CHANGE as starting Event for the WF the WF =
start's
but twice. One time out of DRAW.CHANGE.WS....., one time out of
DRAW.CHANGE.DOKST.
 
But from other discussions at this plenum I have read some weeks ago =
that it
should run at least for TS.
 
I know this is not just a helpful message but all I know myself.
 
What I have done is to implement in the DMS-BADI ...change_status... my =
own
events.
 
greetings
 
Heinz
 
-----Urspr=FCngliche Nachricht-----
Von: Werner K=F6=DFl [mailto:werner.koessl at hirschvogel.de]
Gesendet am: Freitag, 23. Mai 2003 14:27
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: AW: Start a workflow due to a status change of a document
 
Hello Heinz, Simone, Phil.
Thanks for the quick response!
 
Heinz: I first tried WS and then i tried TS, but it was still the same.
Simone: There is no manual binding between the event and the workflow,
        because the application has to start the workflow.
        The event receiver isn't WS... or TS..., but DOKST.
          I insert the WS or TS in the customizing of the application.
          (SPRO -> Cross-Application Components -> DMS -> Control Data
           -> Define document types -> Choose one type -> Choose one
status.)
Phil: When i use the transaction SWUE with DRAW->CHANGED and create the
event:
      Event was created - At least one event receiver was found!
        But there's an interesting point when i look again to the event
trace:
        When i just create the event there are only red lights in the =
trace.
      And when i insert the status (where i inserted the workflow =
template)
        as an event parameter the green light appears with the number =
of the
workflow.
      But the workflow doesn't start!
        With SWUS i can start the workflow without a problem!
 
Greetings,
Werner.
 
 
 
-----Urspr|ngliche Nachricht-----
Von: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]Im Auftrag von
Schmidinger, Heinz (Unaxis IT BZ)
Gesendet: Freitag, 23. Mai 2003 13:57
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: AW: Start a workflow due to a status change of a document
 
 
Hallo Werner,
 
do you try to start a WS or a TS ?
 
Greetings
 
Heinz
 
-----Urspr|ngliche Nachricht-----
Von: Werner Kv_l [mailto:werner.koessl at hirschvogel.de]
Gesendet am: Freitag, 23. Mai 2003 13:32
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Start a workflow due to a status change of a document
 
Hi workflow experts,
 
i want to start a workflow when somebody chages the status of a =
document
(DMS).
In the customizing i inserted a workflow template for a document status =
of a
given document type.
Then i activated the event linkage (DRAW -> CHANGED -> DOKST) like it =
is
described in the documentation of the application.
And when i change the status now the workflow should start.
But it doesn' t start.
 
When i switch on the event trace there is one entry: event receiver =
started
correctly!
The entry includes the number of the workflow template and a green =
light.
 
But i don't know what's wrong?!
The documentation of SAP about this is very slight.
 
Thanks a lot!
Werner.
 


More information about the SAP-WUG mailing list