Announcements
------------------------------------------------
⭐ If this was helpful, please like and check the box below "Does this answer your question" to help others find this too!
Always glad to help! 💯💯💯💯💯
Tom
Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn
Add logging throughout your PAD flow:
Set variable: LogStep to "Step 1: Starting process" Set variable: LogStep to "Step 2: Opening Excel" Set variable: LogStep to "Step 3: Processing data"
LogStep
Wrap critical sections in try-catch blocks:
Try // Your Excel operations here Set variable: LogStep to "Excel operations completed" Catch Set variable: LogStep to "Excel operations failed: " + Exception.Message Set variable: ErrorOccurred to True End Try
Split your PAD flow into smaller, manageable chunks:
Example structure:
Use a SharePoint list or file to track progress:
Write text to file: "Step 1 completed at " + CurrentDateTime Write text to file: "Step 2 completed at " + CurrentDateTime
Identify and fix performance bottlenecks:
Set variable: StartTime to CurrentDateTime // Your operations Set variable: Duration to CurrentDateTime - StartTime
Adjust timeout settings in your cloud flow:
Create a heartbeat system:
Every 30 seconds: Write "Alive: " + CurrentDateTime to status file
Enable detailed run history:
Implement checkpoint-based execution:
// At each major step If CheckpointFile exists Then Read last checkpoint Skip to appropriate step Else Start from beginning End If // Save checkpoint after each major operation Write "Checkpoint: Step X completed" to file
Consider hybrid approach:
Here's a recommended approach:
Example logging structure:
Try Set variable: LogMessage to "Starting Excel processing" Write LogMessage to file // Excel operations Set variable: LogMessage to "Excel processing completed" Write LogMessage to file Catch Set variable: LogMessage to "Excel processing failed: " + Exception.Message Write LogMessage to file End Try
If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍. Regards, Riyaz
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 816
Valantis 603
Haque 566