Do you define the configurable variable as a workflow variable or a system / global variable?Try defining it in the System (or Global - can't remember right now) Variables and then reference it in the tasks, etc. (not creating another variable with the same name, actually referencing the one that already exists) - and see if that helps.
What we're trying to do is use a single WFM, which has a ReviewTask, but allow it to be used for multiple different departments and therefore assign different approval groups to the ReviewTask based on who is executing the workflow. So we decided the best approach would be to have one entry in the available_models.xml for each department, uniquely named for that department, but assigned to the same WFM. We'll use the PostProcessor class to parse the workflow name that was chosen, map that to a specific TeamSite group, then assign that group to the ReviewTask. That's it in a nutshell - there's more but that's the crux of it. ... If you have a better suggestion, I'd love to hear it. Thanks for your help thus far.
"$IW_WFNAME" + "_Reviewers";
if ("$IW_WFNAME".match(/HR/)) { "hr_reviewers"; }else if ("$IW_WFNAME".match(/Marketing/)) { "mkt_reviewers"; }...else { "general_reviewers"; }