cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding execution of workflow

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi:

please check the Binding and its initiator as well as .

Regards

Shashi

Former Member
0 Kudos

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

check whether you are passing the agent correctly or not.

Former Member
0 Kudos

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

former_member193382
Active Contributor
0 Kudos

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