In this video, we will show you how to work around the error: "Unable to Convert Lead that is in use by workflow." We are seeing this error when a user is trying to convert a lead that has pending actions in time-based workflow that were created by Scheduled Paths in a flow.
I did some research and I cannot find any way to query the WorkflowQueue object which holds the pending actions in the time-based workflow queue. If you find a way, let me know and we can automate this process for the user. This video contains the best solution I could come up with for this issue that does NOT require the Salesforce admin to delete the pending records in the time-based workflow queue. Let us know in the comments if you came up with a better solution.
CHAPTERS:
---------------------------------------------------
0:00 Intro
0:42 Illustration of the Problem
1:34 Workaround to allow user to convert lead
1:55 Review custom fields needed for workaround
2:37 Update flow to use new custom field
3:25 Test solution
3:53 Research on automated solution
4:59 Wrap-up
About the Moderator: Cheryl Fernandes is a certified Salesforce Architect with 12 years of experience working on the Salesforce platform with a focus in the insurance and financial services industries. Despite not having an IT background, Cheryl found herself becoming the accidental admin at her previous company, and it turned out to be a life-changing opportunity.
Fueled by her passion for Salesforce and the remarkable transformations it can bring, Cheryl took a leap of faith 7 years ago and started her own consultancy, Blu Ninjas. As a registered Salesforce partner, she has been providing exceptional services and solutions to clients, while continuously honing her expertise in the Salesforce ecosystem.
Now, Cheryl is on a mission to inspire and empower Salesforce professionals worldwide through Blu Tiger Academy. Let us know what you are interested in, what business problems you cannot solve and what you would love to learn more about.
Follow us on LinkedIn and check out our website for other how to articles:
LinkedIn: / fernandescheryl
Blu Ninjas on LinkedIn: / blu-ninjas
Blu Ninjas How To's: https://bluninjas.com/how-tos/
#salesforce #salesforceadmin #salesforceohana #salesforceflow #salesoperations #salesforcedeveloper