Inside Activate
...
FAQ
How can I hide the Cancel request button in the Job web toolbar?
3 min
this troubleshooting faq explains how to control visibility of the cancel request button in the job web toolbar, and outlines the preferred approach for managing this behaviour an example of why this might be wanted is that a task does specific actions on approval or decline, cancel may interfere with this design, as there is currently no workflow event for the cancel event how do i hide the cancel request button in the job web toolbar? there are two ways to control the visibility of the cancel request button preferred approach control visibility per task the recommended approach is to make the cancel request button conditional by using a task level parameter this allows visibility to be controlled per task without overriding the toolbar definition define a parameter on the task, for example canusercancel configure the root toolbar definition using the following visibility condition \<ribbonbutton id="btncancel" link="=/" startpage="cancel" text="cancel request" imageurl="cancel" visible="=and(=//jscript/canusercancel,=isnull(=//job/task/canusercancel,true))" /> with this configuration the cancel request button is shown or hidden based on the task parameter behaviour can vary per task without additional overrides future system package updates are less likely to introduce maintenance overhead alternative approach override the toolbar you can also hide the cancel request button by overriding the web job properties toolbar parameter and removing the button definition this approach is not preferred because system package updates may introduce new tasks that require the same override overriding the toolbar across multiple tasks increases upgrade and maintenance effort where possible, use task level visibility control to minimise customisation impact and simplify future upgrades