Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6849461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:59:38+00:00 2026-05-27T00:59:38+00:00

We’re currently using Salesforce for our sales process, which involve trying to get people

  • 0

We’re currently using Salesforce for our sales process, which involve trying to get people to sign up to our “accounts management system”, submit details, documents, and get reviewed by an admin. This is a whole PHP system outside of SF, let’s call it “Cherry”.

What we’re doing right now is: Cherry keeps track of the accounts, but everything that happens is sent to SalesForce, so our salespeople have the list of leads to contact. When anything changes in Cherry, things get updated in SalesForce, including converting the SF Lead to an Account when the customer gets reviewed by our admins in Cherry. (After this we still update SF data, but this is less critical, since this is already a customer now)

To send information from Cherry to SF, I’m simply using the “SforceEnterpriseClient.php” API library, and calling the Create/Update/Delete methods provided by that library. I don’t know if there’s any other way to be honest, but our needs are very simple. Just creating Leads, updating their fields, and converting them to Account.

My problem is that our salespeople want to use time-dependent workflows, to automatically e-mail the leads every few days, change them from one status to another, etc. However, once a Lead gets “taken” by one of these workflows, the record is locked (until the time the action is executed, which is typically many days), and anything I try to do with it through the API (update it, or particularly “convertlead”) fails with error RECORD_IN_USE_BY_WORKFLOW.

Now, this seems like a pretty common scenario (both using the API to update records, and using time-dependent workflow). In fact, it almost seems to our salespeople that the whole point of using SalesForce is the workflows, so I’m quite surprised something as basic as this fails…

So the basic question is….
– Is there any obvious way around this problem? (Using some other API? Doing something different with the workflows?)
– If not, is there any way to “detach” a Lead from its workflow? (or somehow unlock that record)
– If not, are there any workarounds that imply more programming on the SalesForce side?

Thank you VERY much for your help
Daniel

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:59:39+00:00Added an answer on May 27, 2026 at 12:59 am

    You definitely can’t convert a lead with pending workflow actions. However, you should be able to update the lead. In particular, you’ll have to update the lead in a way that disqualifies it from the workflow rule. To achieve this, you might think about adding a hidden checkbox field called “Exclude from workflow” that you make part of the workflow criteria. In this case, you’d make an update call to to set this field to true.

    Once the Lead is disqualified from the workflow rule, the workflow action will be removed from the queue. Then you can convert the lead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have thousands of HTML files to process using Groovy/Java and I need to
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I used javascript for loading a picture on my website depending on which small
Basically, what I'm trying to create is a page of div tags, each has
I want use html5's new tag to play a wav file (currently only supported
I am currently running into a problem where an element is coming back from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.