Giter VIP home page Giter VIP logo

connect-integration-aspect-wfm's Introduction

connect-integration-aspect-wfm's People

Contributors

andrew-glenn avatar dburkhead avatar handans avatar jayyeras avatar lucius-aws-quickstart avatar sshvans avatar troy-ameigh avatar vsnyc avatar

Stargazers

 avatar

Watchers

 avatar  avatar

connect-integration-aspect-wfm's Issues

CopyZips needed

Lambda functions reference the the aws-quickstart bucket directly. We should migrate to the CopyZips pattern

onnect-integration-aspect-wfm    master ❯ egrep -i 'S3Key' -B1 -R *                4245   22:26:29
templates/aspect-wfm-rta.template-        S3Bucket: aws-quickstart
templates/aspect-wfm-rta.template:        S3Key: connect-integration-aspect-wfm/functions/packages/real-time-adherence/AspectKinesisLambda.zip
--
templates/aspect-wfm-ap-kda.template-        S3Bucket: aws-quickstart
templates/aspect-wfm-ap-kda.template:        S3Key: connect-integration-aspect-wfm/functions/packages/agent-productivity/lambda.zip

Intermittent issues with real time adherence data/stack

The Lambda function created by the 'Real Time Adherence' Stack seems to intermittently error out when attempting to write agent states into DynamoDB. Once the error occurs, the Lambda function is unable to update DynamoDB. The Lambda function is then continuously called by the Kinesis Data Stream with the same payload that produces the error. This stops within about 2 days, after which the Lambda function resumes working as normal.

I do not have a precise method to reproduce the error but I have not been able to conduct testing sessions (where I'm moving an agent within Amazon Connect through various states) for more than about 20 minutes before it occurs.

In a nutshell, if you:

  • deploy a working (agent able to log in and change states) instance of Amazon Connect
  • deploy this quickstart selecting the option to 'Deploy for real-time adherence' OR 'Deploy for both options'
  • monitor either the Lambda function or DynamoDB objects created by the quickstart
  • login to Amazon Connect as your agent and continue to change states

This error (message from Lambda > Cloudwatch logs below) should rear its head at some point.


One or more errors occurred. (Unable to convert hash key value for property AgentARN): AggregateException
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at lambda_method(Closure , Stream , Stream , LambdaContextInternal )

at Amazon.DynamoDBv2.DataModel.DynamoDBContext.MakeKey(Object hashKey, Object rangeKey, ItemStorageConfig storageConfig, DynamoDBFlatConfig flatConfig)
at Amazon.DynamoDBv2.DataModel.DynamoDBContext.LoadHelperAsync[T](Object hashKey, Object rangeKey, DynamoDBOperationConfig operationConfig, CancellationToken cancellationToken)
at Amazon.DynamoDBv2.DataModel.DynamoDBContext.LoadAsync[T](Object hashKey, CancellationToken cancellationToken)
at AspectKinesisLamda.ProcessKinesisEvents.ProcessEventToTable(ConnectKinesisEventRecord streamRecord)
at AspectKinesisLamda.ProcessKinesisEvents.ProcessEventRecord(KinesisEventRecord record, Boolean writeEventsToQueue)
at AspectKinesisLamda.ProcessKinesisEvents.AspectKinesisHandler(KinesisEvent kinesisEvent, ILambdaContext context)

Deployment fails after lambda-copyzips submodule changes

I get the following error in CloudFormation if I try to create a stack using any of the CloudFormation templates of this integration.

2021-06-18 11:36:02 UTC-0500 CopyZipsTemplate  

CREATE_FAILED Value of property Parameters must be an object with String (or simple type) properties

I assume that this error is a result of the latest commit:
8f599b2

Which switched to running the copyzips Lambda from a submodule. Any ideas?

I also noticed that these copyzips changes are in main but they are not in develop. Would you merge the changes down to develop once the fix is in place?

Thanks.

Invalid CloudFormation template link on AWS QuickStart page

The CloudFormation template filenames for this QuickStart were renamed recently. The template extensions were changed from .template to .template.yaml. Most of the links on the AWS QuickStart page were updated, but one was missed. It looks like the link under the left column (For a new Kinesis data stream) for Deploy real-time adherence is missing the .yaml.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.