jeffhollan / LogicAppTemplateCreator

Script to convert Logic Apps into templates for deployment
MIT License
144 stars 74 forks source link

legalEntity from D365 F&O trigger should be parameterized #101

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hi!

When extracting a logic app triggered by the D365 Fin&Ops connector, there's a parameter called LegalEntity. This is not parameterized upon extraction:


          "triggers": {
            "When_a_Business_Event_occurs": {
              "type": "ApiConnectionWebhook",
              "inputs": {
                "body": {
                  "NotificationUrl": "@{listCallbackUrl()}"
                },
                "host": {
                  "connection": {
                    "name": "@parameters('$connections')['dynamicsax']['connectionId']"
                  }
                },
                "path": "my_path_is_here",
                "queries": {
                  "businesseventcategory": "Alerts",
                  "legalEntity": "<THIS_PARAMETER>"
                }
              }
            }

What I refer to is the property marked with "".

This also applies to the "List all items in table"-actions and such, where Odata filter is applied using a pre-defined parameter. It would be extremely useful to be able to parameterize these, since it would make it possible to dynamically set filters during deploy.

Cheers!

MLogdberg commented 3 years ago

This should be solved, closing therefore and open again if you find issues.