How to trigger a SharePoint workflow by updating ONLY a value in a list item (approved, not approved)? -


I'm new to SharePoint but I learn quickly.

I want to trigger a workflow only, it is updated in the price list item, but not every item is changed, for example I have a column to approve / approve and I want to This item does not trigger other values. So if something else changes, the workflow will not start until the 'acceptance' is assumed.

All help is appreciated!

Thanks,

If you want to complete this program ...

  1. Create an event handler updating an item and attach it to your target list. I will create a feature and feature receiver for activating.

  2. In the item updating handler, there are two values ​​that you want to see: properties.ListItem ["Approval"] This will give you the original value properties. Later ["approval"] this update value is

Check whether the two values ​​are not equal to one another, and if the update value is equal to "approval" If both are true, then start the workflow on the list item - there are some links to help you in this way:

Happy coding!


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -