码迷,mamicode.com
首页 > 其他好文 > 详细

Create Custom Modification Form In VS 2012-Part1

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

标签:blog   http   color   io   for   ar   2014   art   

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

标签:blog   http   color   io   for   ar   2014   art   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!