Skip to content

Correlation #1029

Closed Answered by cdavernas
dmarrazzo asked this question in Ideas
Nov 18, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Firstly, it seems like you're using a DSL version earlier than 1.0.0. If that's the case, please consider upgrading to version 1.0.0-alpha1 and later, as older versions are being discontinued.


Secondly, I'm not entirely sure I understand the challenges you're facing, as the specification is designed to support dynamic and externally defined correlation IDs.

Here's how your example can be modeled:

1. Storing a Dynamic Correlation ID

After a task completes, you can store the response in the workflow context using the export feature:

- newInteraction:
    call: http
    with:
      method: get
      endpoint: https://someendpoint.com
    export:
      as: '$context + { externalSystemId: .re…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dmarrazzo
Comment options

@cdavernas
Comment options

Answer selected by dmarrazzo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants