I am using formAPI to start a workflow after a user clicks the generate button (files are generated and attached to workflow when generate is clicked). If I generate using an author account I get the following error:
Invalid workflow:
You must be a master to run iwjobc
The command I use to call this workflow is:
var url = "
http://iwserver/iw-bin/iwwft_instantiator.cgi?iw_branch=/default/main/branch&iw_workarea=/default/main/branch/WORKAREA/work&iw_user=currentuser&iw_template_file=default/Workflow.wft" + filestring;
var NewWin = window.open();
NewWin.window.location.href = url;
Where file string is the list if files to attach to the workflow and currentuser is the currentuser as reported by IWDatacapture.getUser(). Is there a way around that error or am I doing something wrong?
Thanks
Using TeamSite 6.5 on Windows