Support Article
Missing stream key property pyStreamName
SA-9329
Summary
User observes that “Missing stream key property pyStreamName” error message has been logged in the log file every time when user clicks “Save” while “Manage Incident” is running from Interaction Driver.
Error Messages
"Missing stream key property pyStreamName." is logged in Log file.
Steps to Reproduce
1. Initiate Call/“Research” from CPMInteractionDriver Portal and search for an incident.
2. Click “Save” link.
3. Check the log file, message “Missing stream key property pyStreamName” will be logged into the file,
Root Cause
A missing parameter is causing the issue while reloading and showing the harness.
In the following step of Show-Harness activity , the below java line gets the value of streamname from purpose:
keys.putString("pyStreamName", StringUtils.crossScriptingFilter(tools.getParamValue("Purpose")));
This purpose parameter is in turn is coming from the parameterized call to show-harness.
Purpose is set Save And Continue stage via parameter. HarnessPurpose parmeter is not set in user's parameter page. It is non-existent and hence the issue.
Resolution
Explicilty pass the purpose parameter to the activtiy and that resolves the issue.
Tags:
Published May 11, 2015 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.