Hi User1971,
I do not know if there is a functional solution to this but I think of the below solutions. I haven't tried it so not sure if it will work in your case.
I can think of below 2 solutions:
1. Invoke this option from an Integration script and the condition would be to check if the SR is closed.
2. External system sends a flag saying they want to update history/Closed SR and you can a script which will invoke edithistory only the if the flag is set True.
The only difference between above option is option 1 does 1 extra maximo db call to check the SR status. So, depending on your integration setup with external system you can opt of either of the option.
It should be simple script on enterprise service or object structure inbound based on your interface configuration in Maximo .
------------------------------
Biplab Choudhury
Maximo Consultant
Tata Consultancy Services
Melbourne
------------------------------