Automating a Decision Task - minor correction

Alon Raskin araskin at eOutlook.com
Wed Sep 22 09:06:09 EDT 2004


Actually I just wanted to clarify that after programatically reserving =
the work item, I then changed its status to STARTED and then to COMMITED =
using FM SWW_WI_STATUS_CHANGE_NEW.
=20
Regards,
=20
Alon
 
________________________________
 
From: Alon Raskin
Sent: Wed 22/09/2004 14:04
To: SAP Workflow Users' Group
Subject: Automating a Decision Task
 
 
Here is what I am trying to do. I am trying to programmatically simulate =
a user selecting a particular outcome in a decision task. Its actually =
quite simple but the problem is that once I have done that I need the =
work item to be removed from the Inbox. Of course the item remains in =
READY status as it has not been executed. What I really want to do is =
change the status to COMPLETED but I can not do this using the WAPI =
because it says it cannot go from status READY to COMPLETED (Fair =
enough).=20
 
What I did then is programtically reserve the work item and then chagne =
its status to COMMITED using FM SWW_WI_STATUS_CHANGE_NEW. After doing =
that the item changed its status to Completed. While this works, I am a =
little nervous manually changing the status of a work item. I was just =
wondering if anyone knew a better way?
 
Regards,
 
Alon
 


More information about the SAP-WUG mailing list