I've created a custom workflow action using the VS2010 for SharePoint 2010 online. But whenever I use the custom action within a workflow and attach it to a list, it never runs successfully. While debuging, I always get the following error: "Function evaluation disabled because a previous function evaluation timed out. You must continue execution to re-enable function evaluation." in the following code snippet:
SPSite oSite=new SPSite(context.CurrentWebUrl);
where context is the 'SPUserCodeWorkflowContext'. 'context.CurrentWebUrl' always return the current site url. But the 'SPSite' object does not work.
Any help would highly be appreciated. Thanks.