Rejection of Item deletion in Approval workflow?

Hi,
How to handle rejection and approval in the following situation?
 - when I delete an item , it will send a mail to PM(Project manager) and If PM approved , it will allow to delete that item.
Incase he rejected his request then item should not be deleted.
How to do this by using spd 2010?? 
Thank you.

Hi Praveen,
According to your description, my understanding is that you want to prevent items from being deleted in Approval workflow when the task was rejected.
Per my knowledge, the workflow created in SharePoint Designer cannot achieve this goal.
I recommend to create Event Receiver to prevent items from being deleted.
More reference:
http://bramnuyts.be/2013/07/18/prevent-items-from-being-deleted-using-an-eventreceiver/
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • Change in Work item Text for Approval Workflow WS14000133

    Hi,
    I need to change the work item text for Shopping Cart Approval Workflow WS14000133.
    I have created an Attribute in Business Object BUS2121 and called the same attribute in work item text.
    In PFTC -> Redefine Work item text - > and i have defined the work item text as well called the attribute from the container.
    what  the problem over here is - when I am passing the attribute in the work item text in the task, I am unable to see the work item text with the Dynamic Attribute but I am able to see the work item alone (not with the Dynamic attribut)
    But when i debug the workflow from SWI1 then i can see the dynamic attribute in the Container of the workflow but nt in the approver's inbox in portal..
    Can you please tell me - that why is this a strange behaviour that i can see the Dynamic attributed created initially in the workflow container of the Business Object but nt in the Approvers inbox either in Backend nor in the front end...
    Thanks,

    Hi,
    Maybe this SAP note/KBA will help :
    1470761 - How to change the text of the SRM approval links in inbox or UWL
    Kind regards,
    Siobhan

  • Shopping Cart Item deletable after approval

    Hello all,
    I have an issue regarding Shopping Carts: When a Shopping Cart is approved, gives a Purchase Order which is sent to Vendor, Requester can still delete Item of Shopping Cart, which has effect to delete Item in Purchase Order. I opened a message for SAP but they tell me this is the standard behavior which is for me a non sense!
    I would like to know if you already met the fact that Shopping Cart Item being deletable after approval and if you corrected it, how?
    Thanks,
    Patrick
    PS: I am working on SRM 5.0

    Hi,
    Yes this is a standard behaviour.
    The business case is a user who made a mistake and do not have access to PO due to lack of authorization.
    He should be able to delete his SC which trigger a delete status at PO item level.
    Then , if system is well configured, an update output is triggered to communicate to the vendor taht the line item has been deleted.
    If you do not want this behaviour, just modify the roel authorization in PFCG transaction.
    Kind regards,
    Yann

  • Completion and approval workflows in line item based SC approval scenario

    Hi SRM experts,
    We are on SRM 7 ECS , support pack SAPKIBKV08
    We are designing line item based SC approval workflow. We also have completion workflow. i.e after requester creates a shopping cart, it goes to buyer as per completion workflow( if the SC does not have price , vendor or has a free text)  , and then after the completion workflow, it goes to main SC approval workflow.
    My questions are :
    1. If a requester creates 2 line items in SC , and 1 line item does not have price/vendor/or material , whereas 2nd line item has price/vendor/ and material , can we send onlt the 1st line item  to completion workflow and not send the 2nd line item in the completion workflow but directly to SC approval workflow  ?  OR we have to send the entire cart to the completion workflow ?
    2. After the completion and the approval workflow , if line item 1 is approved, can it create a PO , whereas the 2nd line be still in approval . i.e  do all the cart items need to be approved before creating POs or as and when individual line items get approved , they can create thier own POs
    Rgds
    Sumendra

    Hi Sumedra,
    Which workflow are you using - application or process contrlled workflow?
    Assuming you are using process-controlled workflow - I will answer following questions -
    1. Can offline approval be used for item based shopping cart approval workflow?
    - Yes, it can be used !
    2. Can different line items be sent by mail to different mail boxes?
    Yes
    3. Will 1 manager see all the 10 line items OR only the 1 line item for which he is responsible?
    1 manager can 'see' all the items but he can only approve or reject the item that he is suppose to act on. All other item will be grayed out. However, this behaviour is configuarable !
    4. If he will get only line for which he is responsible , and once he clicks on approve , will this approval apply to his line item only , OR it will apply to all the 10 line items ?
    - see above
    Regards,
    Amit

  • AD-hoc approver n step item level shopping cart workflow

    Hi
    We are on latest version of SRM and using n step item level SC approval workflow.
    The scenario goes like this:
    -     Requester creates shopping cart and workflow goes for two step approval.
    -     In the approval preview the requester is able to see both levels of approvers, which is correct.
    -     Requester now selects second level approver and replaces him with a ad-hoc approver. WE DO NOT WANT THIS.  Requester should NOT be able to replace an approver determined by approval badi. However should be able to extend approval step with ad-hoc approver say third level approver a ad-hoc approver. Also he should be able to change AD-HOC approvers ONLY.
    Thanks
    Joe

    Jo,
      You may be able to achieve it in the BADI BBP_WFL_SECUR_BADI .
    You can use the Business Add-In (BAdI) BBP_WFL_SECUR_BADI to determine whether
    A shopping cart can be changed during the approval process
    The approval workflow restarts when changes are made to the document
    A reviewer/approver can be added or changedThese are the call scenarios (see import parameter SCENARIO).
    Regards,
    Suren

  • How to set the conditions for item deletion approval workflow?

    Hi,
    I have created approval workflow for item modifications ie, when user try to modify an item, it will send a mail to Project Manager. For that I set the conditions in Change the behavior of the overall task: 1. When the task process starts 2 . When the task
     process completes .
    Change the behavior of the single task: 1.when a task is Pending.
    [I followed this https://www.nothingbutsharepoint.com/sites/eusp/Pages/5-Steps-to-Enhance-SharePoint-2010-Approval-Workflow.aspx ]
    My Requirement is that I want to set this same workflow for the scenario: when the user deletes an item it will send a mail (intimation mail for item deletion) to Project Manager. here i dont want to send modification mails when user deletes an item.
    When user modifies an item: 1. intimation mail, 2. Approve/Reject mail 3. intimation for approval / rejection mail.
    When user deletes an item: 1. intimation mail.
    How can we set it in one approval workflow?? where i have to set the condition for sending either item modification mails or deletion mail.
    Thanks,
    Praveen ji

    Hi,
    According to your post, my understanding is that you wanted to start approval workflow when item deleted.
    You should first make some changes to trigger the workflow when you delete the item.
    You can use the Event Receiver to achieve it.
    In order to trigger workflow on item delete you need to create event receivers and from event receiver call the workflow already attached with list.
    http://ravendra.wordpress.com/sharepoint-workflow-on-list-item-delete/
    You can also create custom action to start the workflow, you can refer to the following article, then modify the workflow as your need.
    http://blogs.sharepoint911.com/blogs/jennifer/Lists/Posts/Post.aspx?ID=50
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Restrict editing/deleting item when approval workflow is in progress

    I have a list for contributors to submit documents and activate an approval workflow. The requirement is to restrict all users from editing and deleting the document once the workflow is activated. After the workflow is completed, if the document
    is approved, all users also should not be able to edit/delete the item; if the document is rejected, users should regain the permission to edit/delete the item.
    I had no problem with restricting edit/delete permission after the document is approved by adding a Declare Record action after the content approval status is set to approved in SPD.
    However, the workflow was not able to complete when I added a Declare Record action in the "When the Task Process Starts" step and an Undeclare Record action in the very beginning of the "When the task process completes" step to restrict users from editing/deleting
    the item when the workflow is in progress.
    After I activated the workflow and approved the item, the Workflow status shows Approved but the Approval status still shows Pending. In addition, the "Approval Workflow Task is complete" (shown in the following image) is missing in the workflow history,
    which seems to me that the workflow task is never completed.
    Please advise me the proper way to restrict users from editing/deleting the document while the workflow is in progress. Thank you.

    then use SPD to customize the task process to lock them out upon starting and give them rights again upon rejection.
    http://office.microsoft.com/en-us/sharepoint-designer-help/use-the-task-process-editor-for-approval-workflows-HA101863538.aspx
    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com
    Hi
    How was this resolved in the end. I to want to disable editing of document whilst workflow in progress. In SPD how is this achieved?
    Thanks

  • In approval workflow, can we have one action in which item can be review and approve/reject

    Hello,
    I have created approval workflow using SPD.
    While sending notification to approver, we need to mention link for viewing : [%TaskProcess:Item Title%][%Variable:InternetLink%] and for approve/reject : [%current task: form_URN%]
    So is it possible to have one link, where reviewer can review document and approve or reject it. he/she should not have to go again to mail and click on another link.
    Thanking you in advance.
    Regards,
    Jayashri

    hai
    go for DispatchAction class and then pass as parameters
    refer struts complete reference...
    it will solve ur problems..

  • Problem with custom sharepoint designer approval workflow - check box: 'Start this workflow to approve publishing a major version of an item' is greyed out

    I wanted to create a simple approval workflow. Hence I opted to start from scratch rather than copy the OOTB approval WF. Using SharePoint Designer (not Visual studio) I created a reusable workflow and have added the built in 'Start approval process' action.
    It's saved and published globally.
    Everything works fine except that when associating the WF with a list the 'Start this workflow to approve publishing a major version of an item' check box is disabled.
    Major and minor versioning is enabled for the library.
    What am I missing here? Or do I have to start from the OOTB approval WF to get this to work?
    Regards
    Henning

    Again - new ideas pop up right after defining the issue as a problem. :-) Problem solved!
    I solved this by creating a new workflow from the original publishing approval workflow (copy and replace), but instead of tweaking the already defined approval process (WF action) I deleted it, then deleted all initiation form and local variables,
    and then added the 'Start approval process' action again. This re-installs all the necessary local variables without any initiation form involvement, which is just what I want.
    From here I can tweak the workflow to make it more user friendly, much like
    described by Bobby Chiang in his great blog.
    Remember to add action Set Workflow Variable 'EnableContentApproval' to Yes right before the Start Approval Process action, else the document's status won't be set to 'Approved' or 'Rejected' as an output of the workflow.
    Learning every day!
    Henning

  • Send an email to previous approver after rejection in OOB Approval workflow

    Hi all,
    I have created OOB Approval workflow with two approvers.
    If first approver rejects then i want it to send an email to the requester. 
    If second approver rejects then i want it to send an email to the first approver as well as requester?
    Is there any way to acheive this? 
    And same should happened when document is approved
    Also how to identify that the first approver has completed their task? 

    Hi Trupti,
    you can do that using SharePoint designer workflows:
    you can do that by putting the actions in the complete condition so you check who approved it and based on that you do the actions of sending email so it will be if conditions and where to put that in here
    http://bobbyspworld.com/2013/02/08/5-step-to-enhance-sharepoint-2010-approval-workflow/
    https://support.office.com/en-gb/article/Use-the-task-process-editor-for-approval-workflows-8680b4a4-36b1-441c-b070-e515976078aa
    <section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Completion conditions for the task process
    When you click the completion conditions, you’re taken to a full-page workflow editor where you can add or change the completion conditions that for the task process. Specifically, these actions
    will run every time an individual task is completed. You can customize the logic here using the workflow commands in SharePoint Designer, like conditions, actions, and else-if statements. You can also add task behavior actions, like the Set Content Approval
    Status and End Task Process.
     Top
    of Page
    </section><section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Behavior of a single task
    From the summary page, if you change the behavior of a single task, you’re taken to another full-screen workflow editor where you see the individual task events, such as when it’s assigned, pending,
    expires, and so on. Specifically, there are five events:
    Before a task is assigned: These actions run before every individual task is created.
    When a task is pending: These actions run after every individual task has been created.
    When a task expires: These actions run every time an individual task is incomplete after its due date.
    When a task is deleted: These actions run every time an individual task is deleted before it’s completed.
    When a task completes: These actions run every time an individual task is complete.
    You can add any of the available conditions and actions, and you can add several more task behavior actions this time, like append, delegate, escalate, and reassign. You can even add task notification
    emails and wait for changes in a task process item. The available task behavior actions change depending on the event you’ve selected.
    </section>
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • How to troubleshoot approval workflow of a rejected purchase order

    Hi,
    We are working in oracle applications 11i.
    I have a purchase order with status rejected that has hanged up in the system. The user rejected PO and the document has not been transferred to the PO buyer. From the application forms -> Forward documents window, I can see that neither the user who rejected or the buyer has the document.
    From System Administrator responsibility I can see that the workflow administrator can modify a PO that is only IN PROCESS,
    what shall I do?

    please check :
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/how-to-troubleshoot-approval-workflow-of-a-rejected-purchase-order-4211332

  • Need 2 metadata fields from item I am running a approval workflow on to show up on the task list

    I have document library "A" that contains many documents with 6 columns of metadata. I have a simple approval workflow for the library that works as it should in functionality. My users would like it if 2 fields of metadata from the items in library
    "A" would show up in the Task list so they could track the tasks by the 2 fields. Can anyone point me in the right direction here to make this happen? Working in SP2010 with Designer 2010 and IP 2010.
    Thanks 

    Hi Ross,
    According to your description, my understanding is that you want to display two managed metadata fields in the associated tasks created in the approval workflow.
    I recommend to edit the approval workflow in SharePoint Designer and new two task fields to display the two managed metadata fields.
    Here are the detailed steps:
    Open the approval workflow in SharePoint Designer and click Approval in Start Approval Process step.
    Click New to create two task form fields in single line of text type.
    Click Change the behavior of a single task under Customization.
    In Before a Task is Assigned step, select Set Task Field under Task Behavior Actions and then set the newly created task form fields to get the values in the managed metadata fields of current item.
    Please refer to the picture below(create a task form field called Managed Metadata for example and mm is the managed metadata column in the list):
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • PO Approval Workflow on item-level?

    I have a requirement to implement an approval workflow when the price or cost center/internal order is changed on the purchase order.
    The problem is that as I see it, standard SAP only allows approval on header level for Purchase Orders.
    Is there a way to handle approval on item-level if for example the PO has 2 rows, we change the cost center on both these rows to different ones???
    Based on this cost center, the approval should then go to the cost center responsible and then his boss and so on based on the org-structure.

    Hi,
      Consider a example , you have a PO and this PO has three items IT1, IT2, IT3. Based on the cost center, you want to send the respective item for approval to the respcetive KOSTL manager .
    Desgin your workflow in this way.
    1. Design a background activity step in  and a BOR method where it returns you all the items  of the PO and store these items in a multiline container element in the workflow container.
    2. Now next to the above step include a [BLOCK step|http://help.sap.com/saphelp_nw70/helpdata/en/cc/18a8f409a93749b10e8dd9f9d81797/frameset.htm] in the workflow and choose par for each option and pass the items stored multiline container element. The use of the block step is it dynamically creates a parallel branches based on the number of rows in the multiline container element you mapped to the block step.
    3. Now Inside the block step create another bor method and include a bacground activity step. Now in this BOR mehtod what ever the item you import try to determine the manager of the KOSTL(Cost Center.) and who ever is determined pass that user(s) name(s) back to the workflow container.
    4. Next to this step include a decision step and choose the recipient type as expression and pass the container element in which  the KOSTL managers are stored, in this way you can send based on the item cost center to its respective manager.
    Regards
    Pavan

  • Re-starting Item Level Shopping Cart Approval Workflow

    Hi All -
    We are implementing WS 14500015 - the Item-based n-level approval workflow for shopping carts - for certain scenarios.  In other scenarios we are using the overall approval workflow.
    I need to re-start the item-level approval workflow for certain scenarios (change in price, change in quantity, etc) - not when any and all changes are made to a line item.
    I was hoping to use the badi BBP_WFL_SECUR_BADI - which works great for the overall n-level shopping cart approval workflow.  However, I can't seem to hit it appropriately for the item level approval workflow!
    Does anyone know if this BADI or any other can be utilized for determining when to re-start the item-level shopping cart n-level approval workflow?
    Thanks so much!
    Abby

    hi,
    Have you implemented the badi BBP_WFL_SECUR_BADI ? for restarting the workflow?
    Let me know?
    Also it is possible to debug and see why the restart does not happen.
    Also let me know wether the restart happens in other cases?

  • Disable approval/rejection at item level.

    Hi All,
    We need to stop the user from approving/rejecting a SC at item level.
    On EBP Home screen , click on Approval link , then click on magnifying glass,there are two radio buttons .I hide the radio buttons with help of [this thread.|How to hide Approve and reject radio buttons at item level.;
    Although the radio buttons are hidden but still if the user presses "Save" button the SC is approved by default because the Approved RBs are selected at item level.
    How can I initialize both radio buttons ie. none RB is checked so that clicking save does nto approves/rejetcs  a SC .
    Or can i use some BADI for this..please suggest.
    Reagrds,
    Anubhav

    Hi Daniel,
    As you said,its not possible to avoid approval/rejection at item level on click of save button and coding a new save button will be very complex so I created two radio buttons (approval / rejection ) at header level If the Approval RB at header level is selected , all the approval RBs at item level are selected automatically selected and same applies for rejection RB at header level.The item level RBs are invisible/hidden so the user has no idea of item level RBs.
    Now I am facing two problems..
    1)If I put the code for RBs in Template 120 , it also ahows up on other screens like in step2 , while creating the SC.
    If i put the code in Template 140 , i get it in step3 while creating the SC.
    In which template should I code the RBs so that they are visible in the approval screen or is there a way to know from where the template was called I mean was it called during SC creation or directly clicking on approval link  OR  can we check if the user has employee role or manager role so that the approval / rejection RBs are displayed only for managers ?
    2) For this JS function to work perfectly , i need to know the number of items in the SC.
    Which variable in the Template 120 of BBPSC01 contains the no. of items in SC?
    Thanks a lot,
    Anubhav
    Edited by: Anubhav Jain on Mar 31, 2009 7:47 AM

Maybe you are looking for

  • Store complaint

    So, I switched to Verizon from Sprint, to combine with my girlfriend's plan.  I haven't had an issue with MY phone, so I hadn't experienced much customer service with Verizon until now.  My girlfriend's LG EnV Touch was turning off on it's own.  She

  • Photoshop cs3 extended upgrade to cs4 (non extended)?

    First of all, is it possible for me to upgrade my cs3 extended version of photoshop to cs4? I have other programs from adobe on here such as dreamweaver, indesign and illustrator, so do I have to upgrade the whole suite or can I just upgrade the one

  • How can I tag my art files so I can find them in a search?

    Our company has AI art files from about 1991 forward.  In most cases, the artist has just labeled the artwork with the name of the client.  As you can imagine, after so many years this gets a bit unwieldy when trying to locate a particular design.  I

  • Automatic goods return after Goods Issue

    Hi, I have the following scenario: The client sells finnished materials using pump-over process. The material is attached to the pump-over packaging in a sales/prod BOM. The pump-over packaging is followed with a Batch number. When posting the goods

  • Delete millions of rows

    What are the best ways to delete few million rows from a table keeping the table available for the loads and customer access? This table has 50 million rows, and I need to retain few months' data and delete the rest. Please let me know if you have an