Tagged Questions
1
vote
0answers
15 views
Workflow consumes WCF Service: Exception is invalid or unrecognized
I have got issue. It's an update from a question that I have asked a week ago:
I have a State Machine Workflow that is deployed in my local SP machine. It is attached to a list, and will consume a ...
0
votes
0answers
8 views
history and tasklist are missing when creating a sharepoint workflow in visual studio
I recently ran into a problem which seems to be a bit annoying, or maybe I understood it false. Well, if you create a new project and add a new sharepoint workflow you have to insert some data i.e. ...
0
votes
0answers
14 views
OnWorkflowItemChanged fire multiple times
I have been using a State Machine workflow (SharePoint 2010).
Workflow design
Main State:
The Main State does not update the item.
The Main State contains a OnWorkflowItemChanged.
When the item ...
0
votes
2answers
20 views
How to embed image in SharePoint Workflow Association Form?
I am developing a custom SharePoint workflow in Visual Studio. I have a custom association form (ASPX) and I'd like to display an image, which is embedded into the project (and subsequently wsp).
...
1
vote
0answers
19 views
CopyItemActivity how to configure
I want to copy an item using a workflow in VS. So i've used the copyitemactivity.
In the properties what do i put in the ListItem? I want to reference the current item the workflow is operating on.
...
0
votes
2answers
34 views
I want to execute workflow when new item is inserted
private void codeActivity1_ExecuteCode(object sender, EventArgs e)
{
SPSite objsite = SPContext.Current.Site;
using (SPWeb objWeb = SPContext.Current.Web)
{
...
1
vote
1answer
172 views
Programmatically altering approval workflow task in separate workflow
Here is my code to programmatically alter the task at hand, the only problem is that the code doesn't alter the "Outcome" of the approval task. The Outcome field is blank. "Task Status" is Complete, ...
0
votes
0answers
27 views
InfoPath workflow Check-In Check-out errors unless I step through in Visual Studio
If I step through the below in Visual Studio, the workflow completes fine; however, if I allow it to run naturally, it errors out. Any idea where I need to slow it down or how I would go about ...
0
votes
0answers
50 views
Assign users to a task without form
I have associated a workflow to a list.
When there is a new item, the workflow will be fire and it will assign a task to a user in order to edit the new item.
At first the edit is made through a ...
0
votes
1answer
33 views
Add configurable field to workflow builded in VS
I have created a workflow in VS which doing some logic. I would like to add some configurable text field so that the SharePoint administrators can change it.
For example this is a text field with ...
0
votes
1answer
40 views
Visual Studio Workflows and Sharepoint
I am new to designing workflows in Visual Studio (2010) for MOSS 2007. I have a "best practices" question:
I have two separate, unrelated processes on one content type I need to manage with WFs. The ...
0
votes
1answer
102 views
Workflow configuration by custom config file
I'm currently researching workflow configuration possibilities delivered by Sharepoint 2010 (I am meaning the Visual Studio development side). The kind of configuration I'm meaning is the one done by ...
0
votes
1answer
86 views
Sequential workflow running twice sharepoint 2007
I inherited a site with a sequential workflow (created in Visual Studio 2008). The workflow is attached to a content type and is set to run only on item created. Recently, I attached three declarative ...
0
votes
0answers
66 views
Datetime format is not the same after copied field values to another list [closed]
I have a sharepoint 2010 workflow builded in VS2010, not by me, but some colleage. This workflow need to start manual by the user if he would like to copy a document from list X to list y. In list x ...
3
votes
1answer
81 views
Use site URL in build event
I wrote a powershell script that associates a workflow with a site and I want to call it in the post-build event of the workflow project in visual studio.
How do I get the "Site URL" field in the ...
1
vote
1answer
413 views
send email from workflow based on loopkup column
I have a workflow in visual studio and I need to send an email to a domain user whose name is entered into a sharepoint Person or Group lookup. The value will not be in a sharepoint group, it is from ...
0
votes
0answers
60 views
GuidAssoc is empty when deploying Workflow with stsadm instead of VS 2010
Using the excellent instructions by Ingo Karstein I have built a workflow with an association form using VS 2010.
When I install the workflow using the 'Deploy' menu option in VS 2010 everything ...
0
votes
0answers
20 views
What would cause a Work Flow to Disappear from the Item's Available Work Flows Page?
I'm developing a workflow that clones an existing item into a new library and then deletes the current item. Everything seems to work fine for a few test runs until at some point I click on the item, ...
0
votes
1answer
256 views
SharePoint workflow canceled on start only when automatic
I'm having a strange issue with a Visual Studio Sequential workflow. We're uploading files to SharePoint Document Library via Client Object Model using File.SaveBinaryDirect.
Error in log is as ...
0
votes
1answer
166 views
Visual Studio 2010 Workflow Error
I have created a simple workflow in VS 2010. What it does is creating a task for a person, when the person changes the task status to "Complete", it logs a message to workflow history.
When I change ...
0
votes
3answers
693 views
ListItem Update from Client Object Model Not Triggering OnWorkflowItemChanged Activity
I am experiencing difficulty creating a file in a document library using the client object model. My custom Visual Studio 2010 workflow is not detecting the updates I am making to the file's list item ...
1
vote
1answer
35 views
Creating tasks simultaneously, freeze.
I am working with two workflows, both of them have been done in C# by using Visual Studio within SharePoint 2007 , the first one is activated when a document has been updated and copies the file into ...
0
votes
0answers
53 views
State workflow not continuing on task complete
I have a state workflow which has two-way integration with a custom application. The first task is based in SharePoint, and the user can approve, request more info, or send for correction. If the user ...
0
votes
0answers
37 views
Pre-Requirement for development of WorkFlow in Microsoft Visual Studio 2008 (HELP ME)
Please help me
I’m new in share point and it’s not cleared for me the requirement
I have a server with SharePoint 2010 in Windows Server 2008 R2 (64 bits) and I want to create a workflow with ...
2
votes
3answers
2k views
How to send an email in a visual studio sequential workflow
I'm trying to create a sequential workflow using VS. I'm needing to loop through all the items in a list and send an email if one of the columns equals a specific status.
I have not found any good ...
0
votes
2answers
215 views
Sharepoint 2010 workflows created in Visual studio deployment and redeployment strategies?
We need help from experts regarding workflows deployment strategies.
We have several state machine workflows created using VS-2010, now after deployment, Client will ask for changes inside it e.g. ...
0
votes
1answer
72 views
How to do workflow for the following situation
Workflow has to start automatically when an item is created in the SharePoint list. After that it has to copy the record and add five times into the same list. Problem that I faced it executing ...
2
votes
2answers
439 views
Check if task has already been submitted on opening InfoPath task form and switching view to reflect so
I am trying to make my custom task form (of Visual Studio Sequential Workflow) to switch view to "Submitted" in case someone has already submitted this task before, since this task could be assigned ...
0
votes
0answers
129 views
sharepoint custom workflow by visual studio
i wanted to know if it possible to create a workflow in visual studio for a form library to make approval for forms by manager and if it possible how ,and if it possible to make a certain code inside ...
1
vote
0answers
294 views
Restart an errored workflow programmatically
I am trying to figure out the best way to restart an errored out workflow.
A little background:
We get seemingly random error-outs (error and stack below) in a visual studio created workflow when ...
0
votes
0answers
63 views
How to use updateAllTasks in a custom workflow
I am making a custom workflow in Visual Studio. I want to use the updateAllTasks workflow item to update all the tasks. I am trying the following in the invoke method.
...
0
votes
0answers
87 views
Keeping all workflow versions under the same association column
I've followed the blog post http://www.howtosp.com/blog/2012/01/03/running-two-versions-of-workflow-in-sharepoint/ and with some addtioknal refactoring managed to save my workflow and in the tests ...
1
vote
0answers
287 views
Manually Workflow printing items from list
I have a problem with list item and printing them. I must create workflow or jscript printing this item using template. Steps that I need to do:
Select item/items on list
Run workflow or jscript ...
0
votes
0answers
71 views
Get the activation properties of a workflow from a page external to the workflow
I'm trying to get the activation properties you bind on the activity OnWorkflowActivated in an aspx page which doesn't belong to the workflow.
It looks like I'm able to get to the workflow this way
...
1
vote
1answer
54 views
Finding source item in Workflow
I am new to Sharepoint and using Visual Studio 2008 I have created a workflow that uses custom content type based off workflow task list with additional columns for Approval Status and Approver Notes. ...
0
votes
1answer
147 views
Code behind for Infopath Initiation/Association Form
Is it possible to have a c# file act as a code behind file for an infopath form? Just like you do for forms in aspx.
Especially I would like to be able to execute code on page_load for an infopath ...
0
votes
2answers
185 views
Creating Bi-Directional Approval Workflows
Is it possible to create a bi-directional approval workflow for Sharepoint Server 2010 without Visual Studio or Visio?
And if it can be done in Visual Studio, what information can you give me to ...
0
votes
1answer
1k views
Custom workflow activity shows up but can't be selected?
I have created a custom workflow activity and successfully deployed it. The issue I am running into is that when I try to select it when creating a workflow using SharePoint designer, nothing ...
0
votes
2answers
140 views
Any method or way to bypass an automatically starting workflow?
I have a solution in C# where users are able to submit a lengthy form, which then automatically kicks off a workflow that was created in Designer.
However, I am looking to add functionality to the ...
1
vote
1answer
23 views
When debugging project XYZ a page from ABC will pop up with an exception?
Not sure how much sense that title makes, but the issue that I am running into is that when I begin debugging a project (XYZ) a page from a completely different project (ABC), that is in a different ...
0
votes
0answers
109 views
Workflow Automatically Restarts
Let me first state that this is NOT a desired event. When I run a sequential workflow on a calendar for approval everything now works well. It goes through all the proper steps and calculations.
...
0
votes
2answers
2k views
Error using SPContext.Current.Web.AllUsers in Visual Studio workflow
I have the following code running in a Visual Studio workflow. I am trying to specify the user who is adding list items in the code because I guess the system account (default for VS) will not allow ...
0
votes
1answer
2k views
Create Custom Workflow Action using Visual Studio
I want created a custom workflow action with Visual Studio.
I use this link and created a new custom workflow . When i deploy solution , i don't find custom action in Custom action list in SPD.
How ...
0
votes
1answer
1k views
Implement custom sharepoint workflow with aspx page instead of infopath
I am creating state machine workflow in visual studio 2010 and info path form (for approval etc.) is associated with the generated task. But i need to associate aspx form instead of infopath with the ...
0
votes
2answers
261 views
What can be preventing OnTaskChanged from triggering with custom InfoPath task forms in the workflow?
Why could this be happening:
VS Workflow with custom InfoPath Task Forms does not trigger OnTaskChanged when form is submitted with data (so clearly changed). Funny thing is that the same workflow ...
1
vote
1answer
169 views
How can I find the current execution point of a sequential workflow?
If I have a sequential SharePoint workflow, and it's stuck -- status showing "In Progress" -- can I find what exactly it's waiting for, maybe blocking on a OnTaskChanged activity, or expecting some ...
0
votes
2answers
2k views
Custom Task Forms created in InfoPath for Visual Studio Workflow
This article discusses creating Visual Studio workflow with custom task forms, created in InfoPath: http://www.codeproject.com/Articles/195348/SharePoint-2010-State-Machine-Workflows-with-Custo
I've ...
0
votes
1answer
129 views
How do I run some custom code when the user cancels a workflow?
That's basically the whole question. We need to be able to react -- preferably instantly -- in the event a Sharepoint workflow is canceled by a user. (Have to send some emails, update some database ...
0
votes
1answer
233 views
Can you dynamicallly change a SP Workflow at runtime?
I have developed a SP State Machine WF and was able to successfully deploy and work through the WF. I was wondering if you can dynamically change a SP WF at runtime.
I don't want to necessarily ...
1
vote
3answers
2k views
Not receiving e-email notification when creating new tasks in a custom sequential workflow
I am setting the AssignedTo and SendEmailNotification properties for the SPWorkflowTaskProperties object, the task gets created and assigned correctly but no email is received.
How can I check if ...
