Skip to main content
Question

Track progress of a Custom Action (Progress Monitor?) and/or best practice for debugging?

  • September 19, 2024
  • 3 replies
  • 26 views

Forum|alt.badge.img+1

Hello community,

We have been provided some Custom Actions and Workflow Rules by a consultant and they just don’t work as promised. I’m trying to debug them myself but can’t find the tools that would inform me on the progress of the running actions/rules or where things are going wrong.

I thought the Process Monitor might be helpful when a long-running process takes place (like a Custom Action looping through and processing 100+ records) but I see nothing there.

And the Support article for Process Monitor doesn’t actually explain what Triggers the monitoring to begin! Can I cause monitoring to begin and to report out? What actions get “monitored”?

If not there, where else can I see any helpful information about why my Custom Action processed only 1 record out of the 20 I expected to load data into Financials and update each row’s status in this Custom Object?

This consultant has said that sometimes processes get ‘stuck’ without sharing how to un-stick them (or know if they’re stuck or just busy still). 

Forum|alt.badge.img+2
  • Bronze Active Participant
  • September 23, 2024

I often use updating a text field such as description at various stages of a workflow to test.  Especially where there are branches to ensure they have fired.   In the message add any variables  that are relevant to the workflow so you can see thier status at particular times 


Forum|alt.badge.img+1
  • Bronze Top Contributor
  • September 23, 2024

Thanks @JimM - primitive but effective! 

… I loved the 90s and  printf() debugging 😆


Forum|alt.badge.img+2
  • Bronze Active Participant
  • September 24, 2024

sometimes you just to go ‘Old School’


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings