Unable to Exalate from Service Now ‘sc_req_item’ table (RITM’s)
I have set-up a trigger on the Sc_req_item table if ‘GOTOassignment_group.name=Data Team’
Reading from the Exalate help: How to Sync RITM (Request Item) in ServiceNow: Exalate
I have added the following to the outgoing script:
if (entityType == “sc_req_item”) {
replica.summary = requestItem.short_description
replica.description = requestItem.description
replica.comments = requestItem.comments
replica.attachments = requestItem.attachments
///other fields supported by the Request Item entity
}
I have added the following to the Incoming script in Jira as per the documentation:
if(replica.issueTypeName == “Improvement”) { // if the received issue typeName is Improvement create Request Item on ServiceNow
requestItem.short_description = replica.summary
requestItem.description = replica.description
requestItem.comments += replica.addedComments
requestItem.attachments += replica.addedAttachments
///other fields supported by the Request Item entity
}
I have then created a new RITM in Service Now and nothing has happened? I have not received any error messages and no items are showing as under sync in the connections screen? Is there something missing from the documentation on what is required to sync RITM items on Service Now?