I'm using SP2010 enterprise edition. Is it possible to trigger one workflow from another in SPD? (like we can start approval workflow from other workflow). I dont see any actions related to it. kindly advise.
View Complete Post
I am running WSS 3.0 with other workflows which are functioning correctly.
I created a new workflow in Visual Studio 2008 and was able to successfully run it in my dev environment.
I attached the workflow to a task list in my dev environment and was able to manually start the workflow by using the drop down workflow option and using the menus to manually start it.
I installed this workflow in our production environment and attached it to the task list (which had a SPD workflow attached to it which stopped working about a month ago).
I made sure that the option to manually start the workflow was checked.
When I tried to manually start the workflow, (hover mouse over title, drop down) there isn’t a workflow option.
The workflow also will not start automatically when a task is changed.
I attached this same workflow to a different task list in production and get the option to start it.
I have tried creating a small workflow in SPD 2007 and attaching it to the task list.
It shows that it is attached, when I look at the workflows that are attached to the task list, but I still don’t get the option to manually start it.
I have checked my security and I have fu
We've been using the BizTalk SharePoint Adapter to load various different contents into a MOSS 2007 Document Library. The library has a MicrosoftÃÂ Office SharePoint Designer 2007 workflowÃÂ (sequential workflow created in Designer) which starts automatically when a new item is added to the Document Library. Or, at least, it eventually starts automatically.
For some unknown reason--and this is what we're hoping some of you may have some ideas on--the workflow fails to start on the first try, producing the "Failed to Start (retrying)" message. When the timer job comes back the second time, the workflow starts successfully, but this causes us to loose five minutes of potential work time (not to mention making us look bad to the VPs and CTO because they see the failure message).
In checking the log, I find the following pair of error messages each time the "Failed to Start (retrying)" status occurs:
In SharePoint 2010, I'm starting workflow #2 programatically from my workflow #1. See code below:
SPList currentList = web.Lists[new Guid(ListId)];
SPListItem currentListItem = currentList.GetItemById(ListItem);
//resolve any lookup parameters
string workflowId = base.ProcessStringField(WorkflowIdentifier);
//find workflow association by name
SPWorkflowAssociation workflowAssoc = currentList.WorkflowAssociations.GetAssociationByName(workflowId, Thread.CurrentThread.CurrentCulture);
if (workflowAssoc != null)
//start the workflow
SPWorkflow workflow = site.WorkflowManager.StartWorkflow(currentListItem, workflowAssoc, workflowAssoc.AssociationData, SPWorkflowRunOptions.Synchronous);
And workflow #2 will hang with Starting status (1-10 minutes), Then the workflow #2 status would be modified to Completed.
I couldn't find how to start the workflow # 2 immediately and complete immediately without several minutes delay
I have a SPD WF and I want to start it automatically by channging a value in a dropdown inside Excel.
Instead of going to Office button --> Workflows --> Start "Budget Approval", start the workflow by setting a value inside Excel (and maybe saving the file) to "Completed".
I have created a sequential sharepoint workflow in WSP Builder in my Sharepoint Server and Deployed it.
But the workflows says Failed on start and retrying ans stops there forever says couldn't start the workflow.
I repaired .NET Framework 3.5sp1 installed
1. I tried again, in C Prompt: Lodctr "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini" it says initiation file cannot be found
2 i again tried this C prompt Lodctr /R "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini"
it says reloaded from the system restored
i am still getting the same error.
When i manually go to my C:\Windows\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation i can see a folder for SQL that's it nothing more than that..
I dont know what is happening i am trying it from 2 days and still no solution.
any ideas would be real great help for me.
My system is 64 bit , Window server 2008, MOSS SP2, Visual Studio 2008 Version 9.0.30729.
.Net Framework 3.5 sp1
and WSP builder the one from Codeplex for 64 bit machines
I started a Publishing portal site (with workflow), and took all the default settings.ÃÂ After editing the default page (/Pages/Default.aspx), I tried to submit the changes for approval.
This starts the "Parallel Approval" workflow.ÃÂ When I hit "OK" to start the workflow a status box pops up with "Sending Data to the Server..." and freezes.ÃÂ Out of curiosity I let it run while I went to lunch and it was still stuck when I got back.
I've tried creating another publishing site, a new web application, a new publishing Site Collection with a publishing subsite, creating a new workflow for approval; anything else I could possibly think of.ÃÂ However, it still freezes.
It will also freeze if I try to add a name to CC the task to.ÃÂ I know this isn't an Active Directory issue, since at all other places in the site (as with authenication) it has no trouble using AD.
Does anyone know what the issue is?
For some reason i can not start any of custom workflows created in SharePoint Designer 2010.
Those are very simple workflows updating just one field. I have checked in the admin console and user definded workflows are enabled.
Do I need to do anything else to get them working?
Also to be more precise i'm able to start those workflows manually - only automatic starts are issue when item is created or updated.
When I add a document using my server-side object model code, I get an exception "The type or namespace name 'Office' does not exist in the namespace 'Microsoft'" in the server logs and in the library I can see the Workflow status as
"Failed to Start".
Interestingly, when I add a document to the same library from sharepoint site portal, it works just fine, the workflow kicks off with the state : in-progress.
Also, I modified the task form for the Approval workflow template from SharePoint Designer using infopath.(Not sure if that be a problem as adding from portal works fine.)
What am I missing out here??
Details of the exception:
09/29/2010 18:11:19.15 w3wp.exe (0x2508) 0x2710 SharePoint Foundation
Workflow Infrastructure 98d8 Unexpected Microsoft.SharePoint.SPException: <Error><CompilerError Line="0" Column="20" Text="The type or namespace name 'Office' does not exist in the namespace
I am able to get the Associated workflow from list. I want to start that workflow.
Web oWebsite = clientContext.Web;
List oList = oWebsite.Lists.GetByTitle("Employee");
SP.Workflow.WorkflowAssociation wk = oList.WorkflowAssociations.GetByName("Workflow1");