Skip to content

NEXUS-474: Add sample for Workflow Update Nexus op - #498

Open
mavemuri wants to merge 3 commits into
mainfrom
mavemuri/update-nexus-op
Open

NEXUS-474: Add sample for Workflow Update Nexus op#498
mavemuri wants to merge 3 commits into
mainfrom
mavemuri/update-nexus-op

Conversation

@mavemuri

Copy link
Copy Markdown

What was changed

Added sample for Workflow Update Nexus op

Why?

Snippet to show usage

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?
  • [ ]

Comment thread go.mod Outdated
)

// Executes the UpdateWorkflow on the handler namespace's workflow via Nexus Operation
func UpdateRemoteCounterWorkflow(ctx workflow.Context, input api.Input) (api.Output, error) {

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.

It is debatable, but I would lean towards the caller using a Standalone Nexus operation because it make the sample way simpler where you just need the start and the handler.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Good point - ill add both!

Comment thread nexus-operations/update-workflow/handler/app.go
Comment thread nexus-operations/update-workflow/handler/app.go Outdated
@mavemuri
mavemuri force-pushed the mavemuri/update-nexus-op branch from 524391b to 0b8efd8 Compare September 1, 2026 01:37
@mavemuri
mavemuri marked this pull request as ready for review September 1, 2026 01:57
@mavemuri
mavemuri requested a review from a team as a code owner September 1, 2026 01:57
@mavemuri
mavemuri force-pushed the mavemuri/update-nexus-op branch from bf6effe to 8f35bc6 Compare September 1, 2026 02:05

### Running Standalone Nexus Operation UpdateWorkflow

Ensure the temporal server has the required configurations. If required, start the dev server locally(v1.8.3 or later) with the dynamic config flags required for standalone Nexus operations:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

v1.8.3 is tentative, not yet released - scheduled for end of this week

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