cancel
Showing results for 
Search instead for 
Did you mean: 

Asynchronous execution - The root pipeline execution is no longer running?

Szymon
New Contributor II

Scenario:
Pipeline1

  1. List directory for documents. Output: e.g. 200 filenames
  2. Pass every filename to Pipeline2 asynchronously

Pipeline2 (will be started 200 times)

  1. Get filename
  2. Read file
  3. and so on…

The goal is to decouple Pipeline1 and Pipeline2.
I just want to trigger Pipeline 2 with the filename from Pipeline1, fire-and-forget.
Once triggered, if pipeline2 fails, it does not concern pipeline1.

Is this doable in SL?
If i use Pipeline Execute snap - even if pipeline2 returns “OK” json message right after start - it seems, that if it fails, the root pipeline stops with error message from pipeline2
If pipeline1 than gets an error message, other pipeline2 fails with “The root pipeline execution is no longer running”.
This should be fully decoupled? Any ideas? Is REST Post Execute going to work better?

kind regards
Simon

1 REPLY 1

agarwal_rohit
New Contributor

@Szymon - Did you get any solution for this? I am also looking for the same