How to trigger custom workflow action in sitecore with admin login?

441 Views Asked by At

enter image description hereHow to trigger custom workflow action in sitecore with admin login? I have created custom class in following way

    public class CustomAutoAction
{
    public void Process(WorkflowPipelineArgs args)
    {
        Item dataItem = args.DataItem;
        if (dataItem != null && dataItem.Parent != null) {
            dataItem.Parent ...
        }
    }
}
0

There are 0 best solutions below