@rakeshent You'll only know what features were successfully written by reading them back.
Use the FeatureWriter to write your features to AGOL. At the bottom of the dialog expand the Output Ports panel and select One per Feature Type. This will pass through the features you've tried to write, but doesn't tell you which features were successfully inserted. Add a FeatureReader and query back the features you thought you wrote - this will be the actual features that were inserted. Add a second FeatureWriter to update your flag.
When you choose to write the features through the REST API with the HTTPCaller, you will get a response showing the OBJECTID for each succesfully written feature. With a second (QUERY) request with an HTTPCaller, you can also get the GLOBALID. This way you have both and you can write those back into your database.
For writing features with the HTTPCaller I use a JSONTemplater to get the structure correctly and use the GroupCounter and Aggregator to create sets of 1000 features that I can send with the HTTPCaller.
Before sending the features you can use the ArcGISOnlineTokenGetter to get a token the work with the REST API. You can use a FeatureMerger to merge the obtained token (uncondionally, both Requestor and Supplier get value 1 in 'Join On') to the sets of features you want to upload.
When you choose to write the features through the REST API with the HTTPCaller, you will get a response showing the OBJECTID for each succesfully written feature. With a second (QUERY) request with an HTTPCaller, you can also get the GLOBALID. This way you have both and you can write those back into your database.
For writing features with the HTTPCaller I use a JSONTemplater to get the structure correctly and use the GroupCounter and Aggregator to create sets of 1000 features that I can send with the HTTPCaller.
Before sending the features you can use the ArcGISOnlineTokenGetter to get a token the work with the REST API. You can use a FeatureMerger to merge the obtained token (uncondionally, both Requestor and Supplier get value 1 in 'Join On') to the sets of features you want to upload.
Can you provide me some link or something for how I can use httpCaller to update or write the features in AGOL ?