What release of Cloverleaf?
I am going to assume 5.6 or later (because that is what I have this working on).
First –
If you are converting an HL/7 to X12 you will need to provide the X12 envelope fields in the message USERDATA via a Tcl proc.
I have a proc that does that. Email me and I will send it to you.
You then will use a provided Tcl proc to build the envelope.
For the HTTPS protocol – are you doing a Post?
In any case, I think (I know for post) you will need to specify a Tcl proc in the HTTPS protocol definition. There is a Cloverleaf provided proc which may serve your purposes – it did not for us.
By the way is this for the UHC 278 project?
Again email me and I will try to get you through this.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.