BRE: Rule Evaluation – Need another pair of eyes

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › BRE: Rule Evaluation – Need another pair of eyes

Viewing 0 reply threads
  • Author
    Posts
    • #18481

      Hello Techies —

      I’ve created a rule that looks like this:

      Conditions AND Type = PERM, time of day from GetToday is greater than 15:00:00, startDate is before GetToday, DayOfWeek = DayIsWed

      Actions Hold = TRUE

       

      In other words, if an XML doc comes through today (which happens to be wednesday) after 3 pm where the employee type is permanent, who’s startdate was before today, hold further activity.  I was expecting this to set the hold element to TRUE. The rule did not. There are no processing errors.

      GetToday, DayIsWed, DayOfWeek are defined from .NET / mscorlib as follows:

       

      DayIsWed , Class Name=DayOfWeek,Member=Wednesday,Type=System.DayOfWeek

      DayOfWeek, Class Name=DayOfWeek,Type=System.DayOfWeek

      GetToday, Class Name=DateTime, Member=get_Date,Type=System.DateTime

       

      Maybe something isn’t correct with DayOfWeek?

      I’m open to all suggestions!:-)

       

       

       

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.