Row events on GP tool

192
0
03-27-2022 02:16 AM
mody_buchbinder
Occasional Contributor III

I would like to do some stuff on the RowCreatedEvent.

Do some checks (and maybe fail the insertion) and gives some init values.

I would like this to happened event if I add records using some GP tools.

I found this: https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-listen-for-geoprocessing-gp-events/m-p... 

I tried to check the Append GP tools that have the option to Undo edits but the RowCreatedEvent is not called.

I tried to get the EditCompletedEvent and it is called after Append but args.Creates is zero.

Attribute rules does not give me all the functionality I need here.

Is there a way to do it?

Thanks

0 Kudos
0 Replies