Send mail activity after Create task results “Error Occured” in Workflow

I came across very strange behavior of SharePoint workflow (Using Visual Studio). If I add Send Email Activity after Create Task activity, it gives me result- Error Occured . I thought, there will be problem for each activity after Create Task but Log To History works perfect. Then I also tried, to create a separate workflow which will only send mail with Send Email Activity, this also works fine.

If I add Send Mail after Create Task, it gives me error. Any solution ? Did anyone face this kind of issue?

My another question is How to track Error in SharePoint workflow using visual studio? Becuase It only shows Error Occured, but how to know which error, what is cause of error?

--

Thanks

July 24th, 2015 10:51am

Hi,

Now I've never made a workflow in VS as we use Nintex, but doing some research on this could the following link help you out? Error Handling

Free Windows Admin Tool Kit Click here and download it now
July 27th, 2015 3:27am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics