Track the service now ticket status in workflow

Sailpoint 8.3P3

We have disconnected applications, for these applications provisioning we are raising service request ticket. so how can we validate is this ticket completed or rejected in LCM provisioning. could you please provide me the update to verify the ticket status

You could just use a script/custom workflow step to call the servicenow REST api for querying an individual ticket number Solved: How to get the Variables of RITM using REST Method - ServiceNow Community