Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Background task - takes 10 minutes to complete and go to the next step?

Hello Guru's,

I have a custom Purchase order workflow and recently I added a task which is a background task. I have a method where I pass the PO number and get the release code from the method to the task. I have defined this standard task as Synchronous and Background. For some reason, when the workflow gets triggered, it comes to this step and sits for 10 minutes. After 10 minutes, it goes to the next step. I checked all the jobs and scheduled one of the jobs(SWWERRE) to run every 3 minutes to see if that’s the problem, but didn’t work. Any suggestions please? I have this job SWWCOND which is scheduled to run every 30 minutes. Not sure if this has anything but the Purchase req works fine.

I have a workflow for Purchase requisition and I have a similar task(Background) and that works just fine.

We are on ECC 6.

Former Member
replied

Why use a Method put this stuff in an attribute that is better the value gets populated at runtime no need for method no issues:))). Call that method in the virtual attribute.

<b>Reward points if useful</b>

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question