How to resolve Missing stream key property pyStreamName when calling Activity Work-.StartNewFlow from within Agent Activity
I have an Agent Activity. It loads a Sub-case via the appropriate handle. I want to invoke a Flow on the Sub-case. Under certain circumstances, this flow results in the cancelling of the sub-case. When I invoked the Work-.StartFlow the desired result did not work. The functionality works as desired when I invoke Activity Work-.StartNewFlow.
However, I continually get "Missing stream key property pyStreamName" when I run the Agent Activity manually.
This is coming from Step 13 of StartNewFlow.
Is the error a result of me triggering this Agent Activity manually?
Or is it because I have not set HarnessPurpose on the parameter to StartNewFlow?
When I tried setting the HarnessPurpose parameter to Perform it gave me many different errors and thus removed the setting of the value
Any assistance/help on which direction I should take to prevent this error from occurring? (stack trace ends up in application server logs)
(Pega Version: 7.1.8)
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
I believe this error is definetly coming due to the missing parameter information of show harness.
Now you are saying that if you set the parameter to perform then you are getting some other error. Can you please specify what are the errors you are getting if you are setting the perform harness as harness purpose in the activity ?
Keep up to date on this post and subscribe to comments
- Missing stream key property pyStreamName when we keep the session open
- How to resolve " Missing stream key property pyID"
- Agent is throwing NullPointerException when calling pxCallRetrieveReportData from agent activity
- Agent Activity Security error when calling pxRetrieveReportData activity
- No Primary Page when an activity is called by an agent