Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6696699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:22:19+00:00 2026-05-26T06:22:19+00:00

I’m working on a smart issue tracking application that needs to determine if a

  • 0

I’m working on a “smart” issue tracking application that needs to determine if a particular issue can be submitted in a ticket before actually allowing submission.

The design issue I’m running into at present is the fact there can me many different types of “submittable” issues, each with its own unique business logic that determines if the issue can actually be submitted. From my design notes I have the following conditions:

  1. Supports multiple issues (unknown number, in theory could be infinite)
  2. Each issue is directly related to a specific shipment (i.e. user selects their issue, and then is prompted to choose/enter the shipment they have the issue with)
  3. Each issue has its own custom validations/business rules (data is provided by the shipment) that determines if the issue can proceed. Examples would be:
    • If the issue is a Damage Claim, the shipment has to have been picked up within 60 days.
    • If the issue is a Cancellation/Refund, the shipment status can’t be delivered.

The idea is almost like an insurance processing application but all the information is already provided by asking the shipment, instead of having to rely on user input (e.g. I don’t need to ask when the shipment was sent, I can ask the shipment object for it’s PickupDate), and there are only two outcomes: 1) The issue can have a case opened, or 2) No, the issue cannot have a case (aka the “tough luck” option). On the architectural end, even if I’m using some kind of STRATEGY pattern that can support multiple types of issues, it would require a custom class to be created for every derived type of issue. For instance I would need a DamageClaimIssue and a CancellationRequestIssue and who knows what else; this seems cumbersome on the developer side since new types can be added almost at a whim and would require a developer to spin up a new derived class and implement the validation logic, and then recompile and redeploy.

Is using Strategy the best way to handle an issue like this, or am I overlooking something? In theory I’d like to make the architecture generic enough to accommodate different issues (I know there will be more than 2-3, I just don’t know what they will be exactly), but I don’t want to go the route of having some monolithic workflow engine using XML or similar that lets things get defined on-the-fly with dynamic logic. I have to use standard .NET 3.5 libraries (i.e. nothing like WCF or Workflow Foundation).

Any suggestions or pointers to set me in the right direction?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:22:20+00:00Added an answer on May 26, 2026 at 6:22 am

    The first thing to ask here is: who shall be responsible for defining new types of issues in your system?

    When I understood you correctly, it should be a user (perhaps not every user, but a “power user”) and not the developers of your system. So you need a generic issue type, or a handful of issue types which should not be too specific and can be further refined by parameters given by the user. Concerning validations/business rules: you can try to define a DSL for that, in which a user can define these rules by himself. Rules defined in this DSL can be stored as part of the type definition, perhaps in a database, so DSL code must be interpreted by your engine when the validation applies.

    Of course, the hard part is to define a good DSL for your purpose, easy enough to be understood by users and flexible enough to let them describe every rule they need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a jquery bug and I've been looking for hours now, I can't
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I need to clean up various Word 'smart' characters in user input, including but
Does anyone know how can I replace this 2 symbol below from the string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.