Hi Nanda or any one,
When I run the above code. I am getting the below error. Please advise what to change.
Caused by: JCS-122035: Unable to persist: JCS-102090: Object 'Job Definition FILE_COPY_PARAM (Copy from 2015/01/12 15:29:43,477 America/New_York)' of type Job Definition cannot be modified
at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:934)
at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:875)
at com.redwood.scheduler.custom.PARMETER_TRANSLATION_REPLACE_PARAM_ALL_JOBS_TABLEexecute(PARMETER_TRANSLATION_REPLACE_PARAM_ALL_JOBS_TABLE.java:user code 32)
at com.redwood.scheduler.custom.PARMETER_TRANSLATION_REPLACE_PARAM_ALL_JOBS_TABLEStub.jcsExecute(PARMETER_TRANSLATION_REPLACE_PARAM_ALL_JOBS_TABLEStub.java:28)
... 13 more
Caused by: com.redwood.scheduler.model.exception.NonModifiableObjectException: JCS-102090: Object 'Job Definition FILE_COPY_PARAM (Copy from 2015/01/12 15:29:43,477 America/New_York)' of type Job Definition cannot be modified
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.vetoPhaseHandler(BranchedUniqueNamedApplicationObjectMethodImpl.java:154)
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.vetoPhaseHandler(JobDefinitionMethodImpl.java:1058)
Regards,
Ramana