question

MikaelGlentoft-5460 avatar image
2 Votes"
MikaelGlentoft-5460 asked MikaelGlentoft-5460 commented

Edifact "Encode to edifact message by identities" require sender and receiver qualifier

Hi

I have a pretty straightforward edifact flow where I use the built-in edifact encode and decode actions in Logic App.
Some of our partners have multiple identities (i.e. factories), so we need to use the "Encode to edifact message by identities".

Basically, the partner profiles in the integration account contain multiple business identites

 "businessIdentities": [
     {
         "qualifier": "ZZ",
         "value": "372051318"
     },
     {
         "qualifier": "ZZ",
         "value": "372051319"
     },
     {
         "qualifier": "ZZ",
         "value": "372051320"
     },
     {
         "qualifier": "ZZ",
         "value": "372051321"
     }

However, it trows an error unless I specify the qualifiers (even though they are optional).

No agreement found with Agreement Resolution Parameters (AgreementName: not specified, SenderPartnerName: not specified, SenderQualifier: not specified, SenderIdentifier 372051318, ReceiverPartnerName: not specified, ReceiverQualifier not specified, ReceiverIdentifier: AN01644562473-T)

It sounds a bit weird being forced to store the qualifiers for all partners in a separate table just to be able to encode the message.


Br
Mike

azure-logic-apps
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MikaelGlentoft-5460 - Can you try switching to Json view and provide empty qualifiers?

0 Votes 0 ·

Hey @MikaelGlentoft-5460 Just following up, were you able to resolve this issue?

0 Votes 0 ·

Hi @MikeUrnun

Thanks for your reply.

I removed the qualifiers from the agreement and then I could encode using identifies.
However, if doing that then the decode action fails instead with the following error:

"errorMessage": "No agreement found with Agreement Resolution Parameters (AgreementName: not specified, SenderPartnerName: not specified, SenderQualifier: ZZ, SenderIdentifier XXXXX, ReceiverPartnerName: not specified, ReceiverQualifier ZZ, ReceiverIdentifier: YYYYY)

0 Votes 0 ·
MikeUrnun avatar image MikeUrnun MikaelGlentoft-5460 ·

Hi @MikaelGlentoft-5460 - Have you tried keeping the qualifiers as-is but with empty values?

0 Votes 0 ·

HI @MikeUrnun

Yes, if I leave them empty the encode action fails.
No agreement found with Agreement Resolution Parameters (AgreementName: not specified, SenderPartnerName: not specified, SenderQualifier: not specified, SenderIdentifier XXXXXXXX, ReceiverPartnerName: not specified, ReceiverQualifier not specified, ReceiverIdentifier: XXXXXXXX)


If I remove the all together, the encode works but decode fails.

0 Votes 0 ·

0 Answers