Is it mandatory to have an Master role to invoke a workflow from command line?As soon as the user clicks Finish an ipl is invoked in which a workflow is invoked in /iw-bin/iw_cgi_wrapper.cgi/yourscript.ipl and in yourscript.ipl we have the below command:----------------------------------------------# /iw-home/teamsite/bin/iwwft_compile.ipl -i < /iw-home/local/config/wft/hn/mhneap/wfParams.xmlERROR: failed starting jobYou must be a master to run iwjobc.Any help is appreciated.Thanks,Tirrudev
Whether you run iwjobc directly or through iwwft_compile.ipl with the invoke option you need master privileges.Before going into more complex options simply try to remove "iw_cgi_wrapper.cgi" (eg, remove impersonation)from action's url, that *may* help
Actually, I believe that iwwft_compile.ipl was created, in part, to get around the need to be a "master" to instantiate a WFT. iwjobc / iwinvoke job does require "master" privileges.So if the code in question is using iwjobc and/or iwinvokejob - try changing it to use iwwft_compile.ipl (run perldoc on the script for detailed information about the usage) - and see if that resolves the problem.
Whatever the original intention was, iwwft_compile.ipl with -i flag calls iwjobc on your behalf(through TeamSite::WFsystem CreateWorkflow Method). And as far as I can tell, neither iwwft_compile nor TeamSite::WFsystem tries to (re)set effective uid/gid.
iwwft_compile.ipl -i < params.xml