For example I have three states A,B and C in a workflow.(Sitecore 8.0)

"A" have command "Send Item". "B" have command "Item Sent". "C" is the final State.

When I assign the workflow to an item and click on command "Send item", item moves to state "B". "Item sent" command will be displayed for the user but I want to disable it for selection as I want to change state from "B" to "C" from Backend code based on reponse from external server. Is it possible ??



2 Answers 2


If you want to be able to see it as an admin, but hide from most authors, you can use Sitecore security on the command so that it is not visible to them. That way you can also have a back door for the system admin in case something fails in the code and you need to push it through.


You can hide workflow commands using Appearance Evaluator Type field of the Workflow Command template. Just put the following value:

Sitecore.Workflows.HiddenCommandStateEvaluator, Sitecore.Kernel

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.