Hi there,
I'm having a problem finding an OS neutral way to pass a task name with a space in it to Wfworkflow->GetTaskByName.
Let me back up a bit...
My task name is "Review 1". I've tried calling the CLTs on both Windows and Solaris directly by placing single quotes around the name (e.g., iwgettaskbyname 000 "Review 1"). Both Windows and Solaris spit out the correct result. Yay.
However, in my Perl script that calls WFworkflow's GetTaskByName, I haven't found an OS-neutral way to pass in the taskname.
On Solaris, only this seems to work:
($success, $found_task) = $workflow->GetTaskByName("\"$taskname\"");
On Windows, I must do this:
($success, $found_task) = $workflow->GetTaskByName("$taskname");
Any help would be appreciated!