Delete This Record! A Custom Workflow Activity and cancel/postpone Workfow Instance

1) Author- Dave Berry

it saves a lot of time over creating and managing Bulk Deletion jobs for records that just shouldn’t exist any longer, or that should no longer exist under dynamic circumstances. More…

2) How to cancel/postpone Workfow Instance using C#   (thanks  )

Entity operation = new Entity("asyncoperation")
    Id = <Put identifier of Workflow Instance here>

operation["statecode"] = new OptionSetValue(3);
operation["statuscode"] = new OptionSetValue(32);




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: