Flow Designer: Operation(DevOps Model Change Request Flow) failed with error:

Andre Moreira1
Kilo Sage

Hi Community,

 

I need a help with following error:

  • Application: DevOps

  • Module: Flow Designer

  • Flow: DevOps Model Change Request Flow

  • Error:
05/07/2022 21:35ErrorFlow Designer: Operation(DevOps Model Change Request Flow.SYS_ID./end) failed with error: com.snc.process_flow.exception.ProcessAutomationException: Nenhum registro encontrado.
at com.snc.process_flow.engine.ProcessEngine.catchPropagateOrThrowError(ProcessEngine.java:779)
at com.snc.process_flow.engine.ProcessEngine.handleTreatAsError(ProcessEngine.java:869)
at com.snc...
05/07/2022 21:35ErrorFlow Designer: Operation(DevOps Model Change Request Flow.SYS_ID.SYS_ID) failed with error: com.snc.process_flow.exception.OpException: Nenhum registro encontrado.
at com.snc.process_flow.operation.RecordLookupOperation.handleQueryResult(RecordLookupOperation.java:75)
at com.snc.process_flow.operation.RecordLookupOperation.run(RecordLookupOpera...

 

In summary the the Action "Look Up Record" inside this Flow "DevOps Model Change Request Flow" expect that Table "sn_devops_step_execution" has a record created with reference for Change Request already created by Jenkins Pipeline.

 

But unfortunately this reference record (sn_devops_step_execution) is not created and the Flow "DevOps Model Change Request Flow" stop with error status.

 

Causing the Pipeline on Jenkins to timeout after 56min of no return.

 

Extra notes:

 

[]'s

Andre Moreira

 

1 ACCEPTED SOLUTION

Andre Moreira1
Kilo Sage

Hi @isaacbarcz,

Solution proposed after chat with ServiceNow:

  1. Add the role itil to DevOps System user

  2. Update the field Run As = System User inside the Flow Designer "DevOps Model Change Request Flow"

  3. Review the Change Approval Policies

  4. Fix by Business Rule the field Approval inside Change Request [change_request] form to receive the update from Approval [sysapproval_approver]

Then the DevOps Change Velocity should works with Jenkins.

Thanks!

[]'s

Andre Moreira

 

View solution in original post

2 REPLIES 2

isaacbarcz
ServiceNow Employee
ServiceNow Employee

There could be a data policy blocking the creation of the Change. Perhaps a custom field or expected property is missing/incorrect, or a policy from a business rule is blocking the creation. For starters you'll need to verify in the Log Files if an attempt was made to create a Change.

Also, if you don't see a Change Callback record then it points to a potential workflow conflict.

Those are just the common reasons for what you're describing, but there could be other variables creating this issue. Please open a ticket with ServiceNow Support, they will need to be involved with investigating this further.

Andre Moreira1
Kilo Sage

Hi @isaacbarcz,

Solution proposed after chat with ServiceNow:

  1. Add the role itil to DevOps System user

  2. Update the field Run As = System User inside the Flow Designer "DevOps Model Change Request Flow"

  3. Review the Change Approval Policies

  4. Fix by Business Rule the field Approval inside Change Request [change_request] form to receive the update from Approval [sysapproval_approver]

Then the DevOps Change Velocity should works with Jenkins.

Thanks!

[]'s

Andre Moreira