Copy SharePoint SPListItem preventing new workflows or changes

I'm looking to create a SharePoint workflow that copies an SPListItem from one list in SPWeb to another list in another SPWeb. My question is not how to copy, but more to do with the workflow itself.

I want to prevent other processes from starting in the SPListItem during my copy workflow. I also need to prevent changes to the SPListItem while this is happening. Basically, I don't want other people to change the SPListItem or release new workflows on it when it is copied to the destination SPList via my copy workflow.

+2


source to share


1 answer


You can get your workflow code to check the list item until the workflow ends and comes back.



+1


source







All Articles