Javascript IBM BPM忽略独占网关中的区分大小写
我是IBM BPM的新手,想知道如何实现一个在创建决策时忽略区分大小写的专用网关,附件是我目前拥有的Javascript IBM BPM忽略独占网关中的区分大小写,javascript,business-process-management,ibm-bpm,Javascript,Business Process Management,Ibm Bpm,我是IBM BPM的新手,想知道如何实现一个在创建决策时忽略区分大小写的专用网关,附件是我目前拥有的 No Consent: tw.local.aimCapaignResute.customerConsent == "No" Default Flow: Consent Granted 你可以直接写 tw.local.aimCampaignRequest.customerConsent == 'No' || tw.local.aimCampaignRequest.customerConsent
No Consent: tw.local.aimCapaignResute.customerConsent == "No"
Default Flow: Consent Granted
你可以直接写
tw.local.aimCampaignRequest.customerConsent == 'No' || tw.local.aimCampaignRequest.customerConsent == 'no'
到左边去。但我建议您给最终用户一个只有“否”或“是”选项的radiogroup,您可以在其中控制输出 在某些设备上,文本图像可能很难读取。我插入了图片中显示的文本,以使其更易于访问和搜索。谢谢Jason。这里比较新,所以不确定,谢谢。数据来自外部源,因此该值在进入BPM系统时已经确定。非常感谢这对你很有帮助。如果答案对你有帮助,你可以认为它是有效的。这有助于其他人以后回答同样的问题很好,您也可以使用toUpperCase函数。。。这样,您就不需要在语句中添加用户或,例如:tw.local.aimCampaignRequest.customerConsent.toUpperCase=='NO'