Hey guys,
I want to hide the popup on state transition
so I came across the built in commands : BuiltinCommand_ChangeState and BuiltinCommand_ChangeStateAdmin
but I still see the popup.
Can someone please help me with that. Here's my code :
// Hides "Change state of workflow"
shellFrame.Commands.SetCommandState(
BuiltinCommand_ChangeState, CommandLocation_All, CommandState_Hidden );
// Hides "Change state of workflow" for administrator
shellFrame.Commands.SetCommandState(
BuiltinCommand_ChangeStateAdmin, CommandLocation_All, CommandState_Hidden );