07/12/2023 08:08 AM - edited 07/14/2023 01:04 AM
Hi Team,
I have implemented one disconnected application using service now as ticket management system. SCTASK is successfully created through CreateTicketJSON and SCTASK properly completed by app team. Post that TicketStatusJSOn is unable to get ticket/SCTASK status(completed) from Service Now and task is sitting in pending provisioning only.
Sample logs snippet:
2023-07-12 13:24:04,824 [quartzScheduler_Worker-1] DEBUG rest.RestProvisioningService - ticketStatusJSON: [call:[[name:getTicketStatus, connection:TRSViaSNOW, url:https://xxxxxxx.service-now.com/api/now/table/sc_task/${ticketID}, httpMethod:GET, httpHeaders:[Authorization:${access_token}], httpContentType:application/json, ticketStatusPath:result.state, ticketStatusValue:[Closed Complete, 3, Closed Incomplete, 4], successResponses:[statusCode:[200, 201]]]]]
2023-07-12 13:24:05,268 [quartzScheduler_Worker-1] ERROR rest.RestProvisioningService - Call response: {"result":{"sys_id":"ec5df2288744bdd0293beb580cbb3534","u_process_comments":"","sys_domain":{"link":"https://xxxxxxx.service-now.com/api/now/table/sys_user_group/global","value":"global"},"sys_class_name":"sc_task"}}
2023-07-12 13:24:05,268 [quartzScheduler_Worker-1] ERROR rest.RestProvisioningService - callResponseMap: [result:[sys_id:ec5df2288744bdd0293beb580cbb3534, u_process_comments:, sys_domain:[link:https://xxxxxxx.service-now.com/api/now/table/sys_user_group/global, value:global], sys_class_name:sc_task]]
2023-07-12 13:24:05,268 [quartzScheduler_Worker-1] DEBUG rest.RestProvisioningService - showResponse: null
2023-07-12 13:24:05,268 [quartzScheduler_Worker-1] DEBUG rest.RestProvisioningService - response of getNewStatusForTicketIDs: [result:[sys_id:ec5df2288744bdd0293beb580cbb3534, u_process_comments:, sys_domain:[link:https://xxxxxxx.service-now.com/api/now/table/sys_user_group/global, value:global], sys_class_name:sc_task]]
2023-07-12 13:24:05,268 [quartzScheduler_Worker-1] DEBUG rest.RestProvisioningService - disContinueStatusList : null
2023-07-12 13:24:05,270 [quartzScheduler_Worker-1] ERROR rest.RestProvisioningService - Error in closing ticket...response: {"result":{"sys_id":"ec5df2288744bdd0293beb580cbb3534","u_process_comments":"","sys_domain":{"link":"https://xxxxxxx.service-now.com/api/now/table/sys_user_group/global","value":"global"},"sys_class_name":"sc_task"}}
07/14/2023 02:35 PM
Let me check on this and will update
07/17/2023 11:34 PM
@SB Can I have any update on this issue.?
07/19/2023 08:46 AM - edited 07/19/2023 08:46 AM
Can you update ConfigJSON param in the REST connection with value {"showLogs":true}, run the prov and then share the complete log file.
07/19/2023 08:32 PM
Share response of ticket Status from Postman