Terminating workflow by events in Business object

Hotmail swam_in at hotmail.com
Tue Jul 27 10:55:32 EDT 2004


Hello All,
I am trying to terminate the workflow via a wait step for 'Posted' event =
in FIPP. This is to make sure that if the users processed the invoices =
from the outside the workflow, it would also complete the workflow. I =
have built a check function module as part of posted event in instance =
linkages which would check to see if the 'Posted' event occurs through =
posting from workflow or outside the workflow.
If the posting occurs from workflow the event would not trigger thereby =
making sure the workflow is completed.
Everything works fine if the 'Posting' is defined as a step within the =
workflow and users processed that step. But instead of workflow step, if =
the 'Posted' method is called via swc_call_method then the check =
function module does not consider it as though it is triggered from =
workflow. This makes the workflow as status 'logically deleted' where in =
fact it should really be 'Completed'.
Is there a better way of checking to see if the posted event is raised =
in the workflow either as a step or within the business object via call =
method ?
 
Swami Bala
 


More information about the SAP-WUG mailing list