Skip to main content

Notifications

Community site session details

Community site session details

Session Id : CJvrPdPeqNJp52aIryC9Fa
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,569 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started