Send a message within workflow with no user action!

de Valensart Schoenmaeckers, Patrick deValensartSchoenmaeckers.Patrick at pmintl.ch
Mon Aug 20 05:42:56 EDT 2001


Kevin,
 
You are right, there is no way to know the status of the document at that
point of time. I see then two solutions :
 
1. Create a task with method 'SENDTASKDESCRIPTION' from object 'SELFITEM'.
This is a background task that just sends the task description long text as
an email. You can then use that task as a step in your workflow.
 
or
 
2. If you have a background step in your workflow that occurs only after
release of the document, you can also use that step to send a notification.
 
Kind regards,
 
Patrick
 
 
-----Original Message-----
From: Kevin Yu [mailto:Kevin.Yu at its.monash.edu.au]
Sent: Monday, August 20, 2001 11:34 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Send a message within workflow with no user action!
 
 
Patrick,
 
Thank you for the promptly reply, very much appreciated!
 
The reason that the "notification agent" was not used is because I would
like to make sure that the document was released rather than rejected to
send this message! Or, is there any way to know at this point of time
that the document is released or is rejected?
 
Thanks,
 
Kevin.
 
"de Valensart Schoenmaeckers, Patrick" wrote:
>
> Kevin,
>
> In the task that does the release, you can specify a "notification agent"
> who will receive the email.
> Go then to the task definition of the release task, and change the
> notification long text (in 40B : TA PFTC, choose change mode, menu path :
> goto - long text - notification.)
>
> If for any reason you can't use this, you can also create a task using
> method 'SENDTASKDESCRIPTION' from object 'SELFITEM'.
>
> Hope this helps,
>
> Patrick de Valensart
> Associate IS Analyst
> NV Philip Morris Belgium SA
>
> -----Original Message-----
>> From: Kevin Yu [mailto:Kevin.Yu at its.monash.edu.au]
> Sent: Monday, August 20, 2001 10:48 AM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Send a message within workflow with no user action!
>
> Hi,
>
> I have been trying to create a step after a document was released to
> send an message to notify the creator that the document was released.
> The step should not required any user action to complete the workitem.
> All I want is to send a message and keep going to next step.
>
> I have tried to create a customised method to use function
> 'SO_NEW_DOCUMENT_SEND_API1' to send an express mail.  The Method worked
> fine if test by its own.  However, if use the method to create a task as
> the step (a background process) in the workflow, it seems the workflow
> will stuck at this workitem and going nowhere.
>
> I am just wondering is there any better way to achieve what I intend to
> do?
>
> Thanks,
>
> Kevin.
 


More information about the SAP-WUG mailing list