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.