Task Due date in SharePoint 2013

Hi All,
we have an issue where we want some customization or possible turn around solution on SharePoint 2013. i want to know that if we are allocating any Task to any user then we have Start Date & Due Date in Task Form. Here what i want that automatically,
after 2 Days, Due date column should be freezes/locked (No more changes in that). And if we want to change Due date then can only change 2 times & if we want to change again Due date as 3rd time then it should not allow to change at all & require some
kind of approval from Management.

Hello,
For the limited number of modification of the due date, I would use an event receiver on "itemupdating"  with this kind of logic
If (Properties.ListItem[«Due Date»] != Properties.AfterProperties[«Due Date»]) //modification of the date
check the number of modification, if less than 3 , increment the number and continue, if 3 set
Properties.AfterProperties[«Due Date»]) =Properties.ListItem[«Due Date»]
here some info about creating event recivers :http://msdn.microsoft.com/en-us/library/gg252010(v=office.14).aspx (for 2010 but the same for 2013)
Best regards, Christopher.
Blog |
Mail
Please remember to click "Mark As Answer" if a post solves your problem or
"Vote As Helpful" if it was useful.
Why mark as answer?

Similar Messages

  • Strange one day adding to tasks due date (Outlook –SharePoint- MS Project integration)

    Hi,
    I have integrated MS Project 2010 with MS Outlook 2010 via SharePoint. Everything has gone more or less smoothly (as it could be for Microsoft
    J), but finally I got into a strange problem. Strangely enough,
    MS Outlook, while syncing tasks with SharePoint (these tasks are pre-created in MS Project and synced with SharePoint beforehand),
    adds one day to due dates of each of these tasks, e.g. for “Task 1” due date in MS Project and on SharePoint is 20.10.2010, but MS Outlook puts it as 21.10.2010, for “Task 2” due date in MS Project and on SharePoint is 22.10.2010, but MS Outlook
    puts it as 23.10.2010, etc.
    What is a strange trick? I have checked work time, holidays - everything is the same in MS Outlook, SharePoint and MS Project (8-17, Mon-Fri, 8 hours, 40 days a week). What could it be?
    Thanks a lot.

    Hi,
    It seems nobody can reply, so I will reply by myself because I found out the answer. The answer from Microsoft is pretty simple - ha-ha we know about,
    we will work on it, wait, ha-ha. Firstly let me quote Microsoft senior tech answer on the same request 3 month ago:
    "Hello Artur,
    The senior tech got back to me with the following conclusion:
    Outlook is rounding everything set to 12:00 PM or after to the next date because the columns mapped to start date and due dates are only Date columns,
    not date/time columns.
    It is rounding at noon because of the .5 decimal. This can be seen in Excel - 41115.5 = 7/25/2012 12:00 in date/time format whereas 41115.49 = 7/25/2012
    11:45.
    The issue seems to be an expected behavior, the next level of support is working on the same but currently I have not been provided with any ETA, so
    it looks like the issue will take a good amount of time to get fixed.
    I would appreciate your patience while we are working on the issue. I will keep you posted as and when I get an update on the issue."
    Sounds good, does not it? Ok. After asking this question recently I got run-around and finally I found the same question unsolved (see the quotation
    before) more than 3 month ago. I have sent it to Microsoft Tech Support. Look at reply I got from them on 22.10.2012:
    "This issue has been noticed and will be handled by the product team. Once we have any updates, it will be responded to you timely". 
    So the basic function does not work properly, there month passed - no way! Wait until what? I could hardly
    even imagine how Microsoft launched the product with such a bug and is not resolving the problem for months.

  • Unable to save lookup field data in SharePoint 2013 online list

    Dear Support,
    I had successfully created provider hosted app and deployed on SharePoint 2013 online site, in my project I created orderservice.asmx.cs web service and write a code for save record on SharePoint
    2013 online list as I mentioned below and calling on App1.js file.
    But I am unable to save lookup field value as mentioned below code
    Customer is a lookup field I want to save data in SharePoint 2013 online list( Order)where I had successfully
    inserted text field  data (Title &
    Special_x0020_Instruction).
    i am getting error as mentioned below
    500 Internal Server Error {"Message":"Invalid web service call, missing value for parameter: \u0027Title1\u0027.","StackTrace":"   at System.Web.Script.Services.WebServiceMethodData.CallMethod(Object target, IDictionary`2
    parameters)\r\n   at System.Web.Script.Services.WebServiceMethodData.CallMethodFromRawParams(Object target, IDictionary`2 parameters)\r\n   at System.Web.Script.Services.RestHandler.InvokeMethod(HttpContext context, WebServiceMethodData methodData,
    IDictionary`2 rawParams)\r\n   at System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)","ExceptionType":"System.InvalidOperationException"}
    Please let me know the code how to insert lookup field value (Customer)
    in SharePoint online list.
    OrderService.asmx.cs
    Public
    int InsertOrder (Order
    orderRecord)
                pwd.MakeReadOnly();
                clientContext.Credentials =
    new
    SharePointOnlineCredentials (myUserName, pwd);
    try
                  Web
    oWeb = clientContext.Web;
    ListCollection lists = oWeb.Lists;
    List oOrderlist = clientContext.Web.Lists.GetByTitle("Order");
                    clientContext.Load<ListCollection>(lists);
                    clientContext.Load<List>(oOrderlist);
                    ListItemCreationInformation
    itemCreateInfo = new                 ListItemCreationInformation();
    ListItem oListItem = oOrderlist.AddItem(itemCreateInfo);
                    oListItem["Title"]
    = Title;                        listItem["Special_x0020_Instruction"]
    = orderRecord.Instruction;
                        listItem ["Customer"]
    = orderRecord.CustomerId;
                        listItem.Update();
                        clientContext.ExecuteQuery();
    return 1;
    catch
    return -1;
    App1.JS
    $("#Save").click(function
    debugger;
    var OrderProfile = $('#orderprofile').val();
    var CustomerId = $('#exCustomerlist').jqxComboBox('getItem',
    $('#exCustomerlist').val());
    //var Instruction = $('#instruction').val();
            alert(OrderProfile);
            alert(CustomerId);
    var obj = {
    'Title': OrderProfile,
    'Customer': CustomerId }
            $.ajax({
                url:
    "OrderService.asmx/InsertOrder",
                type:
    "POST",
                dataType:
    "json",
                data: JSON.stringify(obj),
                contentType:
    "application/json; charset=utf-8",
                beforeSend:
    function (XMLHttpRequest) {
    //Specifying this header ensures that the results will be returned as JSON.
                    XMLHttpRequest.setRequestHeader("Accept",
    "application/json");
                success:
    function (response) {
                    $(".errMsg ul").remove();
    var myObject = response.d;
                    alert(myObject);
                error:
    function (response) {
                    alert(response.status +
    ' ' + response.statusText +
    ' ' + response.responseText);
    Regards,
    Akhilesh

    Hi Alex Brassington,
    Thanks for your reply.
    I am having the Site Administrator Permission of the public site.
    I am having the permission of Company Administrator of that site but still unable to find
    Device Channel on Site Setting. still I gave the user full control from Site Permission but nothing is happening.
    What should I do next?

  • WLI 7.0 Question about Set Task due date action

    Hi,
    I am trying to manage time out issue efficiently and, as described in the
    WLI documentation, the
    timeout has to be design with a dedicated path with, as the first task, a
    set task due date action.
    I was wondering about the timeout of this task due date...
    How can I stop this action before the end of the 'due date' without deleting
    the instance associated to my workflow ?
    Do you have any advice ?
    Thanks
    Alexandre

    HI,
    Customizing the Task List
    You can customize the column headers or search for required tasks by clicking on Customize Table Header. The option allows you to specify the columns to be showed in the list table, to provide the sorting order, and to set the page size. The sorting order could be complex with option to provide multiple columns for sorting and the order (ascending/descending) for each of them.
    To create a custom query and search for tasks:
    1.In the Task List page, click Customize Table Header.
    In the Construct a Custom Query form, specify the search criteria by specifying any of the following values.
    2.Enter the task name. You can use the * character at the start or the end of the name.
    3.Enter the task ID. Separate multiple values using comma.
    4.Select the check box against the Administration and Working state of the task.
    5.Enter any comment. You can use regular expression.
    6.Enter the priority range.
    7.Enter the Assignee, Owner, or Claimant names.
    8.Specify the completion due date range.
    9.If required, select the Include tasks with no completion due date check box.
    10.Click Apply.
    All tasks that match the specified criteria are displayed in the Task List page.
    To customize the table header:
    1.In the Task List page, click Customize Table Header. The Construct a Custom Query form appears.
    2.In the View form, select the columns that you want to view in the Task List page.
    3.Select the Preserve Search Criteria check box to retain these details for the current session.
    4.Select the maximum number of search results that should be displayed on the page.
    5.Select the number of rows that should be displayed in the page.
    6.Click Apply.
    The view in the Task List page is updated based on the current settings.
    Using this option you can set the completion due date
    Hope this information will help you solve the issue.
    Regards,
    Kal.

  • Upload 100 GB data into sharepoint 2013 site

    Hi Team,
    I want to upload 100GB data into sharepoint 2013 site for performance testing.
    I have the 5 document libraries.
    I want to upload the 10GB data to each document library in the site using powershell.
    Is it possible or not? Can you explain the detailed steps

    This should not be a problem, but you can't do it in 1 go as the default upload size per document = 50 MB (see
    https://msdn.microsoft.com/en-us/library/ff487972.aspx). I've created a tool that uploads documents in chunks, maybe you can use that (read the article as you'll need to increase some settings):
    https://gallery.technet.microsoft.com/office/The-Migration-Dragon-for-628acae0 Maybe that's an option for you too.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Task Due Date Escalations

    Can I enable Task Due Date Escalations ?

    Hi,
    Use this BADI 'LTRM_TO_RQST_CHANGE' to change the due date on the Request that gets created based on the TO created from WM. Due date field is on Request Header 'IT_LIRQH'.
    Thanks
    Vinod.

  • How to set due date on sharepoint workflow task

    I'm sure this is a very trivial question for this group, but...
    Using SharePoint Designer 2013 to build a workflow.  I have assigned a task.  How do I set the due date for a specific number of days out, i.e. 10 days from the task creation date?
    It seems like this should be really simple but I'm just not seeing it.
    Thanks.

    Hi,
    Please follow below steps,
    - Go to Tasks lists --> list settings --> change due date column to calculated value and add the following formula,
    [Today]+10
    I hope this works.

  • Cannot update due date in SharePoint 2010 Approvel Workflow generated Task

    Wondering why due date cannot be changed by users with List permissions on a Task which was generated from the built-in Approval workflow.
    I can have the workflow set the initial due date. The business process dictates that at times the due date need to be updated on the Task before they are completed (shift to the right or whatever).
    The column settings for the due date field do not seem to be set as read only??? why can the not be updated by users/admins?
    If the due date must be updated by a workflow how can a workflow be manually be run...like an administrator business process feature?
    BTW...this project mandates that all processes are run with OOB settings (codeless).
    Thanks
    Ok, found the answer to this on another post: click on the workflow status field of the workflow that generated the tasks. Then click "Add or update assignees". Very nice!

    Hi,
    Thank you for sharing this with us!
    Beside the way you mentioned, you can also try to reassign the task from the task list directly. Thus you can enter a new duration for this task and SharePoint will generate a new task.
    Thanks
    Pengyu Zhao
    TechNet Community Support

  • How would I setup some kind of template that creates tasks, due dates, and assignments automatically.

    Basically I want to setup something (project, workflow, template, list item), and what I would like it to do is:
    1. Ask for a name (text field, ex. "create business cards")
    2. Ask for a due date (date, ex.  "9/1/2015")
    Then based on those items, a number of tasks are created with relative due dates and assignments, ex. :
    "send email to marketing for logo" assigned to John Smith
    "Get logo approved from designer" due "8/1/2015" (1 month previous to due date), assignemd to Robert
    "send logo to shipping company" assigned to Matthew.
    And this process should be repeatable many, many times.  Say we are a business card company, so we need to do this same process over, and over again. 
    I'm hoping to use as much OOB as possible, without any programming, but not sure where to even start looking.  I've googled Task Templates, and Templated Task List, and stuff like that, but not finding much.  I'm learning more about Workflows,
    but not sure if that will even help me in this.  Thank you all!
    Edit: I have full access (system administrator) on SharePoint 2013 Enterprise. 

    Russ,
    If you watch this: https://www.youtube.com/watch?v=l7a_7KiE9vk you'll get a very good idea of how to develop the content type form, and then check out the Lynda Designer tutorial to build the workflow:  http://www.lynda.com/SharePoint-tutorials/Using-parallel-blocks/144025/161226-4.html?autoplay=true
    Basically, you build the custom form, make it the default document for a list, every time someone opens and saves that form  as a new document, your workflow is triggered on it and the tasks and emails you noted above get fired off.  You'll want
    to pay attention to the differences between SP 2010 and SP 2013 Designer workflows (and will likely want to go with SP 2013 workflows).  I think you'll also want to go with a List Workflow over the other choices.  If you have 2 days mostly uninterrupted,
    you'd be able to watch the tutorials and get a basic workflow in place; Designer and Workflow Mgr on the server can be a bit tricky, so installing those may be more of an issue than the actual development.
    Chad

  • Workflow - Task Due Date, Send Reminder, Possible ?

    Some sharepoint workflow questions
    1. I am assigning a task but how is the due date calculated?
    2. I need to send a reminder if the task is not completed by Friday 12:00 noon to the assigned person. How can I do this?

    Hi SP, you can do that a couple ways: 1) have a due date column with a workflow that is triggered when the date is past the due date. 2) make a calculated column taking the date and subtracting x number of days. This will have the workflow send out
    the reminder before the due date.
    Your calculation would be something like, if "today's date" = "due date - 7," then start workflow (to send out the reminder 7 days before).
    cameron rautmann

  • Incorrect task due dates after synchroniz​ation

    My device: Curve 8900. TMobile. Blackberry desktop manager software v5.0.1. Windows VISTA. Outlook 2003, SP3.
    Sorry, not sure of the exact mechanics of what happens, but I know that after synchronizing my Curve with Outlook, or perhaps it takes multiple synchs, some tasks end up with bizarre due or start dates in Outlook, but typically not in the device. Normally, I don't enter a start date, only a due date and/or a reminder, as appropriate for that task. Sometimes I leave none for all the dates. One task I initially created over a year ago, but leave active as a reminder, now has 9/1/2155 for the due and start dates, even though I could have sworn I recently set those dates to none in Outlook, and subsequently synched outlook w/ the device.
    Another task has a due date of 10/11/1969 in Outlook, and none in the device.
    Has anyone else experienced this or similar problems?  If so, I would appreciate hearing about any possible solutions.

    i have the same issue- weird random dates.  I don't see any replies to this post.  Have you had any luck figuring out what's going on?
    I'm on Windows XP, Outlook 2003, Desktop manager v4.5 (looks like I need to update that!)

  • Error in Archives data in SharePoint 2013 blog site

    Hi,
    I have created a blog site in SharePoint 2013.
    Here when i clicked on the month of june, it shows the header as May but showing the posts of july.
    Is there any solution for this issue.
    Please help.
    Thank you

    Hi,
    I checked the link for the archives, the date interval for the month of June is "31 may 2014 to 30 June 2014".
    Is it possible to change these date interval?
    Please help.
    Thank you.

  • Create Tasks Due dates

    Hi All,
    I'm new to SharePoint, I'm having requirement of setting a Project Management tool in which the start date, end date of task to be calculated automatically based on few parameters. For example lets take a Project called Project A which has list of tasks, lets
    say *Task A, Task B, Task C etc. The start date of Task is*Project confirmation date + 1 and the end date is 2 days from the start date.*
    *Now if a create a custom field called Project confirmation date can we calculate the start date and end date of the task automatically, Similarly there are other parameters for Task B, C etc. Is this kind of a set feasible in SharePoint? Please help.
    Thanks and Regards,
    Goutami

    create task list which is available oob in sharepoint then use calculated columns as below links reference:
    http://msdn.microsoft.com/en-us/library/office/bb862071(v=office.14).aspx
    http://sharepoint.stackexchange.com/questions/59504/calculated-column-to-calculate-date
    http://sharepoint.stackexchange.com/questions/74474/get-the-month-from-a-date-column-with-the-calculated-column
    =DATE(YEAR([project confirmation date]),MONTH([project confirmation date
    ]),DAY([project confirmation date
    ])+1)
    =DATE(YEAR([start date
    ]),MONTH([start date
    ]),DAY([start date])+2)
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • MS outlook task due dates

    I am syncing my Tour with MS Outlook 2003.  It is randomly assigning due dates (eg 11/21/219 or 9/2/2566) to tasks that are set to "none".  How can I fix this?  Thanks.

    Hi and welcome to the forums!
    A couple of places for you to visit: Blackberry 101    Tips & Tricks
    See this kb article:    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB14653&sliceId=2&docTy...
    Happy to have you here!
    IrwinII
    Please remember to "Accept as Solution" the post which solved your thread. If I or someone else have helped you, please tell us you "Like" what we had to say at the bottom right of the post.

  • Stop all parallel and series task after rejection in sharepoint 2013

    How to stop all parallel and serial tasks to stop and terminate the workflow once an approver rejects a request at any hierarchy or any branch of parallel activities.
    I am looking for SharePoint 2013 SPD workflow.

    Hi Arun,
    Based on your description, my understanding is that you want to stop all parallel or serial tasks and stop the workflow once an approver rejects a request.
    I recommend to edit the Start a task process action in the workflow and set the Wait for task completion under Task Options:
    If the workflow contains other steps under the Start a task process action and you want to stop the workflow after an approver rejects the task, then I recommend to add a condition to check if the Task outcome is approved under the Start a task process and
    move all the other steps inside the action.
    After that, only if the all the tasks are approved, the workflow will run the other steps, otherwise it will go to the end of the workflow.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • JDev 10.1.2 and EJB 3.0

    Hi, Is it possible to create a portlet in JDev 10.1.2 that uses EJB 3.0 components ? Thanks,

  • Validation business rule on a cumulative basis with periodic data storage

    Hi BPC Experts, Is it possible to set up a validation business rule on a cumulative basis when we have periodic data storage type? Appreciate your assistance with this. Thanks. Mila

  • Folder is missing files...help!

    I have CS GoLive and my portfolio folder on the local side of the window has a plus sign next to it, but won't expand and show the portfolio files. I've tried to copy and paste the pages and I've tried to import the pages to the folder, but nothing s

  • Where and how does iPhoto keep photos?

    I am in the process of scanning and editing about 1000 old Kodakchrome slides taken over the past 40+ years. My scans go into Photoshop Elements for tarting up and then are stored in various folders with appropriate names. After that I import them in

  • Problème avec Dreamweaver sur Internet

    Salut J'ai un problème de présentation sur Internet  je ne suis pas capable de positionner mes pages de référence J'ai comparé les codes avec une autre page semblable, les deux semblent similaires   mais ça ne marche pas Comme lorsque l'on regarde tr