小编jav*_*ros的帖子

在Workflow Foundation问题中切换字符串

我遇到了WF4的一个非常奇怪的问题:当我使用Switch活动并以某种方式决定字符串变量的值时,WF将Switch的参数视为字符串,而不是变量的名称.因此我得到了不正确的结果.重现的步骤:

- create new WF
- add Sequence
- add Switch of String to the Sequence
- add a new string variable named, for instance, [testText] and set its default value to "test"
- set argument of the switch to testText
- create a case in the switch for "test" string and show msgbox on it
- create another case, let it be default case which shows another msgbox with "default" text
- run
突然,我们在这里得到一个带有"默认"文本的消息框,而不是testText案例的消息框

workflow-foundation-4

6
推荐指数
1
解决办法
1709
查看次数

从BizTalk写入事件日志

当我尝试用类似于EventLog.WriteEntry("MyEsb", "Msg");表达式的形状执行编排时,我得到异常The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security.为什么?如果这有任何意义,我正在运行Win 7 64bit.

biztalk event-log

2
推荐指数
1
解决办法
6861
查看次数

标签 统计

biztalk ×1

event-log ×1

workflow-foundation-4 ×1