You need to sign in to do that
Don't have an account?
Tell from Org Id whether it's Production or a Sandbox
The LMA captures the Org Id associated with a License. Is there any way I can tell from that Org Id whether it's a Sandbox or Production?
I've seen a few postings suggesting that you can, but when I check against a few known sandbox and Production Org Ids, the suggestions don't pan out. One such posting says, "The letter after "00D" determines the instance," and another says, "If the character after "00D" is a number, it's Production; if it's a letter, it's a sandbox," but I've seen exceptions to that. Specifically, I have a Developer Edition org that starts with 00DC, and another Developer Edition org that starts with 00D5.
Thanks!
LMA licenses are not created when installing an app into Sandbox
http://boards.developerforce.com/t5/AppExchange-Directory-Packaging/Changing-the-LMA-Expiration-Date-of-a-Managed-Package-installed/m-p/145454?view=by_date_ascending
Please Upvote this Idea (https://ideas.salesforce.com/s/idea/a0B8W00000GdavTUAR/organizationissandbox-global-variable-should-be-accessible-declaratively) to make is a global variable available natively in Flows, without having to work around this limitation with a Get Records from the Organization Object.