Skip to Content
author's profile photo Former Member
Former Member

Problem with callable object, Send email in background

Dear Sirs,

I am experiencing some problems with the callable object, Send email in background with attachment.

The problem is that when I move from one action to an action where this type of callable object is defined I get the following "error" message.

"The next activity is not yet available: try again later using the "Refresh" button"

The person who should receive the email (the processor) receives it within 5 second, and I do not have to press "Refresh button" for the email to be sent. However I must press Refresh for the process to move on.

Does anyone have any information on how this can be avoided?

This on EP 7.0 on WAS 7.0 SP10

best regards,

Jørgen

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 07:28 AM

    Hi Jorgen,

    This behavior is completely normal. It can seem awkward but what you described is somehow logical.

    Let's say you have three actions, the second one is the email notification. When completing the first action, the second action is triggered. As it is a background callable object, it is put into the queue and wait for processing. As the refresh of the screen is faster than the processing of the callable object, the next action (the third) is not yet active/ready to be processed.

    When the email is sent (i.e. the background callable object executed), a callback takes place and the next activity is triggered. Then, the 3 action is active and can be shown.

    Due to technical restriction of Web Dynpro, it is not possible to refresh the screen when the action is ready to be processed. The user has to refresh it explictly.

    With SP12, the processing of the queue has been improved and it's much more faster than before. The "problem" you noticed shouldn't be there anymore.

    Hope this helps.

    David

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.