diff --git a/RFXtoRP_HsrPro_ExecutionflowDetected.ftl b/RFXtoRP_HsrPro_ExecutionflowDetected.ftl index 2cb6932..3877c45 100644 --- a/RFXtoRP_HsrPro_ExecutionflowDetected.ftl +++ b/RFXtoRP_HsrPro_ExecutionflowDetected.ftl @@ -17,7 +17,21 @@ "RefDate": { "DateTime": "${pro_creation_datetime}", "AuthorTimeZone": "${time_zone_rfx}" - } + }, + "CustomFields": [ + { + "Key": "depot", + "Value": "${preparation_order.physical_depot_code?trim?json_string}" + }, + { + "Key": "activite", + "Value": "${preparation_order.activity_code?trim?json_string}" + }, + { + "Key": "do", + "Value": "${preparation_order.originator_code?trim?json_string}" + } + ] }, "Payload": { "CreationDateTime": {