开发者

How can I use a "default branch" inside a pick activity using workflow foundation 4?

开发者 https://www.devze.com 2023-01-16 17:07 出处:网络
I\'m using a pick brabch acitivity with开发者_运维百科 two branches. Each branch has a receive action, but when the workflow is paused on the pick activity waiting for a cliente comunication and I cal

I'm using a pick brabch acitivity with开发者_运维百科 two branches. Each branch has a receive action, but when the workflow is paused on the pick activity waiting for a cliente comunication and I call a service method wich is not in those brach activity I got a error. Actually I think the workflow enter in an infinite loop or something like.

Is there any way to buil a "default" branch, like a defaul case in a switch/case contructions?


You can add a PickBranch with a Delay activity as a timeout branch if none of the other branches is called within the alloted time.

0

精彩评论

暂无评论...
验证码 换一张
取 消