Job Source Actions - #7904
Open
labkey-susanh wants to merge 13 commits into
Open
Conversation
XingY
reviewed
Aug 5, 2026
| // Both samples and data classes can be created via a workflow job action, so the action and job ids need to | ||
| // be available to the update service for either type. The background import path populates these separately | ||
| // via AbstractQueryImportAction.getImportContextBuilder(). | ||
| if (WorkflowService.get() != null) |
Contributor
There was a problem hiding this comment.
What about biologics-import.api? Certain registry sources use that instead of experiment-importData
Contributor
Author
There was a problem hiding this comment.
We are currently not allowing you to create sources for the built-in registry types from the job actions, so this doesn't apply (yet).
| UserSchema userSchema = getUserSchema(); | ||
| builder = LoggingDataIterator.wrap(new AliasDataIteratorBuilder(builder, userSchema.getContainer(), userSchema.getUser(), ExperimentService.get().getTinfoDataAliasMap(), _dataClass, false)); | ||
| WorkflowService workService = WorkflowService.get(); | ||
| if (workService != null) |
Contributor
There was a problem hiding this comment.
Should this check that insertOption is not Update?
Contributor
Author
There was a problem hiding this comment.
We won't ever attach the actionId parameters to an update call, but won't hurt do add that check (here and for samples).
XingY
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
We recently added the ability for our LIMS users to add sources to jobs. We are now adding actions that can be performed using these sources.
Related Pull Requests
Changes