- Newest
- Most votes
- Most comments
Hi all... For anyone looking at this post, I've figured out what the problem is.
The issue relates to the the difference in how the call is managed when multi-party calling with enhanced monitoring is enabled versus not.
The issue you're experiencing with User Defined Attributes in the Customer Hold flows in your Test Instances is unusual, especially since your Production instance is working correctly. This discrepancy suggests that the problem may not be in the flow configuration itself, but rather in how the attributes are being set or accessed.
Here are a few things to consider:
-
Attribute Scope: Make sure you're setting the attributes on the "Current contact" and not as "Flow" attributes. Flow attributes are temporary and restricted to the flow in which they are configured, while attributes set on the current contact persist throughout the contact's lifecycle.
-
Attribute Names: Verify that the attribute names you're using in the "Set contact attributes" block are consistent across all flows and instances. Even small differences in capitalization or spacing can cause issues.
-
Lambda Functions: If you're using any Lambda functions to process or modify attributes, ensure they are behaving consistently across both environments.
-
Queue Configuration: Double-check that the queues in your Test Instances are configured identically to those in Production, including any associated routing profiles.
-
Agent Workspace Configuration: Ensure that the Agent Workspace in your Test Instances is set up correctly to display these attributes.
-
Contact Flow Versions: Confirm that you're using the most up-to-date versions of all contact flows in both environments.
-
Instance Settings: Review the settings of your Test Instances to ensure there are no configuration differences that could affect attribute handling.
-
Logging and Monitoring: Enable detailed logging for your Test Instances and monitor the logs to see exactly how and when the attributes are being set and accessed.
If the issue persists after checking these points, you may want to create a minimal test case that reproduces the problem and reach out to AWS Support for further assistance. They can help investigate any potential backend issues or recent changes that might be affecting your Test Instances differently from your Production instance.
Remember, when working with contact attributes, it's crucial to set them correctly and reference them appropriately in your flows to ensure they persist and update as expected throughout the customer journey.
Sources
Flow block in Amazon Connect: Set contact attributes - Amazon Connect
Amazon Connect - Show View System Attributes | AWS re:Post
Relevant content
- asked 10 months ago
- asked 2 years ago

With these I am always going to say user error. If you export your PROD scripts to DEV, same issue? Are both instances in the same region?
@dmacias - Yes, both instances are in the same region. Production flows were actually exported from test env (which was previously fine). Flows have been exported back to testing instance, from Production, but still the results continue to be different in test instances versus production. The logs for the test instance calls show different information from production. In production, we can see the call flow information for the use of hold against the 2nd call (ie, with the agent that took over the call). However, in test instance there are no log for the use of hold against the 2nd call. The use of hold for the 2nd, or 3rd call, when transferred, show against the original call... and the flow behaviour is acting as expected. The issue appears to be due to this... AWS is continuing to associate the use of hold in the 2nd and 3rd calls against the original contact ID and the original contact ID information (agent, queue). Where as production does not do this.. So, the question is what configuration option would possibly be responsible for that behaviour?