-
Hi Everyone, I'm working with workflows, but I'm new to using them in Orchard Core, so I'm trying to understand what's the best way to implement my requirements 🤓 Basically, I need to:
For me it is not clear how to do this by looking at the documentation available here, previous discussions (there are few of them), and also watching few YouTube videos 😶🌫️ My questions are:
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Generally, I recommend you use Workflows if >=1 of the below criteria are valid for your use case:
In any other case, I'd write code. For handling requests, I'd write code too (what you describe looks better suited for an You can also mix and match: e.g., if you have some complex logic that in the end sends an e-mail, so you want to code the complex logic but still want to let people modify the e-mail text frequently, then you can create a custom Workflows Activity. So, your complex custom logic will be a single box in a workflow, that you can hook up to an Email Task as usual (or alternatively, you could also create your custom editor for the e-mail text, like with site settings or Custom Settings). |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Your create content JSON does not look correct. The easiest way to determine the correct JSON is to look at an existing content item's JSON by going to the Content Items list and find an existing item and then click Actions and "View as JSON"
Note: There are some other buttons in this screenshot that do not exist in OrchardCore and are custom (Console and Edit as JSON)
You will need this feature enabled to do this:
Also, check your workflow instances to help with debugging as you can get the entire state of the workflow instance