GitHub Integration: SAM Pro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 06:58 AM
Hi Community,
We have followed the documented steps for integrating with GitHub Enterprise Cloud.
We had some initial issues but we are getting a successful 200 response back but when scheduled job executes the subflow "GitHub Cloud Download Subscriptions" we are seeing very long error and unable to find reference anywhere to resolve this.
Flow Designer: Operation(item.4e5d14955310e010f263ddeeff7b129d-while.d6ecf0fe539c2010f263ddeeff7b12e0.de0530b253d82010f263ddeeff7b1232) failed with error: com.snc.process_flow.exception.OpException: Error: Cannot read property "name" from undefined,Detail: Cannot read property "name" from undefined
at com.snc.process_flow.operation.script.ScriptOperationBase.handleScriptResult(ScriptOperationBase.java:63)
at com.snc.process_flow.operation.script.ScriptOperationBase.runScript(ScriptOperationBase.java:51)
at com.snc.process_flow.operation.script.ScriptOperation.run(ScriptOperation.java:74)
at com.snc.process_flow.engine.Operation.execute(Operation.java:208)
at com.snc.process_flow.engine.ProcessEngine.executeOps(ProcessEngine.java:548)
at com.snc.process_flow.engine.ProcessEngine.runInternal(ProcessEngine.java:457)
at com.snc.process_flow.engine.ProcessEngine.run(ProcessEngine.java:444)
at com.snc.process_flow.engine.ProcessEngine.callBlock(ProcessEngine.java:220)
at com.snc.process_flow.engine.CallBlockOperation.callBlock(CallBlockOperation.java:93)
at com.snc.process_flow.engine.CallBlockOperation.run(CallBlockOperation.java:68)
at com.snc.process_flow.engine.Operation.execute(Operation.java:208)
at com.snc.process_flow.engine.ProcessEngine.executeOps(ProcessEngine.java:548)
at com.snc.process_flow.engine.ProcessEngine.runInternal(ProcessEngine.java:457)
at com.snc.process_flow.engine.ProcessEngine.run(ProcessEngine.java:444)
at com.snc.process_flow.engine.ProcessAutomation.run(ProcessAutomation.java:77)
at com.snc.process_flow.engine.GlideProcessAutomation.runSync(GlideProcessAutomation.java:139)
at com.snc.process_flow.engine.GlideProcessAutomation.runWithDomain(GlideProcessAutomation.java:253)
at com.snc.process_flow.engine.GlideProcessAutomation.lambda$runAsUserSync$1(GlideProcessAutomation.java:222)
at com.snc.process_flow.engine.PFSessionClone.run(PFSessionClone.java:70)
at com.snc.process_flow.engine.GlidePFSession.runPlanAsUserSession(GlidePFSession.java:42)
at com.snc.process_flow.engine.GlideProcessAutomation.runAsUserSync(GlideProcessAutomation.java:220)
at com.snc.process_flow.engine.GlideProcessAutomation.messageFlow(GlideProcessAutomation.java:308)
at com.snc.process_flow.engine.GlideProcessAutomation.messageFlow(GlideProcessAutomation.java:278)
at com.snc.process_flow.engine.GlideProcessAutomation._start(GlideProcessAutomation.java:508)
at com.snc.process_flow.engine.GlideProcessAutomation.access$200(GlideProcessAutomation.java:90)
at com.snc.process_flow.engine.GlideProcessAutomation$StartBuilder.start(GlideProcessAutomation.java:1186)
at com.glide.plan.runners.FlowObjectExecutor.startFlowObjectSynchronously(FlowObjectExecutor.java:245)
at com.glide.plan.runners.FlowObjectExecutor.executeToCompletion(FlowObjectExecutor.java:122)
at com.glide.plan.runners.FlowObjectExecutor.executeInternalWithResponse(FlowObjectExecutor.java:112)
at com.glide.plan.runners.FlowObjectExecutor.lambda$executeWithResponse$0(FlowObjectExecutor.java:57)
at com.glide.sys.Transaction.executeWithTimeout(Transaction.java:3096)
at com.glide.plan.runners.FlowObjectExecutor.executeWithResponse(FlowObjectExecutor.java:57)
at com.glide.plan.runners.FlowObjectAPI.executeWithResponse(FlowObjectAPI.java:60)
at com.glide.plan.runners.scriptable.ScriptableFlowRunner.jsFunction_run(ScriptableFlowRunner.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:670)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:614)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2609)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1518)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:830)
at org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
at com.glide.caller.gen.sys_script_include_75998e3577a23300c7947fe8981061eb_script.call(Unknown Source)
at com.glide.script.ScriptCaller.call(ScriptCaller.java:18)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2678)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2617)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1518)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:830)
at org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
at com.glide.caller.gen.sys_script_include_75998e3577a23300c7947fe8981061eb_script.call(Unknown Source)
at com.glide.script.ScriptCaller.call(ScriptCaller.java:18)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2678)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2617)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1518)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:830)
at org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
at com.glide.caller.gen.sys_script_include_63dd30e187231300ec46ed4d87cb0b92_script.call(Unknown Source)
at com.glide.script.ScriptCaller.call(ScriptCaller.java:18)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2678)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2617)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1518)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:830)
at org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
at com.glide.caller.gen.sys_script_include_63dd30e187231300ec46ed4d87cb0b92_script.call(Unknown Source)
at com.glide.script.ScriptCaller.call(ScriptCaller.java:18)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2678)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2617)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1518)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:830)
at org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
at com.glide.caller.gen.sys_script_include_054adaa873c3330012a9e5e7caf6a79a_script.call(Unknown Source)
at com.glide.script.ScriptCaller.call(ScriptCaller.java:18)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2678)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2617)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1518)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:830)
at org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
at com.glide.caller.gen.sys_script_include_54573868538313009961ddeeff7b1296_script.call(Unknown Source)
at com.glide.script.ScriptCaller.call(ScriptCaller.java:18)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2678)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2617)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1518)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:830)
at org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
at com.glide.caller.gen.sys_script_include_63dd30e187231300ec46ed4d87cb0b92_script.call(Unknown Source)
at com.glide.script.ScriptCaller.call(ScriptCaller.java:18)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2678)
at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2617)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1518)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:830)
at org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
at com.glide.caller.gen._refname_.call(Unknown Source)
at com.glide.script.ScriptCaller.call(ScriptCaller.java:18)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:563)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3459)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:164)
at com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:354)
at com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:177)
at com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:111)
at com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:102)
at com.glide.script.Evaluator.evaluateString(Evaluator.java:107)
at com.snc.automation.ScriptJob.executeInSingleDomain(ScriptJob.java:57)
at com.snc.automation.ScriptJob.execute(ScriptJob.java:41)
at com.glide.schedule.JobExecutor.lambda$executeJob$0(JobExecutor.java:129)
at com.snc.db.data_replicate.replicator.DataReplicationAdvisors.runInOriginatorContext(DataReplicationAdvisors.java:73)
at com.glide.schedule.JobExecutor.lambda$inDataReplicationContext$2(JobExecutor.java:159)
at com.glide.schedule.JobExecutor.executeJob(JobExecutor.java:132)
at com.glide.schedule.JobExecutor.execute(JobExecutor.java:116)
at com.glide.schedule_v2.SchedulerWorkerThread.executeJob(SchedulerWorkerThread.java:338)
at com.glide.schedule_v2.SchedulerWorkerThread.lambda$process$0(SchedulerWorkerThread.java:220)
at com.glide.worker.TransactionalWorkerThread.executeInTransaction(TransactionalWorkerThread.java:35)
at com.glide.schedule_v2.SchedulerWorkerThread.process(SchedulerWorkerThread.java:220)
at com.glide.schedule_v2.SchedulerWorkerThread.run(SchedulerWorkerThread.java:101)
Has anyone come across this before?
Many Thanks,
James
- Labels:
-
Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 07:06 AM
Only thing relatable I have found is this KB https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0813130 but since it is OOTB subflow I cannot de-activate so still at a blocker.
For what it's worth its the Action: Look up Organization Plan which is failing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 08:45 AM
Did you ever get this working? I've set this up today but am disappointed by the amount of information available around which members are consuming licenses so am keen to understand how others are using this integration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 07:23 AM
I did. Our issue in the end was resolved by whitelisting the SN instance IPs in GitHub.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 07:30 AM
Are you finding the information it's pulling through useful? I'm keen to speak with people who have this integration set up to understand the pro's and con's, especially when it comes to GitHub outside collaborators, or how a record can be linked to an actual user record rather than their GitHub username.