Article Overview:
This article will cover how you can achieve the following:
Resolve the issue when a journey fails at the showPdf step with a "Script timeout" error.
Problem Statement:
When executing a journey, you encounter the following error at the showPdf step:
Script timeout
Solution:
You need to add an inline script step immediately after triggering the "Download PDF" action to ensure successful PDF display.
Steps to Configure:
-
Login to Virtuoso:
-
Log in with your valid credentials.
-
-
Navigate to Your Journey:
-
Select your specific journey and go to the step where you execute "Download PDF."
-
-
Add Inline Script:
-
After the "Download PDF" step, insert the following steps:
Navigate to "https://s3-eu-west-1.amazonaws.com/virtuoso-downloaded-files/test.html" showPdf($LAST_DOWNLOADED_FILE) -
-
Save the Journey:
-
Click Save to apply these changes.
-
-
Execute the Journey:
-
Run the journey again to verify the issue is resolved.
-
Example:
-
Scenario: Journey fails consistently when showing downloaded PDFs.
-
Solution: By adding the NLP for navigating to the provided S3 URL before
showPdf, you ensure Virtuoso handles the PDF correctly, resolving the script timeout error.
For more information please refer this document: documentation.
Comments
0 comments
Please sign in to leave a comment.