Groovy Script to start an Allocation Rule
Content (please ensure you mask any confidential information):
I try to create a groovy script to start an allocation rule from Planning but always receive an error message stating the used method is wrong - Error occured: FOUND.
The general setup of groovy is working as I can start load rules in EPCM from Planning where the groovy script is created, so the error should be in the script part copied below. Maybe the error lies in the jobType and jobName.
Is it correct for Allocation Rules in EPCM that the jobNAME is the same as the ruleName?