We have the list of items in the Sitecore tree and all the items will be in a workflow.
we are updating these items programmatically and based on some condition, we have to assign the state of the workflow.
We are looking for some Sitecore API so that we can invoke the workflow using c# .
we are assuming associated workflow state action will execute.