Skip to content

Instantly share code, notes, and snippets.

@jraps20
Last active May 31, 2018 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jraps20/cdcb113ac59d41185d5c9aced6c0562e to your computer and use it in GitHub Desktop.
Save jraps20/cdcb113ac59d41185d5c9aced6c0562e to your computer and use it in GitHub Desktop.
WorkflowPipelineArgs workflowPipelineArgs = new WorkflowPipelineArgs(item, null, null);
Pipeline pipeline = Pipeline.Start(stateItem, workflowPipelineArgs);
if (pipeline != null)
{
WorkflowCounters.ActionsExecuted.IncrementBy(pipeline.Processors.Count);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment