Skip to content

Instantly share code, notes, and snippets.

@RyanABailey
Last active April 4, 2016 07:20
Show Gist options
  • Save RyanABailey/a0b2beae1ccc371e956c10b434d8f971 to your computer and use it in GitHub Desktop.
Save RyanABailey/a0b2beae1ccc371e956c10b434d8f971 to your computer and use it in GitHub Desktop.
Custom workflow action
using Sitecore.Workflows.Simple;
namespace MyProject.Workflows
{
public class CustomWorkflowAction
{
public void Process(WorkflowPipelineArgs args)
{
var workflowItem = args.DataItem; // The item in the workflow
// Custom logic here
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment