Results 1 to 3 of 3

Thread: How to delete lead via workflow?

  1. #1
    Squawk1200 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    3

    Default How to delete lead via workflow?

    Using workflow, I'd like to delete a record when the STATUS equals "converted".

    I've got the condition set, but I don't see the "delete" action.

    Any thoughts?


    ~Bob
    SugarCRM super-noobie


    edit: Version 6.1.3 (Build 5640)
    Last edited by Squawk1200; 2011-04-05 at 04:50 PM.

  2. #2
    air4x is offline Junior Member
    Join Date
    Feb 2011
    Posts
    6

    Default Re: How to delete lead via workflow?

    Here is a hack to do that.

    Go through creating an action to update a field. Select "do not call" as the field to be updated and select "Yes" as the new value.
    Then finally before saving the action, inspect the text "Set Do Not Call as 'Yes'" using firebug.
    Just below it you will find a hidden input field with value as 'do_not_call'. Change the value to 'deleted' and save the action.

    The action will be displayed in the workflow as not having any field to be updated. But it will update the value of deleted to 1 when the action is trigerred.

  3. #3
    bill_convis is offline Junior Member
    Join Date
    Aug 2009
    Posts
    5

    Default Re: How to delete lead via workflow?

    Hi Bob,
    In our Process Manager product - you can setup a Process when a Lead is modified and Status = 'Converted'. The process task will be type Custom Script and the Custom Script can then actually run a sql statement to delete the lead record, or do pretty much anything you want to do. Both our Community Edition and Pro versions of Process Manager Pro can do this.

    Thanks,
    Bill Convis
    SierraCRM, Inc.
    SierraCRM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. lead workflow
    By marcielo in forum Help
    Replies: 1
    Last Post: 2011-03-10, 07:44 AM
  2. Web to Lead Form and Workflow not working
    By seanpeace in forum Help
    Replies: 1
    Last Post: 2009-08-28, 09:22 PM
  3. Lead Workflow
    By stheologo in forum Help
    Replies: 1
    Last Post: 2008-04-08, 01:28 AM
  4. workflow to change lead status
    By graatz in forum Help
    Replies: 3
    Last Post: 2008-01-16, 05:08 PM
  5. Workflow can't check for an unassigned Lead?
    By dstrickler in forum Feature Requests
    Replies: 0
    Last Post: 2006-05-12, 11:26 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •