Hi,
I'm setting up a new Convert task. Is there a way to prevent the task from running if an attempt is made to run it on a version that is not approved.
The intent is for people to get an "Approved" version of the file before they run the task, where approved is a specific state in our workflow. I would like there to be a fail-safe such that if somebody does not "Get Version" to a version where the file was approved before they run the task, that the task will not run.
If there is somewhere in the Convert task properties that could do this, that would be great.
If not, is there a chance it's a few simple lines in the script? Such as, if the source file status is not equal to "Approved" then terminate. (I have very limited coding experience)
Hi Paul, apologies if I have misunderstood your intent, but why not have this set up as part of the workflow? If approved is a specific state in your workflow then have the task run on the transition that goes to approved. Or if you want it specifically after approved, then create a workflow state after approved eg "published" and configure the task to run then?
Kind regards,
Prasad