10
Shouts

Conditional Statement example in SharePoint workflow.

published 1208 days, 17 hours, 25 minutes ago posted by PraveenPraveen 1212 days, 11 hours, 43 minutes ago
Monday, February 01, 2010 1:44:24 PM GMT Thursday, January 28, 2010 7:27:07 PM GMT

In SharePoint workflow, when we are using the if/else activities, the if/ else methods contains Event argument called ConditionalEventArgs.if you set e.Result=true, then if block will executes,if you set e.Result=false, then else block will executes. privatevoid IfMethod(object sender, ConditionalEventArgs e) { if (isTrue) e.Result = true; else e.Result = false; }

privatevoid ElseMethod(object sender, ConditionalEventArgs e) { if (!isTrue) e.Result = true; else e.Result = false; }dependin...

category: Architecture | clicked: 0 | | source: praveenbattula.blogspot.com | show counter code
tags: SharePoint workflow