web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a task when a u...
Power Automate
Unanswered

Create a task when a user story is created, custom field help

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm fairly new to the Power Automate world, and I need some help. I'm currently working on a project that is Agile heavy and the work is tracked via AzDO (Azure DevOps). I created a flow that is triggered when a User Story is created. The trigger then checks the conditions and if successful will create two tasks that are linked to the User Story as Hierchy-Reverse. There are a couple of custom fields that I would like to add as Dynamic Content, in the Other Field for the work item creation. I ran into this error and I don't know how to convert Int format to Object.

"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'workItem' validation failed in workflow operation 'Create_a_work_item': The parameter with value '"@triggerOutputs()?['body/fields/Custom_MOTSID']"' in path 'workItem/userEnteredFields' with type/format 'Integer/int32' is not convertible to type/format 'Object'.'."

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @blackstorm87 

     

    Could you please post a screenshot of your flow and the run history details.

     

    Thanks

  • blackstorm87 Profile Picture
    Microsoft Employee on at

    Can we take this conversation offline? There is customer data in the flow that I'm not at liberty to post in an open forum.

  • Verified answer
    blackstorm87 Profile Picture
    Microsoft Employee on at

    So, I figured out what the issue was. Turns out for custom fields you need to use JSON to define the dynamic content. For example:

    { "custom.<name of custom field>" : <Dynamic Content Here>}

    or, another way of doing the same thing is direct

     

    { "Name of Custom Field" : <Dynamic Content Here>}

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard