I am trying to debug a post conditional logic block that is triggered on an auto transition sequence in workflow.
This is in a customer environment for supplier invoices. There is an owned subflow for approvals and upon the final approval it returns to the base workflow as Ready To Process which then transitions to Ready to Post and then Posted To GL and at this sequence it executes the post conditional logic block that I would like to debug.
@mhylton there are some developer workarounds to allow yourself some visibility in a debug session. Not perfect, but might give you insight into whatever issue or unexpected result you are having.
My go to, when possible, is to copy the workflow and application into a branch/lifecycle, temporarily remove or disable the Post Run Logic. Add the Post run logic as Form action on the copy of the application. This allows me to stop the transaction right before the post run logic executes. Then debug the row action i just added as a rough mimic of post run logic execution.
There are some things such as security access or transaction boundary issues that you might not be able to replicate 1:1. There is also limitations you may run into in removing or disabling the post run logic depending on what ownership the workflow definition is.
The idea Ian mentioned is the ideal long-term fix, but a little creative problem-solving in the short term can go a long way while you wait.
Thanks! I was thinking on the same track this morning and actually planning on copy the apps this morning and add the logic block as an action to the header. I will also copy the workflow and remove it from post run.