This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I disable the "State Change" popup on workflow transition ?

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 );