Skip to content

Job Source Actions - #7904

Open
labkey-susanh wants to merge 13 commits into
developfrom
fb_jobSourceActions
Open

Job Source Actions#7904
labkey-susanh wants to merge 13 commits into
developfrom
fb_jobSourceActions

Conversation

@labkey-susanh

Copy link
Copy Markdown
Contributor

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

  • Add new source action types
  • Add sources to jobs if job action data is provided

@labkey-susanh
labkey-susanh requested a review from XingY August 4, 2026 22:15
// 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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What about biologics-import.api? Certain registry sources use that instead of experiment-importData

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this check that insertOption is not Update?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We won't ever attach the actionId parameters to an update call, but won't hurt do add that check (here and for samples).

@labkey-susanh
labkey-susanh requested a review from XingY August 5, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants