.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Asad Ali
Post New Web Links

How to get user that actually approved a task

Posted By:      Posted Date: September 18, 2010    Points: 0   Category :SharePoint
 
Is there a property in SharePoint that tells you the user that actually processed (e.g. approved/rejected) a task in a SharePoint (Visual Studio 2008) workflow?  I've tried using "workflowProperties.Web.CurrentUser.LoginName" but that always seems to return the system account and NOT the user that was logged in and actually clicked the Approve/Reject button in the task. I've looked at the various workflow/task (After) properties, but can't seem to find if and where it stores the info on the user that actually processed the task. Thanks


View Complete Post


More Related Resource Links

Using a workflow to create a user task

  
Hi, we have a inforpath form that our HR Team fill out when we have a new user join the company, the form once submitted will upload to a sharepoint forms library and also put and entry in a shared calendar that the HR , Facilities and Corp IT team have access to.

what i am trying to do though is get it to create a task in a task list on the same site using some of the fields on the form to populate fields in the task list. i have used Sharepopint desginer to create the workflow and when i test it the workflow status show completed but the task never shows in the task list on the site

any ideas would be greatfully recieved

How to show previouse user comments on the task form of a user in sharepoint Designer

  
I am using sharepoint designer for designing workflow. I have 4 steps. on each step a user write some comments for the next user. now I want to show all those comments on task form for the current user to whom the task has been assigned.

Task assignment to user without read access in 2007 results in no email to assignee, no warning to a

  
It appears (from observation and searching) that SP 2007 will not send a task assignment email when the assignee does not have read access for the assigned task and there is no warning when assigning a task to someone who will be unable to read it. I have not been able to find any mentions of attempting to address this quirk by either an item event listener or a workflow that would either prevent the assignment or task the originating user to fix the issue by either changing the assignment or having them added to the appropriate group.  I could see one done badly causing a cascade of tasks. The approaches that I've thought about are: Attempt to block assignment by hooking ItemAdding and ItemUpdating on the task content type.  In ItemUpdating, you could use SPListItem.DoesUserHavePermissions since the SPListItem should be there, but you'd may have check the list since I don't think SPListItem is available at that time.  I could see this causing problems when the assignment is via workflow or something that doesn't like other code interfering with its task creation. Hooking ItemAdded and ItemUpdated to assign a new task to the assigning user to either change the assignment or have the assignee added to the users with access to the site. Define a workflow which could be enabled for a list that would check if any new or modified task is assigned to users with

Collect Data from a user task error

  
Hello, I am a new admin and I'm hoping you can help. I have used the Collect Data from a user Action in a workflow in Designer. I get no errors in saving or publishing. My workflow works find and sends me the task assignment as an email when I test. However, I then run into three problems which (together or separately) prevent me from moving forward in the workflow. 1) When I click the "edit task" button located in the task email, my entire Outlook locks up and must be restarted. (I am using outlook 2007 and Sharepoint Foundation 2010) 2) The email says in step 3 to use the "Open the Task" button to mark the task complete. I cannot find this button anywhere. 3) When I go directly into the task, I can view it but I can find no way to "complete" the task without editing it directly. This gives me an error window that says, "Type 'Microsoft.SharePoint.WebControls.SPDataSource' does not have a public property named 'UseServerDataFormat'. "

Is there a way to assign a "USER FRIENDLY" name to an "ASSIGNED TO" TASK List?

  
I'm starting to develop simple TASK lists, to assign tasks to a team.  Unfortunately, I'm finding that the ASSIGNED TO field wants to populate user names with a NETWORK-Style name (i.e.,  mycompany.com\jsmith  ), instead of a preferred user name (i.e., John Smith).  The descriptive user name DOES show up for a few users, but not most. I figure that there must be something buried in some user roles/permissions, at some level - but I am still having problems with navigating around the Sharepoint neighborhood to find the options that I want (if they exist). I'd very much appreciate assistance with something that could, I hope, be rather simple. Thanks,

Custom task user interface issue?

  

Hi

I have designed a custom task with a general view that holds a properties grid in a general view node. I have developed a custom editor to help user set the value of that property, Of Corse, I point my property to use that editor in design time using System.ComponentModel.EditorAttibuteClass . The editor appears as a modal dialog box. 

The issue is that when I put the Dock property of the properties grid to Fill then the ellipsis button doesn't appear but if I set the dock property to None then it appears (I mean the ellipsis button) and then I can click it to configure the property though that Modal dialog box.

So the question should I do additional steps to avoid this anomally

Thank you

 


The complexity resides in the simplicity

Approval Workflow : Getting the name (or unique ID) of the item being approved in the infopath Task

  

I need to display the name/title of the item being approved in the infopath task form that is viewed by the approvers. How can I achieve this? The data fields in the Primary data connection seem to correspond to task item and not the item being approved itself.

Thanks in advance!


Fetching Task List for the logged in User

  

Hi All,

The requirement is as follows..

We have some workflows which are been created already. The tasks are been assigned to users for their approval. Now, when the approver logs in it should display the Tasks List which are belonging to that particular user only. OR if the normal user logs inn, it should display Tasks belonging to that User only. A web part should display this. Pls. note that I have to show the Tasks from both "Workflow Task" & "Task".

How do I achieve the same?

Thnx,

Alex


alex

Fetching Task List for the logged in User with LINQ/CAML/SQL query

  

Hi All,

We have some workflows which are been created already. The tasks are been assigned to users for their approval. Now, when the approver logs in it should display the Tasks List which are belonging to that particular user only. OR if the normal user logs inn, it should display Tasks belonging to that User only. A web part should display this. Pls. note that I have to show the Tasks from both "Workflow Task" & "Task".

The Task list should come from across site collections of a Web Application.

Hence,The Scopen should be WebApplication.
How do I achieve the same? Need help ASAP.

Thnx,

Alex


alex

Task List for the logged in User with LINQ/CAML/SQL query

  

Hi All,

We have some workflows which are been created already. The tasks are been assigned to users for their approval. Now, when the approver logs in it should display the Tasks List which are belonging to that particular user only. OR if the normal user logs inn, it should display Tasks belonging to that User only. A web part should display this. Pls. note that I have to show the Tasks from both "Workflow Task" & "Task".

The Task list should come from across site collections of a Web Application.

Hence,The Scopen should be WebApplication.
How do I achieve the same? Need help ASAP.

Thnx,

Alex


alex

Fetching Task List for the logged in User with LINQ/CAML/SQL query

  

Hi All,

We have some workflows which are been created already. The tasks are been assigned to users for their approval. Now, when the approver logs in it should display the Tasks List which are belonging to that particular user only. OR if the normal user logs inn, it should display Tasks belonging to that User only. A web part should display this. Pls. note that I have to show the Tasks from both "Workflow Task" & "Task".

The Task list should come from across site collections of a Web Application.

Hence,The Scopen should be WebApplication.
How do I achieve the same? Need help ASAP.

Thnx,

Alex


alex

Can this be done? Comments on a task emailed to a different user

  

Currently I am using the built-in Approval workflow for a document library.  When a document is rejected, or a change is requested, I want the comments that the approver enters in the Task window Comments box to be sent to a user not on the list of approvers.

 

Eg:  Bill uploads a document.  Sally approves the document.  Sally requests a change.  Bill gets notified of Sally's change request.  I want Tom to get notified also and to be able to read the requested change comments.

Normally, the comments are just provided for the person who initiates the task by uploading the document.

Is there any way to grab these comments and add a separate workflow, or customize the built-in Approval workflow that would send these comments to a different user - I'd be happy to even send them to a different approver on the list of approvers.

 

Thanks in advance!


penny67

SharePoint Workflow and Permission Problems - User cannot edit assigned task

  
I've seen numerous posts on here talking about the same problem we're having, but the solutions listed in those do not work for us. So I apologize for reposting this subject, but we're getting desperate.

We have a custom workflow that is assigning a task to a user, then that user is clicking "edit the task" and getting access denied.  We've broken permission inheritance on the document library where the workflow is kicked off, the task list, and the workflow list (accessing through permissions in SPD) and given the user having the issue full control of these lists and libraries. This results in the user still getting access denied. When we add the user to the Owners Group of this particular site, the user can edit the task with no error message. This isnt' a solution of course as we cannot have the user in the owner's group.

We have custom workflows on several of our SharePoint sites and have never had this problem before. We've now spent a combined total of 6 hours on the phone with Microsoft Support and no one can tell us what the problem is. Help!

How to determine the user that completed a task when the task is assigned to a group?

  
I am using collect data from a user in a custom workflow.   I am assigning it to a group.   Where is the user stored that actually completes the task?

Creating an Email Alerts to Task Assigned user to edit the task from Email

  

When we use the out of the box wf in sharepoint lets say Document approval then it sends an email to the assigned user where user can edit the task with in email, they don't have to come back to Sharepoint to edit the task.

I am looking for a way so that i can send email to the user with the controls in the custom task forms. So that they can just Complete the task from email. they dont have to come back to sharepoint task list to edit and complete the task.

Is there any workaround for this.


kukdai

Can I elect which list appears when a user clicks "complete task" in a sharepoint workflow?

  

Hi,

I have a "Collect data from user" task which naturally shows the Workflow Tasks list when the user clicks "Complete Task" and the task form closes.  This is a little confusing for the user who thinks they are working on items in the base list.  Is there a way I can choose which list is shown after the user clicks "Complete Task" (or any action which closes a workflow task)?

I am using SharePoint 2007 Standard Edition and SPD 2007

Many thanks for your help,

Kirsten


WF Task for each user

  
Hi Experts!

Scenario:

WSS 3.0.
SharePoint Designer 2007.

I have a Task list named: Tasks.

Every day at 08:00 AM, I need to create a simple task for each user (50 users), the task have the same content for everyone, as the example below.

----------------------------------------------------------------------------------------------------------------------
Task: Send the billing data.
Description: Please enter the address: http://xyz.com/listxyz, and fill the data.
----------------------------------------------------------------------------------------------------------------------

I created a group permissions, but if I assign the task to a group it not will have 50 items, but 1 item for the whole group.

I need a way to automate this, probably a workflow.
This workflow must be started manually, and creates 1 task for each user that I inform.

I tryed do this in SharePoint Designer, but no success.


How can i do this?

Thanks!
Paulo Junior
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend