Flow Error

Sumitha Devi
Tera Contributor

Can anyone tell me the reason for this error. Sometimes the flow is working . Sometimes this error came.
Thanks in advance.

 

 

Encountered error executing instruction: OpInstruction{id=4, opClass=com.snc.process_flow.operation.GetCatalogVariablesOperation, io=Io{input={catalog_variables=RefOrValue{value=e56ceb1a4f334200086eeed18110c7e6:item_option_new,378def1a4f334200086eeed18110c7c8:item_option_new,8196e45adbb6e1108a56460a13961987:item_option_new,87d49557871e7510906665390cbb3587:item_option_new,55a3c26b875eb510906665390cbb3562:item_option_new,ed631917871e7510906665390cbb35b9:item_option_new,74739917871e7510906665390cbb35ef:item_option_new,b547e368db36e910f1836b4b1396193e:item_option_new,5d82e2bf87115a10906665390cbb35a6:item_option_new,db872d6987e3bd50906665390cbb3563:item_option_new,e6850b8c8713961026f4b99c8bbb35be:item_option_new,7b668f8c8713961026f4b99c8bbb3506:item_option_new,9da3531087d7f11026f4b99c8bbb3571:item_option_new,308cef6cdb36e910f1836b4b13961917:item_option_new, isRef=false}, template_catalog_item=RefOrValue{value=c2i.template_catalog_item, isRef=true}, requested_item=RefOrValue{value=c2i.requested_item, isRef=true}}, output={end_date=c2o.end_date, access_type=c2o.access_type, manager=c2o.manager, request_type=c2o.request_type, __step_status__=s1o.__step_status__, requested_for=c2o.requested_for, do_you_need_access_to_cis_projects=c2o.do_you_need_access_to_cis_projects, application_role=c2o.application_role, group_access=c2o.group_access, application=c2o.application, business_justfication=c2o.business_justfication, do_you_need_access_to_jira_cis_helpdesk=c2o.do_you_need_access_to_jira_cis_helpdesk, location=c2o.location, user_for_access_is_required=c2o.user_for_access_is_required, start_date=c2o.start_date}, defaultOutput={}}, name=b70ba3abc31013002841b63b12d3aeff, parentActionId=22f0b88cc3c632002841b63b12d3aeff}
com.snc.process_flow.exception.OpException: is not a valid record.
at com.snc.process_flow.operation.GetCatalogVariablesOperation.run(GetCatalogVariablesOperation.java:110)
at com.snc.process_flow.engine.Operation.run2(Operation.java:90)
at com.snc.process_flow.v2.exec.OpRunner.runOperation(OpRunner.java:75)
at com.snc.process_flow.v2.exec.OpRunner.runOperation(OpRunner.java:69)
at com.snc.process_flow.v2.exec.OpInstructionExecutor.runOperation(OpInstructionExecutor.java:60)
at com.snc.process_flow.v2.exec.OpInstructionExecutor.execute(OpInstructionExecutor.java:27)
at com.snc.process_flow.v2.exec.OpInstructionExecutor.execute(OpInstructionExecutor.java:16)
at com.snc.process_flow.v2.exec.EngineV2.executeInstructions(EngineV2.java:176)
at com.snc.process_flow.v2.exec.EngineV2.run(EngineV2.java:102)
at com.snc.process_flow.v2.exec.EngineRunner.lambda$run$0(EngineRunner.java:28)
at com.snc.process_flow.v2.exec.enviroment.execution.ExecutionScopeRunner.run(ExecutionScopeRunner.java:37)
at com.snc.process_flow.v2.exec.EngineRunner.run(EngineRunner.java:28)
at com.snc.process_flow.engine.EngineV2Adapter.runWithExecutionResult(EngineV2Adapter.java:250)
at com.snc.process_flow.engine.EngineV2Adapter.resumeWithExecutionResult(EngineV2Adapter.java:367)
at com.snc.process_flow.engine.ProcessAutomation.runWithExecutionResult(ProcessAutomation.java:111)
at com.snc.process_flow.engine.ProcessAutomation.run(ProcessAutomation.java:74)
at com.snc.process_flow.engine.GlideProcessAutomation.runSync(GlideProcessAutomation.java:216)
at com.snc.process_flow.engine.GlideProcessAutomation.runWithDomain(GlideProcessAutomation.java:376)
at com.snc.process_flow.engine.GlideProcessAutomation.lambda$runAsUserSync$1(GlideProcessAutomation.java:341)
at com.snc.process_flow.engine.PFSessionClone.run(PFSessionClone.java:71)
at com.snc.process_flow.engine.GlidePFSession.runPlanAsUserSession(GlidePFSession.java:42)
at com.snc.process_flow.engine.GlideProcessAutomation.runAsUserSync(GlideProcessAutomation.java:339)
at com.snc.process_flow.engine.GlideProcessAutomation.messageFlow(GlideProcessAutomation.java:427)
at com.snc.process_flow.engine.GlideProcessAutomation.messageFlow(GlideProcessAutomation.java:406)
at com.snc.process_flow.engine.ProcessHubEventHandler.doSendMessage(ProcessHubEventHandler.java:538)
at com.snc.process_flow.engine.ProcessHubEventHandler.process(ProcessHubEventHandler.java:156)
at com.snc.process_flow.engine.ProcessHubEventHandler.process(ProcessHubEventHandler.java:119)
at com.snc.process_flow.engine.FlowEventManager.processEvents(FlowEventManager.java:179)
at com.glide.job.EventHandlerJob.execute(EventHandlerJob.java:50)
at com.glide.schedule.JobExecutor.lambda$executeJob$1(JobExecutor.java:194)
at com.glide.schedule.JobExecutor.executeJob(JobExecutor.java:197)
at com.glide.schedule.JobExecutor.execute(JobExecutor.java:177)
at com.glide.schedule.JobExecutor.execute(JobExecutor.java:167)
at com.glide.schedule_v2.SchedulerWorkerThread.executeJob(SchedulerWorkerThread.java:577)
at com.glide.schedule_v2.SchedulerWorkerThread.lambda$process$2(SchedulerWorkerThread.java:396)
at com.glide.worker.TransactionalWorkerThread.executeInTransaction(TransactionalWorkerThread.java:35)
at com.glide.schedule_v2.SchedulerWorkerThread.process(SchedulerWorkerThread.java:396)
at com.glide.schedule_v2.SchedulerWorkerThread.run(SchedulerWorkerThread.java:172)

 

 

SumithaDevi_0-1737703157846.png

1 ACCEPTED SOLUTION

Viraj Hudlikar
Giga Sage

Hello @Sumitha Devi 

The error stated is for GetCatalogVariables Operation, it can be anything but in error a log a line says "is not a valid record" so it must be reference record might not be valid or not available during time of execution. Check if all catalog variables referenced in the flow are valid and exist in the system.

Also, you are saying error is intermittent then try to add a small wait timer before this error activity so incase if it is trying to create a record and getting reference in further activity its available during execution.

When flow works fine is the data passed same? if no then it might be some data issue also.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.


 

View solution in original post

1 REPLY 1

Viraj Hudlikar
Giga Sage

Hello @Sumitha Devi 

The error stated is for GetCatalogVariables Operation, it can be anything but in error a log a line says "is not a valid record" so it must be reference record might not be valid or not available during time of execution. Check if all catalog variables referenced in the flow are valid and exist in the system.

Also, you are saying error is intermittent then try to add a small wait timer before this error activity so incase if it is trying to create a record and getting reference in further activity its available during execution.

When flow works fine is the data passed same? if no then it might be some data issue also.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.