Invoking an update (PUT) on an inexistent resource, through a scripted REST connector on the /system endpoint, leads to the following behaviour:
- Search is performed on the external system, no resources are found
- Update proceeds to external resource, which in this particular, cause the creation of new resource (API not implementing properly If-Match).
Workaround is to make an additional check in the Update script to prevent from the creation happening, the causing an extra round to the external system.
Usecase with IDM 6.5 and scripted REST connector.