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

Werner Kößl werner.koessl at hirschvogel.de
Fri May 23 08:27:16 EDT 2003


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