Skip to content

Conversation

@insightworks007
Copy link
Contributor

@insightworks007 insightworks007 commented Jan 27, 2026

…ge default triggers

Summary

Request to change the behavior to resets the default action each time the intent changes on a generation rule record.

Work Item(s)

Fixes #6272

@insightworks007 insightworks007 requested a review from a team as a code owner January 27, 2026 17:40
@github-actions github-actions bot added AL: Apps (W1) Add-on apps for W1 From Fork Pull request is coming from a fork labels Jan 27, 2026
SetDefaultTriggerValuesToNoTrigger();
if Rec."Activation Trigger" in [Rec."Activation Trigger"::"Manual or Automatic", Rec."Activation Trigger"::"Automatic only"] then
if Rec."Activation Trigger" in [Rec."Activation Trigger"::"Manual or Automatic", Rec."Activation Trigger"::"Automatic only"] then begin
Rec."Assembly Trigger" := Rec."Assembly Trigger"::NoTrigger;
Copy link
Contributor

@JakovljevicDusan JakovljevicDusan Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to check whether it would be better to move this cleanup code outside the conditional logic, to ensure it always executes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want this reset to always execute, we really just want it to execute in this circumstance.
This particular code change is to improve usability for an edge case on what is an atypical flow in practice (at least based on current installs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 From Fork Pull request is coming from a fork

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Vendor] [QM] Manually created inspection generation rules get Activation trigger value from previous line and do not respect the intent

3 participants