cancel
Showing results for 
Search instead for 
Did you mean: 

Task is not runing

Former Member
0 Kudos

Hi ,

I am modifying one of the workflow.In that two steps first one Event triggering ,Second one activity for send mail.

Event triggering is working fine.Second activity is not runing it means the task inside the activity is not runing.

i am checked the binding,with the same binding and task the workflow is runing in PRD without modification (Old one).I dont know why its not runing in DEV .

I am changed the FM inside the task and regenrate the BO.Still it not runing.

I am run the task seperate it is also not runing it takes more time to run ,given a dump time limit exceed.

So please tell where i made mistake and how to short out this .

Help me it urgent one ,point will me given for useful answer.

give me any Document for debugging the workflow.

Thanks in Adv,

Ram.

Accepted Solutions (0)

Answers (2)

Answers (2)

KKilhavn
Active Contributor
0 Kudos

You changed the FM. That's quite significant probably. So exactly how did you change the FM? Did you replace one standard FM with a different standard FM, or did you replace the standard FM with your own FM, or did you do something else?

Since the BOR object's method itself doesn't work (single task fails) you don't need to worry about debugging the workflow, at least not yet. Simply debug the BOR object's method from transaction SWO1. Most likely that will reveal what the problem is.

Former Member
0 Kudos

Kjetil Kilhavn Thanks for ur quick reply.

I am changed Z FM its in Z-BOR.i regenerate the Z-BOR and i checked the method in Z-BOR with insant its working fine.

In FM i worte the code for attachment.

While runing the Task sep its not runing giving a dump ,time limit exceed.

The Z-BOR is not able to call from Task.

Please give some idea to sort out this problem its urgent

Thanks in Adv

Ram

former_member184112
Active Contributor
0 Kudos

Hi Raja,

Go to SE37 Execute your ZFM and check with the input values first.

And go to SWO1 Test your Method.

Check Properly Binding with Object and Elements.

DEBUG your Business Object, Put a Break point in your Method Program.

Set a breakpoint in the code of attribute (or method), before things really get ‘interesting’

If you have calls to macros (swc_get_element, etc) you may need to set the values of the result elements inside the debugger (for example, when getting an element from the workflow container)

Check with:

Event linkage in the workflow

Event linkage (SWETYPV)

Event creation (SWUE)

Simulate event (SWU0)

Check the event log (SWEL)

RFC queue (SM58)

Thanks and Regards,

Prabhakar Dharmala

KKilhavn
Active Contributor
0 Kudos

If you are able to run the method successfully from transaction SWO1 but not when you use a task there is either something wrong in your binding, or perhaps you are trying to use functionality that requires a (foreground) user context in background.

Message was edited by Kjetil Kilhavn:

If it is your binding that is the problem you probably don't have sufficient checks of the input data in your method.

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

hi

Use this transaction to see ur workflow log

SWEL : Event Log (Pre-requisite: SWELS)

Thanks

Annamalai