ServiceNow Jira Integration -- Subflow error

Sandeep Raj Ram
Tera Contributor

Hi All,

 

I am using below sub-flow to fetch comments from Jira and update Incident/RITM records. When the record is not found the sub-flow is throwing an error "No record found in lookup" and it is creating multiple error records.

SandeepRajRam_0-1752666881556.pngSandeepRajRam_1-1752666900818.png

 

 

Is there anyway to fix this issue. Please suggest.

 

Regards,

Sandeep 

 

 

9 REPLIES 9

Community Alums
Not applicable

How is this sub flow being triggered? Is it being used within a flow, If yes, can you please share the configuration screenshot.

 

Looks like this sub-flow is being triggered multiple times when it throwing an error, possibly there can be a retrigger mechanism in the error handling of the flow.

Hi @Community Alums , the sub flow triggers when there's webhook event on Jira. It is not being used in any flow. I have copied OOB "Process Jira Webhook" sub flow  and modified it.

 

Regards,

Sandeep Raj

Hi @Vishal Jaswal , I will modify the sub flow as per KB. Can you also please tell me how to update record while using "Lookup records" as it will fetch many matching records, I think I can't use "Update record" action.

 

Regards,

Sandeep Raj

 

Community Alums
Not applicable

You can use for each component and then add relevant action under that For each loop.