Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Disabling Start Job button on a workflow
System
Does anyone know how to disable or hide the "Start Job" button on a workflow?
I have written some perl scripts to check for filenames within the .wft file and need to stop the workflow from starting if there is any error detected. The "Cancel" can stay. Thanks!
Find more posts tagged with
Comments
Adam Stoller
I don't believe you can [in a supported manner] hide the Start Job button - but you should be able to define a required-yet-hidden TAG_info() field which your validation code could set to some value if everything is okay ... or you could shift some of the process to a cgitask as the start task in the workflow.
If you want to go beyond the supported API - you can dig into the CGI code used to run the instantiation UI -- however, I believe a completely different mechanism is used for 6.x than was used in 5.x ... so your mileage through upgrades and such may vary a lot.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Migrateduser
I don't have the code where I did this handy, but I can dig it up later next week. You can do it with some javascript in the pre_tagtable_html. If I recall correctly, that link has an id that you can reference. NOTE: There is no Start Job button on the instantiation page in CCSTD. There it is Next >>. However, the same paradigm should apply.