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

Regarding execution of workflow

Hi all,

I have a workflow for rebate . In that workflow there is a mail sent task after an activity .

The activity is getting completed according to SWIA transaction.

But the flow gets stuck at mail sent task .

Can anybody tell me what the problem might be.

Also let me know which are the Tcodes i can use to find all errors in wokflow system.

Thanks in advance.

Abhijeet

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Posted on Dec 05, 2008 at 11:09 AM

    Hi,

    Use tcode SWELS to turn on the event trace.

    then use SWEL tcode to diagnose the workflow.

    In SWEL tcode open your event, click on workitem and view the workflow log with technical details.

    In that click on the task where workflow is stuck and check out the step history tab.

    Do detailed diagnosis and revert.

    Regards,

    Raj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2008 at 11:14 AM

    Hi ,

    Are you using a a task to send mail or the send mail step to send mail .

    If you are using the task to send mail , then u might be calling some method in side that.

    Just check the binding between the workflow container and the task container , and aslo check wheather your method is going for dump after execution or not.

    These are the main causes which generally stops the task to be executed .

    As raj has told you can check the log and in the step history you can able to get the cause of the error .

    Thanks

    prabhudutta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2008 at 11:53 AM

    check the WF log using transaction SWI1 for errors if any.

    check whether you are passing the agent correctly or not.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2008 at 12:26 PM

    hi:

    please check the Binding and its initiator as well as .

    Regards

    Shashi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 10:09 AM

    another transaction code which you could use for seeing the error is swi2_freq where in you need to put in your work flow id with prefix ws in task textbox and also note that you also select the checkbox (Sub-) Workflow. This will state the current status of the workflow as well as digging further you'll find the log of the workflow stating as to how the workflow state as of now.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 10:20 AM

    Hi Abhijeet,

    > Also let me know which are the Tcodes i can use to find all errors in wokflow system.

    SBWP - BUSINESS WORKPLACE

    SWEL - DISPLAY EVENT TRACE

    SWE4/SWELS - EVENT TRACE ON/OFF

    SWUD - WF DIAGNOSTICS

    SWE2/SWETYPV - CHANGE/DISPLAY VIEW: EVENT TYPE LINKAGES

    SWU_OBUF - SYNCHRONISE RUNTIME BUFFER

    SWPR - WORKFLOW RESTART AFTER ERROR

    Regards,

    Kanika

    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.