ContributionsMost RecentMost LikesSolutionsLast Document Processed Monitoring Hi, We have designed a pipeline monitor using the Snaplogic public API to get the last run details of a pipeline. An email alert is sent if pre defined thresholds are not met. We use…https://elastic.snaplogic.com/api/1/rest/public/runtime/ (project folder) However we have a pipeline that’s always running and has “re-use” on for child pipelines, so using the last run time is not viable. I need a way of checking the last document processed time in a pipeline. Is this possible at all. I tried https://elastic.snaplogic.com/api/1/rest/public/runtime/ (pipeline ID)?level=Detail, but I cant see anything in there around the last time a document was processed. Thanks in advance Re: Rest Post multipart/form-data i resolved this by removing the content type from the header Rest Post multipart/form-data Hi there, I am trying to upload a file to a REST post web service. From the developer guide here is a code sample: and the parameters. I have tried passing an encoded base64 string using binary to document, but looking at the code sample, the web service wants a multipart/form-data POST. Here is the configuration i have tried in Snap… At the moment, i am getting this error… “errors”:[{“detail”:“Multipart form parse error - Invalid boundary in multipart: None”,“source”:{“pointer”:“/”},“status”:“400” Could someone please guide me on how to use the multi part configuration in Snap SolvedRe: Json Path, when some objects don't contain the path bojanvelevski: jsonPath($, “$regulatedActivities[*]”).filter(x=>x.Activity == ‘Credit Broking (W.E.F 01/04/2014)’)[0].Status Amazing. Thank you Json Path, when some objects don't contain the path Hello, i have a pipeline that is extracting values from an array using JSON path. This is how it works… Extract the status and effective data from the array where the “activity” = x I use this expression… jsonPath($, “$regulatedActivities[?(@.Activity==‘Credit Broking (W.E.F 01/04/2014)’)].Status”)[0] All works fine. The problem is, in some cases some items in the array do not contain “Activity” at all. There are subsequent items in the array containing this element, but the expression doesn’t work in this example, it just returns NULL… SolvedChecking for existence of an array in a mapper Hello. Im looking for a way of dealing with JSON documents that are sometimes recognised as an array, and sometime not. In the below example, i need to manipulate the “message” element to remove certain messages before passing these on to another web hook. We have achieved this using routers to check for the existence of an array, and they join back. However we need this as an ultra pipeline, so cannot use a join. the current solution looks like this… essentially what i am going here is copying the document, routing, array or non array, manipulating and joining back. I need to be able to do all this in a single path in a series of mappers, without using a join. Any help would be greatly appreciated. SolvedRe: Throw an error or warning Hi. Yes i have used this in some cases to force a quit. This is good for the error status. Is there a way to throw a warn status, if we don’t want the whole pipeline to fail but some documents may have failed that need dealing with Throw an error or warning Hello, Is there a way to force a pipeline to finish in warning or error state in the dashboard? We handle all errors using an error pipeline. This makes it difficult to spot pipelines that have gone wrong in the dashboard. It would be great if there was a way of highlighting pipelines in the dashboard SolvedRe: Pagination from JSON Path Has Next URL - Trustpilot del: [0] Amazing. Thanks Del that worked perfectly. I’ve marked as resolved, Pagination from JSON Path Has Next URL - Trustpilot Hello, I am trying to call a rest get API with some pagination. The API returns the next page URL within the response, so i should be able to use this in the snap. I am getting the value using JSON Path seen here in a mapper as an example: I use this same JSON path in the Next URL: Unfortunately, the snap does not call for the next page. I can only assume it sees the value as null? Any help would be appreciated. Many thanks Solved