Is there a way to reprocess Import API records?

peterraeves
Mega Guru

We created an Import Set API and made is very restrictive. Only when everything is entered correctly by the correct user, it goes through. Though sometimes we want to reprocess the record after a change was made. What would the easiest way be to reproduce a record on an Import Set API table?

What we do now, is to go to the REST API Explorer and send the information as the user that sent the information. This process is manual and error prone, so is there a better way?

We are thinking of creating a button 'Reprocess', which removes the meta data, and creates a copy. Or might there be a better way? Is there no OOTB way to reprocess such records?

17 REPLIES 17

Thanks Peter. Care to share your UI action definition for others?


This is what I have so far. I have one problem though. The created by field should be the original one, because this would trigger the creation of an incident or the addition of a comment and the comment should be placed in the name of that user. I tried using autoSysFields(false), but that gives issues, because we have multiple Transform Maps and those copies have the admin user as created by. But it's not a perfect reprocess. Maybe we can enhance it some more together.



Image 2.png


Hi, I was wondering if the above solution has been enhanced in anyway? I am in need of the same reprocessing of a single Failed row.

 

Thanks

No sorry. No enhancements have been made 😞

No issue, A few questions on your solution.

1. How has your solution been working for you? (i know you said you had an error but it didnt seem like it prevented you from replaying)

2. Does your solution only replay the Import Set Row that it is on?

3. does the import set have to be Processed? or can I do it while it is running?

4. Is the reprocess instant or does it schedule a new job?

 

Thanks for sharing what you were able to do and providing insight on how it has worked!