I am trying to create an activity using asynccodeactivity as I am trying to call Microsoft Vision API from the code. dll file has no errors and its working properly. But custom activity is not visible in Uipath Manage packages.
Is there any turorial on how to create ASYNCcodeactivity calls?
I have already created custom activities, now i am trying to create asynccustomactivity as i am calling an api and the result is available after completing the request. Have you created any async custom activities.
I did. From packaging/deployment they don’t differ from normal ones.
Obviously you need to inherit from AsyncCodeActivity<T> (<T> being optional) and implement both BeginExecute and EndExecute.
But aside of that, they don’t differ much, framework takes good care of managing the async part.
What issues are you encountering? If you already deployed “standard” custom activities, treat it the same after compiling.
Do note that you won’t feel the async unless you use it in Parallel or similar scenarios.
finally, there is some has problem with me. I used codeactivity to connect my API. it’s working fine if I debug on console. but when I found deadlock when use uipath. I still don’t know why.