Asynchronous flag for the "Synchronizer(s) Execution" SAT

Comments

3 comments

  • Official comment
    Avatar
    Iva Sharp

    Hi Soren, 

    Thank you, the request has been logged with the product owner,                                                                     We'll get back to you in due course.

    Best regards from the MooD team,                                                                                                                          Iva 

    Comment actions Permalink
  • Avatar
    Hugh Emery

    Hello Soren,

     

    Do you mind elaborating further on the use case here? We are looking for some further explanation to ensure we understand the story correctly.

     

    Kind Regards,
    Hugh

    0
    Comment actions Permalink
  • Avatar
    Soren Staun

    Hey,

     

    Yes, absolutely. I’ve been in some situations where I would like to:

    • Execute a SAT I would like the user to see if it fails or not (synchronous)
    • Execute further SATs doing back-end clean up which the users does not have wait for (asynchronous)
    • (In that order!)

     

    So:

    SAT group is:

    1. Export Data
    2. Import Data
    3. Refresh cache 1
    4. Refresh cache 2
    5. Refresh cache 3
    6. Refresh cache 4
    7. Refresh cache 5
    8. Refresh cache 6

     

    A concrete use-case:

    SEB wants to run a synchronizer that publishes initiatives from a draft state to a published state. This is handled by the first 2 SATs that first export the needed data (Excel merge out), and then Excel In to read the data into Measures (could be anything, but we used measures this time). Once the data is written into measures successfully, the users I happy and can go away.

     

    Problem is, we’re not done since we need to refresh a lot of caches doing all kinds of calculations, so further 10 SATs need to run after this (asynchronously).

     

    Problem for user: I’m waiting 6 minutes for caches to refresh, and 10 seconds would be enough.

     

    If I could turn the scenario into:

    SAT group is:

    1. Sync run: Export Data
    2. Sync run: Import Data
    3. Async run: SAT execution

     

    Where 3 would run another SAT group:

    1. Refresh cache 1
    2. Refresh cache 2
    3. Refresh cache 3
    4. Refresh cache 4
    5. Refresh cache 5
    6. Refresh cache 6

     

    And then set a [X] flag on SAT Execution window that could hold the logic 

    That would effectively fix issue and allow me to combine waiting for user and not waiting.

     

    Best regards,

     

    Søren

    0
    Comment actions Permalink

Please sign in to leave a comment.