因此,我尝试根据我在上一个联系流中设置的联系属性值(由检查联系属性时钟检查)执行 Lambda 函数。我的问题是,联系人属性是联系流本地的,还是可以从下一个联系流中引用?现在它对我不起作用,当我检查联系人属性值时,它永远不会与应该设置的值匹配(我在之前的联系流中设置后检查了这个)。
还从检查值的 Lambda 函数中获取此值(existingCase 是联系人属性的名称):
'existingCase':KeyError Traceback(最近一次调用最后一次):文件“/var/task/lambda_function.py”,第 11 行,在 lambda_handler print("Is it existing case" + event["Details"]["ContactData"] ["Attributes"]["existingCase"]) KeyError: 'existingCase'
谢谢!