Terminating workflow by events in Business object

Michael Pokraka workflow at quirky.me.uk
Tue Jul 27 11:35:03 EDT 2004


Hi,
Do you need to distinguish where the event came from? If not, you could s=
top
the workflow after the post step and have your postprocessing after the w=
ait
step in the other branch.
Cheers
Mike
 
Hotmail wrote:
> Hello All,
> I am trying to terminate the workflow via a wait step for 'Posted' even=
t in
> FIPP. This is to make sure that if the users processed the invoices fro=
m 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 whic=
h
> 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, i=
f the
> 'Posted' method is called via swc_call_method then the check function m=
odule
> does not consider it as though it is triggered from workflow. This make=
s the
> workflow as status 'logically deleted' where in fact it should really b=
e
> '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 me=
thod
> ?
>
> Swami Bala
>
>
 


More information about the SAP-WUG mailing list