简体   繁体   English

BizTalk 2013R2 中确定形状的大小写敏感

[英]Case Sensitivity on Decide Shapes in BizTalk 2013R2

Diagnosing an issue with a BizTalk app where part of it's logic doesn't seem to be triggering.诊断 BizTalk 应用程序的问题,其中部分逻辑似乎未触发。

Currently it's designed to use a Decision Shape to filter on 2 values from a specific message.目前它被设计为使用决策形状来过滤来自特定消息的 2 个值。

One of those values is the word 'staff' in lower case, whereas the map that constructs the message uses a string functoid to populate the value as 'Staff' (sentence case).这些值之一是小写的单词“staff”,而构建消息的映射使用字符串 functoid 将值填充为“Staff”(句子大小写)。

I'd test this to see if it's the cause, but we don't currently have a test environment, and there's about 8 apps that this is a dependency on, so I'd need to go through a convoluted process of taking them all offline and deploying the small fix at a gamble.我会对此进行测试以查看是否是原因,但我们目前没有测试环境,并且大约有 8 个应用程序依赖于此,因此我需要经历一个复杂的过程才能将它们全部包含在内离线并在赌博中部署小修复。

On that basis, would anyone know;在此基础上,有人会知道吗? Is BizTalk Decide Shape Expression logic case sensitive? BizTalk 决定形状表达式逻辑是否区分大小写?

Yes, the decide shape is case sensitive.是的,决定形状区分大小写。

I tested with a rule我用规则测试

Message(FILE.ReceivedFileName) == "D:\\in\\YES.xml"

I dropped through a files YES.xml, yes.xml and YES.XML, and only the YES.xml went through the Rule branch, the other files went through the Else.我通过文件 YES.xml、yes.xml 和 YES.XML,只有 YES.xml 通过 Rule 分支,其他文件通过 Else。

This is probably due to C# being case sensitive, see Is there a C# case insensitive equals operator?这可能是由于 C# 区分大小写,请参阅是否有 C# 不区分大小写的等于运算符?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM