...this delete function [...] uses a custom XML file that tells it to execute the one delete workflow
There isn't anything in the XML today used to execute the workflow that indicates the branch and I'm not sure how to go about doing that. If there is a way to tell Teamsite that the menu delete option executes xyz.wft when it is this branch and abc.wft when it is all other branches, that would be great, I just don't know how to make that happen.
use TeamSite::CGI_lite;my $cgi = TeamSite::CGI_lite->new();$cgi->parse_data();my $vpath = $cgi->{form}{"cwd.vpath"};(my $branch = $vpath) =~ s|^//[^/]+/[^/]+/main/([^/]+)/.*$|$1|;my $configs { branch1 => "abc.wft", branch2 => "def.wft", branch3 => "xyz.wft",};my $config = $configs->{$branch};...