danielgerlag / danielgerlag/workflow-core
Parse Json File & Give NextStep from Json File
- Dominant language
- C#
- Stars
- 5.9k
- Forks
- 1.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 5
Description
Hello Daniel,
Is there any InBuilt Method or Shortcut Method inDaneilGerLag Workflow For Parsing Json File(which have List of Steps & Each step has name & corresponding Next Step) & from json file how will i get NextStep in my existing Backend Api(.cs file function)?
Pls help
This is my Json
"Id": "NextTaskWorkFlow",
"Version": 1,
"DataType": "asq.econsys.Eco.Projects",
"Steps": [
{
"StepType": "select-customer",
"NextStepId": "create-project"
},
{
"StepType": "create-project",
"NextStepId": "add-estimated"
},
{
"StepType": "add-estimated",
"NextStepId": "add-engineering"
}
]
}
and in my .cs file function i want next step like these way
NextStep = Steps.Single(x => x.StepType== outcome.StepType).NextStepId;
Please help
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the existing .cs backend function and the workflow-core documentation or API examples for JSON workflow definitions. Verify whether the supplied Steps structure is supported and how a completed step exposes its NextStepId; done means a documented, reproducible path or a confirmed missing capability.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100