gert1974

hi erveryone,
I have a sequential workflow with some codeActivities and several ifElseActivities. When executing, everything works fine both in visual studio and WorkflowMonitor (that means all activities along the executed path have a check mark).
The only problem is that in WorkflowMonitor every if- and else-branch has a red exclamation mark "!" instead of a check mark...
Does anybody know why

Thanks in advance,
gert



Re: Windows Workflow Foundation red exclamation mark on ifElseBranch in WorkflowMonitor

Kavita Kamani - MSFT

It means you're missing setting the condition. Click on the branch and then on the properties window, choose Condition - choose code condition or declarative rule condition and associate the check you want if-else to do.




Re: Windows Workflow Foundation red exclamation mark on ifElseBranch in WorkflowMonitor

Vishal Kalra - MSFT

If you have code conditions defined for the if-else activties then the workflow monitor will not be able to resolve the conditions. I think that's what is showing up as the red exclamation mark "!".





Re: Windows Workflow Foundation red exclamation mark on ifElseBranch in WorkflowMonitor

gert1974

Thanks both for your quick answer!
The point is, I only have declarative rule conditions in my workflow, no code conditions...