cancel
Showing results for 
Search instead for 
Did you mean: 

Update STATE of the pipeline

vyasyash
New Contributor III

Hi all,

We’re planning to leverage publicly exposed Monitoring API to replay the failed messages (based on the State of the pipeline). The challenge we’re facing is, we’re not able to figure out how to update the STATE from ‘FAILED’ to ‘COMPLETED’. Per documentation, SnapLogic has not exposed the POST method to overwrite/update any of the attribute available in Monitoring API.

Any pointers to resolve this will be highly appreciated.

Best,
YV

7 REPLIES 7

Quoting: ““So far we’re not able to confirm if SnapLogic will generate a
fresh runid/instance id for the pipeline execution because of replay. If
it’s a new runid with pipeline status as COMPLETED, the problem is we don’t
have means to either update the status of original ‘FAILED’ pipeline or
update the runid to use the one for the failed one.””

Every run will generate new run id.

Thanks & Regards,
Naveen

YV,
We know Snaplogic generated a new runid each time you execute the pipeline. How about you keep track of the status in the database and changed the failed pipeline status to completed ?

vyasyash
New Contributor III

Yeah that’s what we’ll be doing now, earlier we thought it’ll be easy if status can be manipulated by the monitoring API.