Installation of unmanaged extension package fails when it contains Process which refers to any component from Installed managed package
Last updated 2018-06-09 ·Reference W-4200164 ·Reported By 3 users
Some customer may get error when installing an unmanaged package, if the unmanaged package includes a process(flow) which references a component from an installed package:
(process_name-1) formula_myRule_1 (Formula) - The formula expression is invalid: Field myVariable_current.referenced_field__c does not exist. Check spelling.
Step 1: Create a dev org (say pkg1), and give it a namespace say pkg1.
Step 2: In pkg1, create a Custom Object and a custom field in it, e.g. CustObj1 and CustField1; add them to a managed package and upload.
Step 3: Create a dev org (say unmanagedDev1), and install pkg1 package in it.
Step 4: Create a Process in unmanagedDev1 and in it drop a 'if' condition, as a formula in the if condition access CustObj1.CustField1
Step 5: Upload unmanaged package from unmanagedDev1 org, and ensure that the package has that process.
Step 6: Create a subscriber org (say sub1) and install pkg1 on it.
Step 7: Install unmanagedDev1 package in sub1 and it fails with the error message.
Remove the process from the unmanaged package and upload a new version, install the new version in the subscriber org.
Then manually re-create the process in the subscriber org.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.