Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Bookmarks- Custom Payload Comparison #5916

Open
codsay opened this issue Aug 20, 2024 · 0 comments
Open

[FEAT] Bookmarks- Custom Payload Comparison #5916

codsay opened this issue Aug 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@codsay
Copy link

codsay commented Aug 20, 2024

Feature Request

Problem Overview

Currently, payload comparison is rigidly based on exact JSON string matching, limiting flexibility and adaptability.

Proposed Solution

Introduce a customizable payload comparison mechanism. This would allow users to implement their own logic for determining payload matches, providing greater control over workflow triggers.

Use Cases

  • Flexible Payload Matching:

    • Support for pattern matching (e.g., regex) to handle variable payload structures.
    • Ability to define expected payload formats or partial matches.
    • Accommodation of optional payload fields without affecting workflow triggers.
  • Enhanced Payload Handling:

    • Efficiently manage large numbers of potential payload variations.
    • Precisely target workflows based on specific payload attributes.
    • Increase system adaptability to evolving payload structures.

Specific Examples:

  • A product with numerous document types could benefit from pattern matching (e.g., "Documents.Project.*") or predefined lists of expected project identifiers.
  • Optional payload fields could be handled gracefully, triggering workflows based on required data while ignoring optional values.

Impact of Feature

By providing a customizable payload comparison mechanism, we can significantly improve the system's flexibility and efficiency in handling diverse payload scenarios.

@codsay codsay added the enhancement New feature or request label Aug 20, 2024
@codsay codsay changed the title [FEAT] Bookmark payload - Ability to provide custom logics to compare 2 payloads [FEAT] Bookmark payload - Custom Payload Comparison Aug 20, 2024
@codsay codsay changed the title [FEAT] Bookmark payload - Custom Payload Comparison [FEAT] Bookmarks- Custom Payload Comparison Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant