0
votes
1answer
21 views

Unable to trigger workflow

A sharepoint info path form calls this ASMX web service. The webservice inserts items into a sharepoint list like so... item["Area"] = Area; ...
0
votes
1answer
47 views

How can I differentiate an user from a workflow while in an ItemUpdating Event

Is there a way to differentiate an user from a workflow while in an ItemUpdating Event? To show the my problem here's the ItemUpdating method: public override void ...
0
votes
1answer
62 views

How to Create WF with C#

I have learned about Workflow by dropping and clicking and the next phase is learn how to create WF with C# based this link ...
0
votes
1answer
129 views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
2
votes
2answers
42 views

Custom Sharepoint Workflow throwing “WinWF Internal Error, terminating workflow” error

I recently migrated a Sharepoint 2010 site to Sharepoint 2013, since then my customized workflows developed in Visual Studio that works perfectly for 2 years without a glitch suddenly after the ...
0
votes
0answers
27 views

Tracking expiration date in SP2010 workflow

I have a document library with a field titled "Status" containing either the values "Waiting" or "Complete", as well as a "Due date" column. I am designing an SP2010 workflow which will send e-mails ...
1
vote
2answers
318 views

SharePoint 2013: How to get workflow status?

I need to be able to get the status of a SP 2013 workflow using C#. I've tried getting the WorkflowManager for the SPSite and calling the GetItemWorkflows, but I never get any results from that. The ...
0
votes
1answer
67 views

Access all workflow tasks without being assigned to for validation

I have a request approval sequential workflow that has many tasks created upon approval. For each approval, Im using a custom webpart that shows different panels based on the status of the request. ...
0
votes
1answer
364 views

SPContext.Current is null in Execute(ActivityExecutionContext executionContext)

I have a custom workflow action derived from SequenceActivity protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext) { var current = ...
1
vote
1answer
195 views

SharePoint 2013 Certifications

It's been few days that I have decided to start preparing for my SharePoint Certifications. But, I am facing a lot of difficulty as in from where do I start? My interest are in SharePoint ...
0
votes
0answers
74 views

error in SPListItem.Update() after using onTaskChanged event handler

Though I'm new to this website I've always used those pages to have help and tips on sharepoint programming. Today I have a so weird problem that I cannot solve and cannot find anywhere, and I ...
1
vote
1answer
3k views

Enable SharePoint 2013 Workflows

I am using SharePoint 2013. To activate Out of Box Workflows in SP2013 we generally activate these features that are mentioned below: Workflows. Three-state Workflow. SharePoint 2007 Workflows. ...
1
vote
1answer
171 views

How to programmatically add a custom html url to the Workflow Task's description column?

How can I update the description column of a workflow task in SharePoint 2013 using c# that will contain a html link that has to open in a new window. Any suggestions?
0
votes
1answer
163 views

Update Workflow Task from an external webpart

I have a sequential workflow which creates a task that contains the custom url to a custom webpart. The web part provides the option to select different statuses. When the user selects 'Approved' I ...
0
votes
0answers
65 views

Display Workflow Initiation form programmatically

I am able to create list items programmatically and have a workflow with a functioning initiation form. What I would like to do is redirect the user to the initiation form as soon as I create the ...
0
votes
0answers
328 views

C#: cannot get listitem field value but works fine in powershell?

back again with a strange issue. Using powershell I can get a handle on a SPListItem and do Item["My Field"] which prints its value. However, in a C# custm workflow activity, when I attempt to do ...
0
votes
0answers
348 views

Sharepoint 2013 C# WPF CSOM ListItem.Update() is firing the workflow, but not attaching it to the item properly

Within SharePoint the workflow is set to start when the item is updated. What I'm trying to do is replace the item's file which is selected by the user, change a column value on the item, then check ...
0
votes
1answer
202 views

How to find out the logged in user in workflow?

I have a sequential workflow in SharePoint 2013. I want to update a list item field with the name of the user who modified a specific workflow task. How can I get this done in c#?
0
votes
0answers
217 views

Task approval in C#: Sharepoint 2013 assembly, 2010 legacy workflow

Something like this is what I wish to accomplish, however I'm unable to create objects such as SPWorkflow and SPWorkflowTask. As well, with my current Microsoft.Sharepoint.Client framework, SPListItem ...
0
votes
0answers
23 views

Site definition with workflow

i need advice on how to implement workflows inside a specific situation. We have a list of projects. When someone adds a new project we need to create a subsite for this project (with the proper ...
0
votes
0answers
96 views

Programatically Assign a content type id to 'CreateTaskWithContentType' in SharePoint 2013

I already have a content type created via the UI that inherits 'Task' and added to the 'Tasks' list. as show below: Via C#, How can I associate this content type id with the ...
0
votes
2answers
81 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). ...
2
votes
1answer
439 views

Comma is being appended to values when adding new item to list through C#

I have a custom web part form which takes a few values from text boxes and adds the new row to a list. The problem is that when I click 'save', the values are being saved but some fields like ...
1
vote
1answer
919 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, ...
2
votes
1answer
320 views

Use count-related column value as int in a SP Designer-workflow

I have another problem concerning the count-related column-value of SP2010 in a workflow(see also: How to get count related Lookup value programmatically? ). my use-case: I have a column "actual ...
4
votes
1answer
133 views

Add a Three-State Workflow by Code?

I want to add a three-state-workflow to a list. I know how to add this via Designer but - to keep manual works low - I want to achieve the same goal by Code. This is what I need: Add a ...
1
vote
1answer
124 views

Update existing word document from SharePoint via code

I'd like to insert a line of text into an existing Word document that is stored in a document library. Would this be possible to do through an event or workflow? If so, how would I go about ...
1
vote
2answers
124 views

How to get the event/trigger of a SharePoint workflow?

A SharePoint workflow can be associated with a list, and configured to 'start when a new item is created', 'when an item is changed' or 'manually started by an authenticated user'. This is my ...
1
vote
0answers
120 views

Moving files from intranet to extranet - ShaerPoint 2010

I am working on a new SharePoint project (new to SP overall) and a requirement is to "publish" documents on the intranet, across different sites, to a desired location on an extranet. The intranet is ...
1
vote
3answers
500 views

Uploading xml to document library won't start workflow

When I upload an xml document to a document library, the workflow associated with that document library won't start. Here is my the code I use to upload: using (SPSite site = new ...
0
votes
1answer
299 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 ...
3
votes
1answer
105 views

Can someone help me use SharePoint 2010 to do data processing?

TL;DR: I need to create a system in SharePoint in which a user uploads an Excel (or CSV) file to the site from a webpage. The site takes the uploaded document and uses it to populate a list. Then it ...
1
vote
1answer
43 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 ...
1
vote
0answers
88 views

SPListItem.Tasks always empty

I have a custom sharepoint (2007) list (named testlist) on which I attached a test workflow (built with sharepoint designer 2007 and named testwf), which only task defined in the 'Actions' section at ...
0
votes
1answer
54 views

Where should User relationship be managed/maintained in Sharepoint 2010?

I have manager and employee reporting to manager. The sharepoint server is integrated with active directory and active directory does not maintain any such relationship. So how can we do that ? Can ...
1
vote
1answer
388 views

Sending and receiving fax with sharepoint

my clients expressed the need to be able to send faxes from sharepoint. So they would open up a web page somewhere on the intranet, they would then select another company and click on a send button. ...
2
votes
2answers
4k 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 ...
3
votes
2answers
717 views

Attach ListItem to TaskItem

I've created a custom approval worfkflow for an listitem. Now I need to see the values of the item in the taskitem. So I think one way would be to attach the ListItem to the TaskItem. Does anybody ...
1
vote
1answer
435 views

Start workflow only if some columns change

Does anyone have an idea how to stop custom approval workflow from running when a list item's ModerationInformation.Status is changed? I have a custom approval workflow that I wrote using Visual ...
1
vote
1answer
192 views

workflowAssociation not displaying workflow

I have created a feature. In the FeatureActivated event I am creating some lists. I am then trying to attach a custom workflow to one of the created lists. However when I do this the workflow history ...
1
vote
1answer
62 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. ...
1
vote
1answer
117 views

How to push a specific SPListItem through a workflow with code?

I would like to push a specific SPListItem to the final step in a State workflow, skipping all the intermediate steps (if a certain checkbox is checked). Currently, I have an event receiver hooked ...
4
votes
2answers
597 views

Get Approvers Group - C#

I'm working on a workflow project, where I have to get all the users in the Approvers group. In order to get the approvals group, I run the following code: SPGroup approvals = ...
0
votes
2answers
199 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 ...
0
votes
2answers
732 views

Workflow Context always null

I am a newbie in the custom workflow development. The scenario I want to send an email notification to the group when an item is created in the list. I am referring to ...
1
vote
4answers
143 views

SharePoint Development Sever Yes\No

My department head is insistent on having a Development and Production Server for our SharePoint sites. After speaking with some other professionals and working with the technology for several months, ...
1
vote
3answers
3k views

Update multiple items, Sharepoint workflow activity

I am new to share point, and I am trying to get my workflow to update every item in a list that match a particular expression. for instance lastname = 'smith'. From my understanding the update item ...
2
votes
3answers
4k views

where to find sharepoint 2010 visual studio workflow tutorials

I'm trying to find some step by step tutorials for how to create custom workflows in visual studio 2010. Can anyone point me in the right direction? I've googled and not found too many 'good' ...
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 ...
2
votes
2answers
659 views

Workflow for CustomList

I'm creating a Sequential Workflow on a CustomList in viualstudio 2010. My problem is: when I publish the workflow, the list forms (for NewItem, EditItem and so on) get changed and now just contain ...