Can someone guide me how to restrict workflow (.wft) to folder level in available_templates.cfg? I'm able to do this for WFM based workflow but not in template based.
Regards Midhun
That was possible long ago (pre TS 6) due to a bug TS. It is not possibile to do that with available_templates.cfg. It also is of marginal value, what if I view modified from the workarea root and select files from the "approved directory"?
That being said, you can certainly code the WFT to fail if it contains files from outside the desired path. That can be done in theinstantiation window or as an external task. The former is the best if you don't mind Perl.
I went with wft code change initially. But, just wanted to see if this can be done with the configuration as we have quite a few requirements for the same workflow.
Thanks for the inputs.
If you really feel like developing some code, you can write a single workflow that spawns other workflows (depending on what was attached to the job). That gives the most functionality and gives the best ease of use options for your end users. The downside is that he LOE is certainly more significant.
I'm able to restrict with this config.
Then they "unfixed" this bug. It behaved this was long ago and then it only work to a branch/workarea, maybe they extended it to behave like it did before.