This project is read-only.

1. Employee Partition:  To implement a Class, named EmpSelfRule to get the value in the emp of Process Instance.

C#:

  1.         public class EmpSelfRule : IRule
  2.         {
  3.              public string Execute(System.Collections.Generic.Dictionary<string, object> variable)
  4.              {
  5.                              string assignee = null;
  6.                              if ((!variable.TryGetValue("emp", out assignee))) {
  7.                                              assignee = string.Empty;
  8.                              }
  9.                              return assignee;
  10.             }
  11.        }

Last edited Jun 25, 2012 at 10:39 AM by cathysung, version 2

Comments

No comments yet.