首页 > 其他 > 详细

Create Custom Modification Form In VS 2012-Part1

时间:2014-08-20 16:05:02      阅读:284      评论:0      收藏:0      [点我收藏+]

Step1.Add EventHandlingScope Activity Under OnWorkflowActivated

Step2.Add SequenceActivity In EventHandlingScope Activity

Step3.Add EnableWorkflowModification Activity

  a.Bind [ContextData] to a new field

  b.Set [Colorrelation Token] as "Modification" and [OwnerActivityName] as " your workflow name"

  c.Generate guid for [ModificatiomId]

  d.Bind a method to [MethodInvoking]

  bubuko.com,布布扣

Step 4.Switch to View Event Handles mode of EventHandlingScope

  bubuko.com,布布扣

Step 5.Add Event Driven Activity in View Event Handles mode of EventHandlingScope

Step 6.Add OnWorkflowModified Activity in Event Driven Acticvity

  a.Bind [ContextData] to the field we create at step3

   b.Keep [Colorrelation Token]  and [OwnerActivityName]  same as step3

  c.Keep [ModificatiomId] same as step3

  d.Bind a method to [MethodInvoking]

  e.Bind [User] to a new field.

  bubuko.com,布布扣

  bubuko.com,布布扣

 

Step7.Modify Element.xml of the workflow

  bubuko.com,布布扣

    a.Replace the guid string in Modification node

Step8.Verify

  bubuko.com,布布扣

Create Custom Modification Form In VS 2012-Part1,布布扣,bubuko.com

Create Custom Modification Form In VS 2012-Part1

原文:http://www.cnblogs.com/PeterHome/p/3924649.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!