I have a simple geoprocessing service which append a feature set into an existing feature layer in geodatabase. I test the service with web appbuilder geoprocessing widget and it works. But i am unable to use it from my javascript app. My attempt it as followed.
Can anyone guide me where i am wrong?
Thank you.