cancel
Showing results for 
Search instead for 
Did you mean: 

error in workflow

Former Member
0 Kudos

HI Gurus,

I am executing a workflow with the following steps,

First step is a condition step on company code

Second step is a approval step by sending mail to the HR respective group based on condition company code.

For sending mail I used object type Selfitem and method sendtaskdicription.

Now i am thrown with an error stating the sendtaskdescription method cant be executed. Can any one say why and how to rectify the problem.

I wrote the content of the mail in the discription. I didnt pass any values to the method container.

Accepted Solutions (0)

Answers (2)

Answers (2)

KKilhavn
Active Contributor
0 Kudos

If you are on one of the recent versions it is usually A LOT easier to use the special step type for mail-sending, as opposed to creating your own task. I would recommend trying that first.

Former Member
0 Kudos

Kjetil,

I am using 4.6c version. I didnt understood what you said. Can you explain by giving more details.

Ravi

Former Member
0 Kudos

If you are using SEnd mail step please assign User Id prefixed with US. this will work and can you tell me what are you passing in the addressstring parameter of this task.

<b>Reward points if useful</b>

Former Member
0 Kudos

Arghadip,

I am using a activity step with selfitem object type and sendtaskdescription methd for sending mail to the static hr user. I didn't send any value in the addressstring. In method container I didnt pass any value. Is there any value I have to passes.

Yesterday I tried passing with typid with 'B' and expressid with space. but didnt work. still stating the sendtaskdescription method failed

KKilhavn
Active Contributor
0 Kudos

As far as I know an e-mail with no recipient specified will not reach anyone. And it is my understanding that you have not specified recipients for your step. However, I may have misunderstood what you wrote.

Try single-testing the task until you get an e-mail sent to your own address. That will give you a better understanding of how it works.

Former Member
0 Kudos

Have you assigned valid recipient. Please note that if you are passing SAP User id in container ellement it should be prefixed with US. Please check the Workflow Log and tell what is the actual error. Also check everything is fine in SWU3 Tcode.

<b>Reward points if useful</b>

Former Member
0 Kudos

Arghdip,

I didnt passes any agent from function mmodule. I assigned agent in swdd. Do I have to send it through fm also.

Ravi

Former Member
0 Kudos

No please check the actual error from workflow Log.