Skip to main content

Notifications

Community site session details

Community site session details

Session Id : WMN9Z717s5X56onCg1St9o
Power Automate - Building Flows
Unanswered

Insert Dynamic content selection not passing data on execution

Like (1) ShareShare
ReportReport
Posted on 16 Apr 2025 19:55:21 by
In the flow below, some updates to target fields work when previous step inputs are used and some do not.
Green - works fine, yellow - no updates/no errors.
Where the updates in yellow do not work, if I replace with "test in quotes", this does work, validating that the target is correct.
I used / to Insert Dynamic content and selected desired data to transfer from the Dialogue box presenting fields from work items in previous steps
 
Do I need to edit default syntax for this to work?  
 
{
  "type": "OpenApiConnection",
  "inputs": {
    "parameters": {
      "account": "bentleycs",
      "project": "APM",
      "type": "Bug",
      "workItem/title": "@triggerOutputs()?['body/fields/System_Title']",
      "workItem/description": "<p class=\"editor-paragraph\"><br></p>",
      "workItem/iteration": "APM",
      "workItem/area": "APM\\Pending Review",
      "workItem/linkUrl": "@triggerOutputs()?['body/url']",
      "workItem/linkType": "Dependency-forward",
      "workItem/userEnteredFields": {
        "APMScrum.Customer": "@{triggerOutputs()?['body/fields']?['fields/Custom_AccountandUserName']}",
        "APMScrum.ServiceRequest": "@{triggerOutputs()?['body/fields']?['fields/Custom_ServiceNowCaseID']}"
      },
      "workItem/dynamicFields/Microsoft.VSTS.TCM.ReproSteps": "@triggerOutputs()?['body/fields']?['fields/System_Description']",
      "workItem/dynamicFields/System.State": "New"
    },
    "host": {
      "apiId": "/providers/Microsoft.PowerApps/apis/shared_visualstudioteamservices",
      "connection": "shared_visualstudioteamservices",
      "operationId": "CreateWorkItem"
    }
  },
  "runAfter": {
    "Condition": [
      "Succeeded"
    ]
  },
  "metadata": {
    "operationMetadataId": "ab543611-becf-4d73-b994-22678fa94ea8"
  }
}
 
Thank you.
  • ronaldwalcott Profile Picture
    3,653 on 17 Apr 2025 at 04:53:40
    Insert Dynamic content selection not passing data on execution
    Would need to see the outputs in order to determine the validity of these items @{triggerOutputs()?['body/fields']?['fields/Custom_AccountandUserName']}

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 140 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 138 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 125

Overall leaderboard
Loading started
Loading complete