{"_id":"6a180021b1dbfa0007002c0a","components":[{"_id":"49998e4b-23f9-4418-8252-31f44914732e","_type":"LogComponent","flowComponentId":null,"note":null,"previousEndpoint":"RightMiddle","previousNode":"c904a006-1f24-4dff-9a04-b80ab9f551e6","showBody":true,"showException":false,"showHeader":false,"x":840,"y":96},{"_id":"d95f0ed5-5da9-4465-897b-675cef3851af","_type":"SetHeadersComponent","expressions":[{"_id":"635a692bec569b001400084b","expression":"${date-with-timezone:now:Europe/Amsterdam:yyyy-MM-dd HH:mm:ss}","expressionType":"simple","name":"timestamp_tmp","nextNode":null},{"_id":"63da669c744d6a06bd0009fa","expression":"${header.timestamp_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"timestamp","nextNode":null},{"_id":"63da669c744d6a06bd0009fb","expression":"${header.CamelHttpResponseCode}: ${header.CamelHttpResponseText}","expressionType":"simple","name":"error_class_tmp","nextNode":null},{"_id":"637c87dfec569b000e003340","expression":"${header.error_class_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"error_class","nextNode":null},{"_id":"635a91c5ec569b0011000918","expression":"${header.url} with statusCode: ${header.CamelHttpResponseCode}","expressionType":"simple","name":"error_message_tmp","nextNode":null},{"_id":"635a9924ec569b0011000aa6","expression":"${header.error_message_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"error_message","nextNode":null},{"_id":"637b7d73ec569b0014003213","expression":"${bodyAs(String)}","expressionType":"simple","name":"error_body_tmp","nextNode":null},{"_id":"637b7d73ec569b0014003214","expression":"${header.error_body_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"error_body","nextNode":null},{"_id":"62bd93064c5c490014000f72","expression":"${header.breadcrumbId}","expressionType":"simple","name":"breadcrumbid_tmp","nextNode":null},{"_id":"62d802a8a328970010001029","expression":"${header.breadcrumbId_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"breadcrumbid","nextNode":null},{"_id":"62d802a8a32897001000102f","expression":"#{self.tenant}","expressionType":"simple","name":"tenant_tmp","nextNode":null},{"_id":"62d802a8a328970010001030","expression":"${header.tenant_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"tenant","nextNode":null},{"_id":"62d802a8a328970010001031","expression":"#{self.server}","expressionType":"simple","name":"instance_tmp","nextNode":null},{"_id":"62d802a8a328970010001032","expression":"${header.instance_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"instance","nextNode":null},{"_id":"62d802a8a328970010001033","expression":"#{self.environment}","expressionType":"simple","name":"environment_tmp","nextNode":null},{"_id":"62d802a8a328970010001034","expression":"${header.environment_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"environment","nextNode":null},{"_id":"62d802a8a328970010001035","expression":"#{self.flow_id}","expressionType":"simple","name":"flow_id_tmp","nextNode":null},{"_id":"62d802a8a328970010001036","expression":"${header.flow_id_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"flow_id","nextNode":null},{"_id":"62d802a8a328970010001037","expression":"#{self.flow_name}","expressionType":"simple","name":"flow_name_tmp","nextNode":null},{"_id":"62d802a8a328970010001038","expression":"${header.flow_name_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"flow_name","nextNode":null},{"_id":"6373a4cdec569b00110019bb","expression":"FFM","expressionType":"constant","name":"error_origin","nextNode":null}],"flowComponentId":null,"note":{"text":"FFM Metrics","created_at":"2024-02-22T12:55:08.028Z","updated_at":"2024-02-22T12:55:08.028Z","updated_by":"651a8cf57ac07c029100054f"},"previousEndpoint":"","previousNode":"","x":300,"y":96},{"_id":"e714590f-a367-4efc-8009-fbea5c1be4f6","_type":"SetHeadersComponent","expressions":[{"_id":"635f8a74ec569b0011000b5f","expression":"#{FFM_error_mail}","expressionType":"simple","name":"error_mail_tmp","nextNode":null},{"_id":"635f8a74ec569b0011000b60","expression":"${header.error_mail_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"error_mail","nextNode":null},{"_id":"635f8a74ec569b0011000b61","expression":"#{FFM_error_frequency}","expressionType":"simple","name":"error_frequency_tmp","nextNode":null},{"_id":"6373a4cdec569b00110019ba","expression":"${header.error_frequency_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"error_frequency","nextNode":null},{"_id":"63763f0bec569b000b002954","expression":"#{FFM_name}","expressionType":"simple","name":"name_tmp","nextNode":null},{"_id":"63763f0bec569b000b002955","expression":"${header.name_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"name","nextNode":null},{"_id":"63763f0bec569b000b002956","expression":"#{FFM_value}","expressionType":"simple","name":"value_tmp","nextNode":null},{"_id":"63763f0bec569b000b002957","expression":"${header.value_tmp.replaceAll(\"\\'\",\"\\'\\'\")}","expressionType":"simple","name":"value","nextNode":null}],"flowComponentId":null,"note":{"text":"FFM User Definable Metrics","created_at":"2024-02-22T12:55:08.028Z","updated_at":"2024-02-22T12:55:08.028Z","updated_by":"651a8cf57ac07c029100054f"},"previousEndpoint":"RightMiddle","previousNode":"d95f0ed5-5da9-4465-897b-675cef3851af","x":408,"y":96},{"_id":"59ba2192-a849-4c0b-855b-38d58272c9fc","_type":"SetBodyComponent","content":"INSERT into #{MbE_DB_table} (timestamp,tenant,flow_name,error_message,error_body,error_class,error_mail,error_frequency,error_origin,environment,breadcrumbid,instance,flow_id,name,value) VALUES ('${header.timestamp}','${header.tenant}','${header.flow_name}','${header.error_message}','${header.error_body}','${header.error_class}','${header.error_mail}','${header.error_frequency}','${header.error_origin}','${header.environment}','${header.breadcrumbid}','${header.instance}','${header.flow_id}','${header.name}','${header.value}')","expressionType":"simple","flowComponentId":null,"note":{"text":"SQL Query","created_at":"2024-02-22T12:55:08.028Z","updated_at":"2024-02-22T12:55:08.028Z","updated_by":"651a8cf57ac07c029100054f"},"previousEndpoint":"RightMiddle","previousNode":"e714590f-a367-4efc-8009-fbea5c1be4f6","x":516,"y":96},{"_id":"56dffcd9-bec9-4799-b408-07ceb93365fe","_type":"ReplaceComponent","flags":null,"flowComponentId":null,"group":0,"groupCount":0,"note":{"text":"Clean up the SQL query so empty data is inserted correctly","updated_at":"2023-06-20T15:13:07.664Z","updated_by":"6200e27126e2ce2d26002cd0","_id":"083f5fbf-207b-4eba-968e-653c88f92658","created_at":"2023-06-20T15:10:21.867Z"},"previousEndpoint":"RightMiddle","previousNode":"59ba2192-a849-4c0b-855b-38d58272c9fc","regex":"'null_user_definable'","replaceWith":"NULL","x":624,"y":96},{"_id":"c904a006-1f24-4dff-9a04-b80ab9f551e6","_type":"SQLComponent","database":"#{MbE_DB_name}","escapeChars":"false","flowComponentId":null,"host":"#{MbE_DB_host}","instance":null,"note":{"text":"SQL INSERT","created_at":"2024-02-22T12:55:08.028Z","updated_at":"2024-02-22T12:55:08.028Z","updated_by":"651a8cf57ac07c029100054f"},"password":"#{MbE_DB_password}","port":"#{MbE_DB_port}","previousEndpoint":"RightMiddle","previousNode":"56dffcd9-bec9-4799-b408-07ceb93365fe","query":"${bodyAs(String)}","tlsVersion":"","type":"postgres","useSSL":"false","username":"#{MbE_DB_user}","x":732,"y":96}],"created_at":null,"equals_latest_version":false,"error_components":[{"_id":"0039c134-7d9a-4c2e-87e0-4690b9d7b936","_type":"FailedExchangeComponent","flowComponentId":null,"note":null,"previousEndpoint":null,"previousNode":"","redeliveryAttempts":"0","redeliveryInterval":"5000","x":112,"y":252}],"flow_group_id":"6a0f110fb1dbfa00070022da","flow_properties":[{"_id":"668fd8af56d32910cd00015c","is_meta":false,"name":"FFM_error_frequency","values":[{"_id":"668fd8af56d32910cd00015d","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"null_user_definable"},{"_id":"668fd8af56d32910cd00015e","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"null_user_definable"}]},{"_id":"668fd8af56d32910cd00015f","is_meta":false,"name":"FFM_error_mail","values":[{"_id":"668fd8af56d32910cd000160","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"null_user_definable"},{"_id":"668fd8af56d32910cd000161","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"null_user_definable"}]},{"_id":"668fd8af56d32910cd000162","is_meta":false,"name":"FFM_name","values":[{"_id":"668fd8af56d32910cd000163","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"null_user_definable"},{"_id":"668fd8af56d32910cd000164","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"null_user_definable"}]},{"_id":"668fd8af56d32910cd000165","is_meta":false,"name":"FFM_value","values":[{"_id":"668fd8af56d32910cd000166","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"null_user_definable"},{"_id":"668fd8af56d32910cd000167","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"null_user_definable"}]},{"_id":"668fd8af56d32910cd00014a","is_meta":false,"name":"MbE_DB_host","values":[{"_id":"668fd8af56d32910cd00014b","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"AddHostHere"},{"_id":"668fd8af56d32910cd00014c","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"AddHostHere"}]},{"_id":"668fd8af56d32910cd00014d","is_meta":false,"name":"MbE_DB_name","values":[{"_id":"668fd8af56d32910cd00014e","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"hc"},{"_id":"668fd8af56d32910cd00014f","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"hc"}]},{"_id":"668fd8af56d32910cd000150","is_meta":false,"name":"MbE_DB_password","values":[{"_id":"668fd8af56d32910cd000151","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"AddPasswordHere"},{"_id":"668fd8af56d32910cd000152","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"AddPasswordHere"}]},{"_id":"668fd8af56d32910cd000153","is_meta":false,"name":"MbE_DB_port","values":[{"_id":"668fd8af56d32910cd000154","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"5432"},{"_id":"668fd8af56d32910cd000155","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"5432"}]},{"_id":"668fd8af56d32910cd000156","is_meta":false,"name":"MbE_DB_table","values":[{"_id":"668fd8af56d32910cd000157","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"error_handling"},{"_id":"668fd8af56d32910cd000158","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"error_handling"}]},{"_id":"668fd8af56d32910cd000159","is_meta":false,"name":"MbE_DB_user","values":[{"_id":"668fd8af56d32910cd00015a","encrypted":true,"environment":"test","last_update":null,"nonce":null,"updatedBy":null,"value":"AddUserHere"},{"_id":"668fd8af56d32910cd00015b","encrypted":true,"environment":"production","last_update":null,"nonce":null,"updatedBy":null,"value":"AddUserHere"}]}],"icon":"<?xml version=\"1.0\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 20010904//EN\"\n \"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\">\n<svg version=\"1.0\" xmlns=\"http://www.w3.org/2000/svg\"\n width=\"500.000000pt\" height=\"500.000000pt\" viewBox=\"0 0 500.000000 500.000000\"\n preserveAspectRatio=\"xMidYMid meet\">\n\n<g transform=\"translate(0.000000,500.000000) scale(0.100000,-0.100000)\"\nfill=\"#000000\" stroke=\"none\">\n<path d=\"M0 2500 l0 -2500 2500 0 2500 0 0 2500 0 2500 -2500 0 -2500 0 0\n-2500z m1350 1105 l0 -135 -245 0 -245 0 0 -280 0 -280 190 0 190 0 0 -135 0\n-135 -190 0 -190 0 0 -385 0 -385 -145 0 -145 0 0 935 0 935 390 0 390 0 0\n-135z m1310 0 l0 -135 -240 0 -240 0 0 -280 0 -280 190 0 190 0 0 -135 0 -135\n-190 0 -190 0 0 -385 0 -385 -150 0 -150 0 0 935 0 935 390 0 390 0 0 -135z\nm950 130 c0 -14 201 -1245 208 -1269 5 -21 34 148 101 595 51 343 96 636 98\n652 l6 27 203 0 204 0 0 -935 0 -935 -140 0 -140 0 -2 635 -3 635 -96 -632\n-95 -633 -141 -3 -141 -3 -12 73 c-7 40 -54 323 -105 628 l-93 555 -1 -627 -1\n-628 -130 0 -130 0 0 935 0 935 205 0 c113 0 205 -2 205 -5z\"/>\n</g>\n</svg>\n","icon_name":"FFM.svg","isFlowComponent":true,"lock_user_id":"67adc8fdf72b7c000700508e","name":"FFM","note":{"text":"[]","updated_at":"2026-05-28T08:51:08.946Z","updated_by":"67adc8fdf72b7c000700508e"},"request_timeout":20000,"tracing_ttl":3600,"transport":"direct","trashed":false,"updated_at":"2026-05-28T08:51:09.237+00:00","updated_by":"Adam Tetz","flow_id":"6a180021b1dbfa0007002c0a","lockUserName":"Adam Tetz","lockCurrentUserCanEdit":null}