danielgerlag / danielgerlag/workflow-core

Parse Json File & Give NextStep from Json File

Open
#1,099 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.