cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SanjayaP
Level: Powered On

Create a Planner Task when Project task created - Can't get the Assignee ID

Dear Team,

I am trying to create a Planner Task when Project task created. All works despite Task Assignee is not poissible. 

Task is created whenn flow runs. But can't assign the assignee. 

Task created body I don't see any parameters for assignees. Any idea?

Thanks a lot for a support in advance!!

 

Capture.PNGCapture2.PNG

9 REPLIES 9
Community Support Team
Community Support Team

Re: Create a Planner Task when Project task created - Can't get the Assignee ID

Hi @SanjayaP,

 

I have tested on my side to add the assigned user Ids into the bar and run the Flow, but not find the same issue.

You can refer to my configuration to create your Flow:

Annotation 2019-10-22 110556.png

Run result:Annotation 2019-10-22 110301.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

SanjayaP
Level: Powered On

Re: Create a Planner Task when Project task created - Can't get the Assignee ID

Many thanks for reply. Yes, when craete new task in Planner works for me as well. But I am creating new Taks in Project online and flow should create a new task in Planner. Can you please check if this is also work for you ?

 

Thanks for support!!!

Community Support Team
Community Support Team

Re: Create a Planner Task when Project task created - Can't get the Assignee ID

Hi @SanjayaP,

 

Sorry, I cannot use the Project online to test, because we did not purchase its subscription.

Could you provide the completed output of trigger? Is there a field related to the assigned email?

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SanjayaP
Level: Powered On

Re: Create a Planner Task when Project task created - Can't get the Assignee ID

Here it is 

 

{
"ProjectId": "57a113d7-96f",
"TaskId": "e21e6abb-96f4-e911b",
"ParentTaskId": "2c2cd09e-96f4-e341a0b",
"ParentTaskName": "M",
"ProjectName": "M",
"TaskActualCost": "0.000000",
"TaskActualDuration": "0.000000",
"TaskActualFinishDate": null,
"TaskActualFixedCost": "0.000000",
"TaskActualOvertimeCost": "0.000000",
"TaskActualOvertimeWork": "0.000000",
"TaskActualRegularCost": "0.000000",
"TaskActualRegularWork": "0.000000",
"TaskActualStartDate": null,
"TaskActualWork": "0.000000",
"TaskACWP": "0.000000",
"TaskBCWP": "0.000000",
"TaskBCWS": "0.000000",
"TaskBudgetCost": "0.000000",
"TaskBudgetWork": "0.000000",
"TaskClientUniqueId": 1,
"TaskCost": "0.000000",
"TaskCostVariance": "0.000000",
"TaskCPI": "0.000000",
"TaskCreatedDate": "2019-10-22T06:40:35.8",
"TaskCreatedRevisionCounter": 1,
"TaskCV": "0.000000",
"TaskCVP": "0.0000000000000",
"TaskDeadline": null,
"TaskDeliverableFinishDate": null,
"TaskDeliverableStartDate": null,
"TaskDuration": "120.000000",
"TaskDurationIsEstimated": false,
"TaskDurationString": null,
"TaskDurationVariance": "120.000000",
"TaskEAC": "0.000000",
"TaskEarlyFinish": "2019-11-11T17:00:00",
"TaskEarlyStart": "2019-10-22T08:00:00",
"TaskFinishDate": "2019-11-11T17:00:00",
"TaskFinishDateString": null,
"TaskFinishVariance": "0.000000",
"TaskFixedCost": "0.000000",
"TaskFixedCostAssignmentId": "e5423b61-c6fc-4a98-afd9-149357732d70",
"TaskFreeSlack": "0.000000",
"TaskHyperLinkAddress": null,
"TaskHyperLinkFriendlyName": null,
"TaskHyperLinkSubAddress": null,
"TaskIgnoresResourceCalendar": false,
"TaskIndex": 1,
"TaskIsActive": true,
"TaskIsCritical": true,
"TaskIsEffortDriven": false,
"TaskIsExternal": false,
"TaskIsManuallyScheduled": false,
"TaskIsMarked": false,
"TaskIsMilestone": false,
"TaskIsOverallocated": false,
"TaskIsProjectSummary": false,
"TaskIsRecurring": false,
"TaskIsSummary": false,
"TaskLateFinish": "2019-11-11T17:00:00",
"TaskLateStart": "2019-10-22T08:00:00",
"TaskLevelingDelay": "0.000000",
"TaskModifiedDate": "2019-10-22T06:40:35.8",
"TaskModifiedRevisionCounter": 1,
"TaskName": "test",
"TaskOutlineLevel": 1,
"TaskOutlineNumber": "1",
"TaskOvertimeCost": "0.000000",
"TaskOvertimeWork": "0.000000",
"TaskPercentCompleted": 0,
"TaskPercentWorkCompleted": 0,
"TaskPhysicalPercentCompleted": 0,
"TaskPriority": 500,
"TaskRegularCost": "0.000000",
"TaskRegularWork": "120.000000",
"TaskRemainingCost": "0.000000",
"TaskRemainingDuration": "120.000000",
"TaskRemainingOvertimeCost": "0.000000",
"TaskRemainingOvertimeWork": "0.000000",
"TaskRemainingRegularCost": "0.000000",
"TaskRemainingRegularWork": "120.000000",
"TaskRemainingWork": "120.000000",
"TaskResourcePlanWork": "0.000000",
"TaskSPI": "0.000000",
"TaskStartDate": "2019-10-22T08:00:00",
"TaskStartDateString": null,
"TaskStartVariance": "0.000000",
"TaskStatusManagerUID": "25da77fa-d8e6-e911-b098-00155d14ae12",
"TaskSV": "0.000000",
"TaskSVP": "0.0000000000000",
"TaskTCPI": "0.000000",
"TaskTotalSlack": "0.000000",
"TaskVAC": "0.000000",
"TaskWBS": "1",
"TaskWork": "120.000000",
"TaskWorkVariance": "120.000000",
"FlagStatus": null,
"Health": "Not Specified"
}
Community Support Team
Community Support Team

Re: Create a Planner Task when Project task created - Can't get the Assignee ID

Hi @SanjayaP,

 

I noticed that there is a "TaskFixedCostAssignmentId""e5423b61-c6fc-4a98-afd9-149357732d70", you can use the Compose to get the value with expression: triggerBody()?['TaskFixedCostAssignmentId']Annotation 2019-10-23 164313.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SanjayaP
Level: Powered On

Re: Create a Planner Task when Project task created - Can't get the Assignee ID

Hi Thanks for reply!!

 

I try to do this. But it only get the id as a out put. Then IU tried to use Search for user but it can't search user to this ID. DO you have any idea hoe to retreve the user from 365 Users database with this TaskFixedCostAssignmentId.

 

Thanks  a lot in advance for the reply. 

 

Best regards,
Sanjaya

 

Community Support Team
Community Support Team

Re: Create a Planner Task when Project task created - Can't get the Assignee ID

Hi @SanjayaP,

 

If the TaskFixedCostAssignmentId is Unique identifier of user, you can use the Get user action of Azure AD connector. Annotation 2019-10-29 173213.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SanjayaP
Level: Powered On

Re: Create a Planner Task when Project task created - Can't get the Assignee ID

Thanks for the tipp, unfortunately my organisation's privacy settings don't allow me to use this. Do we have anything this kind of from Microsoft? Really appreciated your support!!!

Community Support Team
Community Support Team

Re: Create a Planner Task when Project task created - Can't get the Assignee ID

Hi @SanjayaP,

 

If you have no permission to get other user profiles, you should connect with your organization to get it. Or there is no other way could do it.

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 465 members 5,904 guests
Recent signins:
Please welcome our newest community members: