Replies: 3 comments 12 replies
-
Inside my custom module I'm registering new script method this way:
module Startup.cs:
and now you can use this new scripting method for example within workflow: or inside a recipe: |
Beta Was this translation helpful? Give feedback.
0 replies
-
I didi the exact think with my method , only difference is Im passing parameter :
But puting a breakpoint on the method and running it from a workflow it doesnt get hit. |
Beta Was this translation helpful? Give feedback.
4 replies
-
In the taxonomies module Im registering :
and from a CreateContent activity in woklow I run the following json :
|
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to register a recipe helper script to call from a recipe like below
Looking at other code examples like in CommonGeneratorMethods.cs seems that you need access to OrchardCoreBuilder class in Startup
But in Taxonomys module I try this
But this doesnt work because it is a static class
So my question is how to register correctly a recipe helper script to be used from a module ? In this case the taxonomies module
Beta Was this translation helpful? Give feedback.
All reactions