You need to sign in to do that
Don't have an account?
Rebecca Ralls
Process Builder and Flow debug logs obscured by managed package code
Hi there,
I am working on a number of process builder and flow related processes that fire on objects that belong to a managed package. When I fire the flow from the flow builder I get a nice verbose debug log that tells me exactly what's going on in every step of the fairly complicated flow.
When I fire the flow from an object involved in the managed package using a Process Builder trigger, all I get is about three lines in the debug log that says "Entering managed Package". I don't get any information from workflow rules or process builder or visual workflow.
I talked to the vendor of the managed package, and they said that "the obfuscation of log output when entering our managed package code base i.e. an Apex Trigger which is a part of our managed package is an expected behaviour. Apex code external to our managed package does log output even if the trigger is defined on one of our packaged custom objects." But it looks like maybe flow and WFR don't fall into the realm of "external Apex code. ...
So I have 2 questions. One - is this the expected behavior? And if not, is there any way to surface the debug logs for my processes?
Thanks!!
I am working on a number of process builder and flow related processes that fire on objects that belong to a managed package. When I fire the flow from the flow builder I get a nice verbose debug log that tells me exactly what's going on in every step of the fairly complicated flow.
When I fire the flow from an object involved in the managed package using a Process Builder trigger, all I get is about three lines in the debug log that says "Entering managed Package". I don't get any information from workflow rules or process builder or visual workflow.
I talked to the vendor of the managed package, and they said that "the obfuscation of log output when entering our managed package code base i.e. an Apex Trigger which is a part of our managed package is an expected behaviour. Apex code external to our managed package does log output even if the trigger is defined on one of our packaged custom objects." But it looks like maybe flow and WFR don't fall into the realm of "external Apex code. ...
So I have 2 questions. One - is this the expected behavior? And if not, is there any way to surface the debug logs for my processes?
Thanks!!
One thing you could try is to create a simple method in Apex (using the InvocableMethod annotation) that logs the message for you, and see if that's any better? I posted an example of this here, if you're interested: http://demandchainsystems.com/advanced-flow-tips-and-tricks/