我可以成功保存它们并以代码访问它们,但是在流中访问它时遇到了麻烦.具体来说是Salesforce连接器:<sfdc:config name="ConfigurableSalesforceConnection" username="${sfdc.username}" password="#app.registry.get('salesforcepassword')" securityToken="${sfdc.securityToken}" doc:name="Salesforce" url="${sfdc.url}"/我使用的一些语法是:password="#app.registry.get('salesforcepassword')"和app.registry['salesforcepassword']这是否有可能,或者我应该探索其他途径吗? 解决方案尝试一下#[app.registry['salesforcepassword']]I have some passwords that I access via a custom written java class and save the decrypted values in the Registry as String objects.(Note: we do not have access to the Enterprise Edition to leverage the Credentials Vault features.)I can successfully save them and access them in code but I am having trouble accessing it in the flow. Specifically the Salesforce connector:<sfdc:config name="ConfigurableSalesforceConnection" username="${sfdc.username}" password="#app.registry.get('salesforcepassword')" securityToken="${sfdc.securityToken}" doc:name="Salesforce" url="${sfdc.url}"/Some of the Syntax I have used is:password="#app.registry.get('salesforcepassword')"andapp.registry['salesforcepassword']Is this even possible or should I explore different avenues? 解决方案 Try this#[app.registry['salesforcepassword']] 这篇关于我将如何通过Flow访问存储在注册表中的String对象? (ESB M子3.3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-12 05:41