TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What do you think about business logic to code execution?

5 pointsby whiteabout 4 years ago
We&#x27;ve built an internal tool that allowed our business owners to create and edit the logic, that becomes executable, and no longer depends on engineering resources to modify.<p>Here is an example of what we use for business logic on selecting a driver for delivery from the pool (it is slightly simplified - it&#x27;s essentially the set of basic operations, ifs, cycles, and set of input data, process variables, and output data).<p>Take a look here https:&#x2F;&#x2F;www.evernote.com&#x2F;l&#x2F;AA9s6U867f1GvLgIr3iOHrzJgrjkRxWe0nUB&#x2F;image.png<p>We maintain this in the versioned diagram that can be pushed to Lambda + API gateway, and essentially the platform code relies on that endpoint to provide a response.<p><i>For the project we are using it for, it allows us to make adjustments to the process without depending on engineering; another use case is pricing -- override and experimentation.</i><p>Again, the engineering team thinks it is cool and wants to productize it. I would really appreciate any feedback or ideas.

3 comments

davidpolbergerabout 4 years ago
The flowchart you link to looks a lot like the workflow editors offered by no-code and low-code app designers:<p><a href="https:&#x2F;&#x2F;docs.bettyblocks.com&#x2F;en&#x2F;articles&#x2F;998093-what-are-actions" rel="nofollow">https:&#x2F;&#x2F;docs.bettyblocks.com&#x2F;en&#x2F;articles&#x2F;998093-what-are-act...</a> <a href="https:&#x2F;&#x2F;www.zoho.com&#x2F;creator&#x2F;newhelp&#x2F;new-workflows&#x2F;understand-workflows.html" rel="nofollow">https:&#x2F;&#x2F;www.zoho.com&#x2F;creator&#x2F;newhelp&#x2F;new-workflows&#x2F;understan...</a><p>I can imagine that what your engineering team built is tightly coupled to a product, allowing its logic to be customized easily with no involvement from engineering. In order to productize the solution, I&#x27;m assuming that you&#x27;d need to create hooks allowing a different engineering team to integrate it with their particular product, before non-technical people could use it?<p>We&#x27;re on a mission to do something similar, but using Excel-like formulas instead of flowcharts: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25389963" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25389963</a><p>These formulas are currently used by our app builder, but we will make the formula engine available separately sometime this year. The idea is that other engineering teams will be able to integrate our formula engine with their products, allowing non-technical people to customize products through the use of formulas.
评论 #26718369 未加载
throwaway4233about 4 years ago
1. Are you including limitations in place to ensure that cycles do not end up in an infinite loop (if a specific condition is never met) or detecting n+1 queries(assuming that there is a database component involved) ?<p>2. Is there a sandbox where users can test and play with their flow before they decide on proceeding with it ?
segmondyabout 4 years ago
these are called workflow engines, BPMN.