Cancelling a Approval Task using Designer 2010

I created an Approval Workflow using Designer 2010. The workflow sends out notifications emails to approvers. But what if I want to cancel the approval task after the email has been sent out. I mean I don't want user to be able to approve the List Item.
Is there something I can change in the Designer 2010 code to make that happen. Thanks so much!
Regards,
mayank

Hi Kapil,
Thanks so much for your response. I have a document library and it has a column called CE Status.
When a task is assigned, the CE Status becomes "Media Relations in Progress" for instance. That is one of the stages. There is a group called Media Relations that will receive an email to approve. Once approved, the logic in my code changes the
CE Status. It goes to next stage and sends out an notification email to the next group.
I want to create a separate workflow that will cancel any pending task. So some selected user should be able to cancel the task. In that event, the assignee (Media Relations for instance) should not be able to approve the document via the email they originally
received.
Mayank

Similar Messages

  • 2 level approval workflow using spd 2010

    Hi,
    I have to create 3 level approval workflow using sPD 2010, 
    1) User raises request --> Email goes to approver1 & Task assigned to approver1 --> If approver1 approves Task should be assigned to approver 2--> If  approver2 approves--> Task should be assigned to approver3 & Email Notification-->
    If approver3 approves workflow should complete & email goes to request initiator.
    Could you please let me know the exact steps

    Hi ppatil,
    According to your description, my understanding is that you want to create a workflow to assign tasks to different levels people in SharePoint 2010 Designer.
    To achieve it, I suggest you use the built-in approval workflow 2010 template.
    You can do as the followings:
    Open the library
    Click Library-> Settings->Workflow Settings->Add a workflow
    Select the ‘Approval-SharePoint 2010’ template, and type a name for this workflow
    Select the start options, and click Next
    For the Approvers, type your approvers as the order approver1, approvaer2, approver3, and the Order is ‘One at a time(serial)’
    Select ‘End on First Rejection’
    Click Save
    Then if you start the workflow, it can be workflow as your description.
    I hope this helps.
    Thanks,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • Specify duration for each assignment stage in an approval task - sharepoint designer workflow

    HI
    I am trying to create an approval workflow in sharepoint designer. How do I configure different duration for each participant in a approval task .?

    I had a similar issue. Best way I found was to go into the 'Before a Task is Assigned' of the task and then Set Task Field Due Date - to the date needed.  If you need to get into specific time of the day, it presents additional issues.  First the
    workflow doesn't have a 'current time' function.  If the task is being created at the start of the workflow, you can use Workflow Context Date/Time started and calculate from there.  If you are adding a task, or the
    task is occurring after a previous task, you can make a workflow field and on the 'When a Task Completes - assign it the value of Current Task Last Modified.  Also, it seems their is bug where it doesn't recognize the
    time-zone correctly when you update the Due Date in the workflow process.  So if you see unexpected results for the time in the duedate value, may have to adjust for however many number of hours your timezone is from GMT.

  • Customize SP2010 OOTB approval workflow using SP designer

    Hi,
    Even though it has been long time i raised the following question:
    http://social.msdn.microsoft.com/Forums/office/en-US/1efa6726-5790-4930-9520-4ef6398c503c/customize-ootb-approval-workflow-using-spd-2010?forum=sharepointcustomizationprevious
    but i never created the workflow using the proposed solution until now. After doing some testing i can verify the proposed solution doesn't work for the following reason:
    1.If i use 'user who created current item' and at the time of submitting the workflow add a different user email address in the 'Approver' field. It doesn't assign task to the user who has been manually added into approver field. It would still assign the
    task to the user who created the current item which is incorrect.
    2.If i use 'user who created current item' and a user who created the page has moved from his/her role, when submitting the workflow manually, the system will assign the task to the user who created the original item not the one who has just modified the
    item
    Ideally we would like to add the 'Approver' when submitting the workflow manually. Is there any other way of doing this? or i have tried the following:
    Copy default approval workflow -> Edit Workflow -> Initiation Form Parameters -> Modify Approvers -> Change 'Collect from parameter during:' to Initiation (starting the workflow) -> Next -> Finish -> OK -> Save -> Publish
    This lets you add the approver and would assign the task to the correct user. Is this a correct approach?
    Any help would be appreciated.
    Regards,
    Kash

    By collecting the values during initiation, you would be able to make it work correctly.  The only down side to this approach is that there are no default values, but that's a small price to pay for a working process.
    If you tested this and it works correctly, I would say that you have a good solution without having to dive too deep into custom code.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • SharePoint Approval Workflow using SharePoint Designer in SharePoint Foundation 2013

    I am unable to do SharePoint Designer workflow for approval process and I didnt get any Approval process in Actions in SharePoint designer Workflow also I don't find workflow features in Site collection features SharePoint 2013.
    Even I am not able to do simple Out of the box Approval Workflow.
    Kindly help me with this

    Unfortunately, Out of the box workflows are not available in SharePoint foundation 2013, you need at least the standard version of SharePoint 2013.
    You can still create .Net Workflows using the 2010 plateform.
    Take a look at this great comparative between the three versions of SharePoint 2013 :
    http://blog.blksthl.com/2013/01/14/sharepoint-2013-feature-comparison-chart-all-editions/

  • Some fields are missing in Current Task - Designer Workflow Approval Task Process

    Hi All,
           I am using approval task process activity in designer workflow. When i go to the single task behaviour page, some fields are missing under Current Task Source.
    Some missing fields are :
    1. Assigned To
    2.External participants
    3. Form Urn
    I am trying to get the above fields but not available. What could be the issue?
    Puli Bala

    Hi Puli,
    I think your task list is corrupted, could you please try to associate your workflow to another task list in SharePoint Designer > Click Workflows on left navigation > Click to open your workflow > Under Settings section, select another task
    list and test.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • Sharepoint 2013 designer workflow auto approve task after due date is passed

    sharepoint 2013 designer workflow auto approve task after due date is passed.
    Could we approve the task automatically once due date is apssed?
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Amit,
    If your task is created by a workflow (first) and stored in a separate task list, you can create another workflow on this particular task list, then each workflow instance would check if current task is expired (not approved/rejected), then
    determine if update current task's "Task Outcome" as approved (and update task status as complete), and then create a retention policy on this paricular task list to trigger the workflow on due date .
    Thanks,
    Daniel Yang
    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]
    Daniel Yang
    TechNet Community Support

  • Trouble creating a Netezza datasource from SharePoint Designer 2010 using OLEDB

    I am trying to create a data source in SharePoint Designer 2010 for connecting to a Netezza database via OLEDB.  If I choose the Microsoft .NET Data Provider for OLEDB and give it the server name, username, and password, I get the following connection
    error:
    Server Error: An error occurred while retrieving the list of Databases from nzprod-vip: The data retrieval service encounterd an error during connection to the data source. Contact the server administrator for more information.
    (The server administrator had no additional information.)
     If I use a custom connection string, specifying the Netezza OLEDB provider,  whose format looks like this (actual database and credentials omitted):
    Provider=NZOLEDB;Password=...;User ID=...;
    Data Source=...;Initial Catalog=...;
    Persist Security Info=True;Port=5480;Logging Level=0;Log Path=nzconnect.log; Optimize for ASCII=True;
    I get the following connection error:
    Server Error: An error occurred while retrieving the list of Databases from nzprod-vip: The Web server cannot connect to the specified data source because the query may contain errors, the data source may be unavailable or configured improperly, or you Web
    site is behind a proxy server or firewall.
    If your Web site is behind a proxy server or firewall, verify that your server administrator has configured the Data Retrieval Services HTTP proxy server setting for Microsoft SharePoint Foundation.
    (We are not behind a proxy server or firewall.)
    The NZOLEDB provider is loaded on the SharePoint server running the SharePoint Data Retrieval Service. I can successfully connect to the Netezza database if I login directly to the SharePoint server and run a Netezza database
    browser that connects via NZOLEDB using the same parameters that are in custom connection string I tried through SharePoint Designer.
    Our SharePoint server configuration has one server for the application services (including the Data Retrieval Service) and two other servers running just SharePoint web services.   (We actually loaded the NZOLEDB driver on all three servers for
    good measure, though we think the server running the Data Retrieval Service would be right one.)
    We do not think SharePoint privileges are a factor, since we had our SharePoint administrator try to connect while running with full access privileges.
    Any help will be much appreciated.

    Hi Ronald,
    i am not quite sure how the OLEDB connect to the netezza, as i heard they also have their own OLEDB, as you mentioned.
    but please have a check this link, perhaps it may help to set up OLEDB in sharepoint designer
    http://office.microsoft.com/en-us/sharepoint-designer-help/add-a-database-as-a-data-source-HA010355745.aspx
    perhaps this link may help you in some way:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/0e4b5e49-49ef-4e6b-9ab8-ac954ab8d0be/how-do-i-add-c-to-webpage-in-sharepoint-designer?forum=sharepointcustomizationlegacy
    http://social.technet.microsoft.com/Forums/en-US/9ac4a7af-6e3f-41d8-8b8e-14b707697e06/c-code-to-connect-netezza-using-oledb-provider?forum=sqlintegrationservices
    http://www.rafael-salas.com/2010/06/ssis-and-netezza-loading-data-using-ole.html#!/2010/06/ssis-and-netezza-loading-data-using-ole.html
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to read approval tasks of a request in OIM using API ?

    Hi,
    Is there a way to read the approval tasks and the corresponding status using OIM API i.e., if workflow has two level of approvals, the approval tasks would be: 1. Manager Approval and 2. Role Owner approval ?
    I have been looking at the API docs. but it didnt help, all I could find is to read the stages and the status of each stage i.e., Request Level, Template Level and Operation Level?
    Thanks,
    Hrushikesh

    below link will help you to locate BPEL worklist API
    http://technology.amis.nl/blog/1496/invoking-bpel-worklist-api-from-remote-server-with-java
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm

  • How to design SSRS report using SharePoint 2010 List Version History

    Hello,
    I am using  Sharepoint 2010 list, i need to design SSRS report using Sharepoint List Version History. Could please let me know how to design.
    Thank you.
    Kind Regards

    You could do that with SQL Server Reporting Services, Please follow the instructions from the link below:
    http://www.mssqltips.com/sqlservertip/2068/using-a-sharepoint-list-as-a-data-source-in-sql-server-reporting-services-2008-r2/
    Hope that would work fro you.
    Please Mark as Answer, if the post works for you.
    Cheers,
    Amar Deep Singh

  • How to disable the edit Permission after the task approval in project server 2010.

    Hi ,
    Can this be done.
    How to disable the edit Permission after the task approval in project server 2010.
    I mean How to Disable approve/Reject Permission Once task approved in project server 2010.
    Any Help Would be more than Welcome.

    Hi Rohan,
    Just talking about the tool capabilities, preventing a task approver (status manager) to approve/reject updates once he has already approved once is not possible out-of-the-box. You grant permissions to user: if you grant a user to approve task updates then
    he has the permission to approve updates, no matter if it is the 2nd or 3rd time the task is approved or rejected.
    Then of course you could do not custom development to do that.
    I'd say that in order to help you, we would need to understand a little bit more your business need. Why do you need to achieve such a goal? We can surely propose you workaround.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • I am using Outlook 2010. Changes made to my iPhone 4 or my iPad2 appear on each other (tasks, calendar, Contacts) but not in Outlook. Why is this?

    I am using Outlook 2010. Changes made to my iPhone 4 or my iPad2 appear on each other (tasks, calendar, Contacts) but not in Outlook. Why is this?
    Also, changes made in Outlook do not appear on Phone or IpAd

    I'm guessing outlook doesn't support iCloud or vice versa or the settings for iCloud in Outlook are turned off. Just a guess though I don't use Microsoft products if I can help it.

  • Insert webpart zone in tabs in webpart page using sharepoint designer 2010

    Hi All,
    I am facing a problem , its looks very easy but i couldn't found any clue about this.
    i have created a webpart page, after this i have enable to view quick launch in this webpart page. then i have create a some tabs with reference to this site
    https://jqueryui.com/tabs/. but the problem is when i go to view my page in browser it take same height which is same as quick launch height. and in my diff scenario i have created tab using content editor web part then its working fine. but
    i need to create web part zone in these tabs that why i m not able to do this using content editor. so i am using designer only.
    i guess i am writing content in wrong content place holder or etc. please help me ...i have already lost my 2 days for this.
    FYI, please find the code which i used in webpart page using share point desinger.
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:ListItemProperty Property="BaseName" maxlength="40" runat="server"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
    <WebPartPages:WebPartZone runat="server" title="loc:TitleBar" id="TitleBar" AllowLayoutChange="false" AllowPersonalization="false"><ZoneTemplate>
    <WebPartPages:TitleBarWebPart runat="server" AllowEdit="True" AllowConnect="True" ConnectionID="00000000-0000-0000-0000-000000000000" Title="Web Part Page Title Bar" IsIncluded="True" Dir="Default"
    IsVisible="True" AllowMinimize="False" ExportControlledProperties="True" ZoneID="TitleBar" ID="g_14e08bcc_e32c_4759_80dc_34e124e6212f" HeaderTitle="abc1" AllowClose="False" FrameState="Normal"
    ExportMode="All" AllowRemove="False" AllowHide="True" SuppressWebPartChrome="False" DetailLink="" ChromeType="None" HelpLink="" MissingAssembly="Cannot import this Web Part." PartImageSmall=""
    HelpMode="Modeless" FrameType="None" AllowZoneChange="True" PartOrder="2" Description="" PartImageLarge="" IsIncludedFilter="" __MarkupType="vsattributemarkup" __WebPartId="{14E08BCC-E32C-4759-80DC-34E124E6212F}"
    WebPart="true" Height="" Width=""></WebPartPages:TitleBarWebPart>
    </ZoneTemplate></WebPartPages:WebPartZone>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaClass" runat="server">
    <style type="text/css">
    Div.ms-titleareaframe {
    height: 100%;
    .ms-pagetitleareaframe table {
    background: none;
      </style>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
    <meta name="GENERATOR" content="Microsoft SharePoint" />
    <meta name="ProgId" content="SharePoint.WebPartPage.Document" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="CollaborationServer" content="SharePoint Team Web Site" />
    <script type="text/javascript">
    // <![CDATA[
    var navBarHelpOverrideKey = "WSSEndUser";
    // ]]>
    </script>
    <%--<SharePoint:UIVersionedContent ID="WebPartPageHideQLStyles" UIVersion="4" runat="server">
    <ContentTemplate>
    <style type="text/css">
    body #s4-leftpanel {
    display:none;
    .s4-ca {
    margin-
    </style>
    </ContentTemplate>
    </SharePoint:UIVersionedContent>--%></asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderSearchArea" runat="server">
    <SharePoint:DelegateControl runat="server"
    ControlId="SmallSearchInputBox"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
    <SharePoint:ProjectProperty Property="Description" runat="server"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderBodyRightMargin" runat="server">
    <div height="100%" class="ms-pagemargin"><img src="/_layouts/images/blank.gif" width="10" height="1" alt="" /></div>
    </asp:Content>
    <%--<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"></asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderNavSpacer" runat="server"></asp:Content>--%>
    <%--<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>--%>
    <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
    <html lang="en">
    <head>
    <meta name="WebPartPageExpansion" content="full" />
      <meta charset="utf-8">
      <title>jQuery UI Tabs - Default functionality</title>
      <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
      <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
      <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
      <link rel="stylesheet" href="/resources/demos/style.css"><script>
      $(function() {
        $( "#tabs" ).tabs();
      </script></head><body><div id="tabs">
      <ul>
        <li><a href="#tabs-1">Bangalore 1</a></li>
        <li><a href="#tabs-2">Bangalore 2</a></li>
        <li><a href="#tabs-3">Bangalore</a></li>
        <li><a href="#tabs-4">Chennai 4</a></li>
          </ul>
    <table cellpadding="4" cellspacing="0" border="0" width="100%">
    <tr>
    <td><div id="tabs-1"> <%--id="_invisibleIfEmpty" name="_invisibleIfEmpty" valign="top" width="100%"> --%><WebPartPages:WebPartZone id="g_6958510ECBD74ABD8AA9F8E26B747B27"
    runat="server" title="Zone 13"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone><WebPartPages:WebPartZone id="g_FA3DDD09582A4C589559877B7169340D" runat="server" title="Zone 14"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone></div></td>
    </tr>
    <tr><td><div id="tabs-2">
    <WebPartPages:WebPartZone id="g_73928F4B9F484EE392EBCBA7D5ACF9FE" runat="server" title="Zone 1"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    <WebPartPages:WebPartZone id="g_77B2328C81874FFB8034559174B450BF" runat="server" title="Zone 12"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div></td></tr>
    Please help..if u need any other detail i ll provide you.. plz check the image after doing this the tabs take full range as quick launch.
    Thanks
    Vivek Singh Tomar

    You do not need to work on visual studio, you can create page layout form web and sharepoint designer. Page layouts are only available on publishing sites, you can modify page layout using sharepoint designer, add your required html and web part zones.
    Check below few links for reference:
    http://msdn.microsoft.com/en-us/library/gg430141(v=office.14).aspx#bk_custompagelayout
    http://www.mssharepointtips.com/tip.asp?id=1125
    http://blogs.technet.com/b/tothesharepoint/archive/2013/04/10/stage-7-upload-page-layouts-and-create-new-pages-in-a-publishing-site.aspx
    http://msdn.microsoft.com/en-us/library/gg430141(v=office.14).aspx#bk_custompagelayout
    Page layouts creation and editing is almost same in MOSS 2007, SharePoint 2010 and SharePoint 2013. If you are creating page layout using web then you can easily modify it using SharePoint designer.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • Error while designing Deski reports using excel 2010(xslx) as data source

    Hi All
    We are using BOXI R3.3 on Windows 2003 Server.
    When we are trying to create DESKTOP INTELLIGENCE REPORTS using EXCEL 2010(xlsx) format prompting with below error.
    "Cannot update.Database or object is read only(3207) "
    Could you please clarify whether BOXI supports MS EXCEL 2010 version(xslx) version or not?
    If not what is the work around for this?
    Regards
    bose

    Here is what Supported Platforms Guide says : Microsoft Office 2010 (starting with FP 3.4)**
    As you are on FP3.3, Office 2010 is not supported in your implementation.
    You need to either upgrade, or use pre-Office 2010 formats.

  • Filter in data view web part using sharepoint designer 2010

    Hi,
    i have a scenario that there are 4 column Name, shift time, Location, Date. so i have to create a data view web part using designer. 
    further conditions are:
    1.Shift time should be radio button and filter the data accordingly.
    2. Data display only for current date(system date).
    3. Group by Location.
    i have complete all things except how to display data according current date. its showing all dates result.
    So please help me how to give a expression or filter to do this. if you have xslt code then plz let me know.
    Please help ASAP.
    Thanks
    Vivek

    Hi Vivek,
    If i understand it right, you know how to do other bits and want help in displaying data for only current date. on your view you can use filter condition as :
                    column: Date
                    condition : is equal to
                     value:     [Today]
    Let me know if this helps.
    Regards
    P
    Please don't forget to mark an answer if it solves your problem.

Maybe you are looking for

  • Generic Repository class to download BSP into Ms-excel

    Hi, we have developed the download utility for BSP-MVC application, we have many BSP-MVC applications so i have to  develop a generic Repository class to download BSP into ms-excel, which is usable for all, the data selection will be done from model

  • I can't export my project in Final Cut Pro X

    Hey Troops. So after buying my new powerbook few months back finally have had a chance to use Final Cut Pro X. After completing my project, I went into 'FILE' clicked on 'SHARE' just see all my options greyed out. I checked to see if I needed an upda

  • Date question in Oracle

    hi how to insert (text) time: 09:44:02 and date:11/09/2007 to date filed in Oracle ? i have field Tdate (date) and Ttime (date) in oracle thanks in advance Edited by: GoldSoft on 16:33 22/08/2011

  • Import javax.servlet.* gives error "package does not exist"

    I am working through Monica Pawlan's book "Essentials of Java PL". My PC runs Windows2000 prof. I have downloaded and installed j2sdk-1_3_1_01-win.exe in c:\jdk1.3.1_01 I have downloaded and installed tomcat4.0 (jakarta-tomcat-4.0.zip) into c:\jakart

  • SIT Mappings randomly break

    I'm having a very frustrating problem with the Simulation interface toolkit (version 5.0.1). I'm working with a rather large complicated simulink model (compiled into a dll and run on a PXI target) so I am creating my host vi piece by piece. I comple