Faq

Reset Global User Variables

Can I reset all global user variables?

Yes, this can be accomplished with C#:

Example
using System;

public class CPHInline
{
    public bool Execute()
    {
        /**
         * `true` for persisted variables
         * `false` for non-persisted variables
         */
        CPH.UnsetAllUsersVar("yourVariableName", true);

        return true;
    }
}