Hello Community
I've downloaded the SF Lab Package:
NameProductToAsset Version1217009 / 1.0 from salesforce lab on appexchange
But everytime I want to close an opportunity to closed won and hit save ->the package cannot trigger the event to automatically attach all products to the account as assets. So Im blocked on getting the opportunity to closed won and saved.
This is the error message:
Apex trigger CreateAssetonClosedWon caused an unexpected exception, contact your administrator: CreateAssetonClosedWon: execution of AfterUpdate caused by: System.DmlException: Update failed. First exception on row 0 with id 00k5700000nZFPKAA4; first error: UNKNOWN_EXCEPTION, The record couldn’t be saved because it failed to trigger a flow. We cannot find myVariable_current.null. Contact your administrator for help.: ()
Since SF itself is not providing support for SF lab apps and also on appexchange I dont get replies for my review, maybe someone can help me here.
Do you know how I could solve the error, so I'm able to put oppty to closed won and the app will add the products as assets to the account?
Or in general would you know an easy way how I could achieve this myself? Basically I would like to have an auto-process whenever an oppty was set to closed won, all the listed products with their details get listed under the assets section on that related account. So we have an overview on account level and see what was already sold to that account.
Many thanks,
Philipp
2 respuestas
Hi Philipp,
So there are a couple of options depending on your skill level
1) Turn on the debug log and see if any additional information is captured about the error to allow you to fix it. Note the app hasn't been updated since 2009 so doubt you'll get any help from them about the issue.
2) Look at this post here: https://joekuan.wordpress.com/2015/06/26/salesforce-triggering-closedwon-opportunity-to-new-entry-in-assets-table-associated-with-opportunity/ which may help you with the Salesforce Lab App.
2) Give up and try this app instead: Comity Designs Opportunity Products to Assets Converter [Lightning Ready] which has been updated recently https://appexchange.salesforce.com/listingDetail?listingId=a0N30000001rECeEAM - note I haven't tried this app myself.
Thanks
Kev