Want to keep workitem in inbox after executing

Sunni sunni sunnilondon at hotmail.com
Wed Apr 2 09:30:23 EST 2003


Hi Tomasz
 
To test if this would work, I created a new method for the task called
'change', which was called correctly from the work item.
Then I added 'exit_cancelled'; retried, but found that after executing or
double-clicking, the work item still gets removed from the inbox
automatically and into the outbox. exit_cancelled did not keep the work item
in the inbox
i.e.
BEGIN_METHOD CHANGE CHANGING CONTAINER.
  SET PARAMETER ID 'IQM' FIELD OBJECT-KEY-NOTIFICATION.
  SET PARAMETER ID 'IMA' FIELD OBJECT-KEY-NUMBER.
  CALL TRANSACTION 'IQS12' AND SKIP FIRST SCREEN.
exit_cancelled.
END_METHOD.
 
Regards
Sunni
 
>From: "Zmudzin,Tomasz,VEVEY,GL-IS/IT" <Tomasz.Zmudzin at nestle.com>
>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Re: Want to keep workitem in inbox after executing
>Date: Wed, 2 Apr 2003 15:15:06 +0200
>
>Sunni,
>
>1. Put the flag into the transaction and export its value to the business
>object's method
>2. In the method check the flag's value.
>3. If the value is "Not finished yet", call EXIT_CANCELLED.
>
>This will retain the same workitem in the inbox of the agent.
>
>Kind regards,
>Tomasz
>
>P.S. A side effect of that is that the work item remains reserved by that
>user (will not be visible to other agents of the task). There are ways of
>handling that (either with the same workitem put back to "Ready") or by
>creating a new work item with the same content (which I'd actually prefer
>for logging/tracking reasons), but not knowing if you need to go that far
>I'll refrain from outlining the available options for now.
>
>-----Original Message-----
>From: Sunni sunni [mailto:sunnilondon at hotmail.com]
>Sent: Wednesday,2. April 2003 14:54
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Want to keep workitem in inbox after executing
>
>
>Hi all
>
>I would like to keep a workitem in the inbox after it has been executed.
>I don't want to you 'confirm end of processing'.
>
>I am using SM Task list workflow, where using the standard workflow you are
>given the confirm end of processing dialogue box.  I can remove the box but
>then the item disappears when you execute it.  The client only wants the
>item to disappear after you have clicked on a flag in the task transaction
>to indicate that the work has been done.
>
>Any suggestions??
>
>Thanks
>Sunni.
>
>_________________________________________________________________
>Hotmail messages direct to your mobile phone http://www.msn.co.uk/mobile
 
 
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
 


More information about the SAP-WUG mailing list