Replies: 3 comments
-
Just to be clear, the custom activity is available for you to use with the designer and you actually created a workflow using it and then performed an HTTP request to your endpoint? |
Beta Was this translation helpful? Give feedback.
-
Make sure also to implement your own bookmark provider as explained here. |
Beta Was this translation helpful? Give feedback.
-
Yes, this custom activity is available in the designer and I used it in my workflow and then did HTTP request to my endpoint. Based on the #1247 and #1249, you are right, I am missing my own bookmark provider. Info from these two tickets are very useful and should definitely be documented. Thanks for help |
Beta Was this translation helpful? Give feedback.
-
I am trying to create my custom HTTPEndpoint based on the Webhooks module.
I used Elsa 2.0.
In Elsa'a project "ElsaDashboard.Samples.AspNetCore.Monolith" found under the "elsa-core\src\samples\dashboard\aspnetcore\ElsaDashboard.Samples.AspNetCore.Monolith" folder, I added file named "MyEndpointActivityTypeProvider.cs" with the following contents:
In Startup.cs, I registered custom HTTPEndpoint with .AddMyEndpoint():
However, my ActivateActivityAsync() is never called. Do I need to call anything else in the Startup.cs or am I missing some other implementation?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions