Hey everyone,
Hope someone can help me figure out this issue. I have a Conditional branch that puts an item in one Planner bucket or the other depending on a variable.
The 'Yes' and 'No' branch then converge to one common 'Update Task' where other details from the Forms are added in.
The issue I have is that when the 'No' branch is executed, the Planner 'Id' is 'null' when the 'Update task detail' step is executed.
When troubleshooting, I inserted an Email action within the 'No' condition and could confirm that the 'Id' is indeed generated.
The 'Create task' is successful on the 'Yes' and 'No' branches.
The 'Update task detail' only fails on the 'No' branch due to the 'null' Planner Id. No such issue when the 'Yes' branch is executed.
Am I doing something wrong?
@naveensoman yes because it is trying to read from create take action in the yes branch
@Mira_Ghaly : The 'Create Task' is executed and an Id is generated on the 'No' branch. When the 'Update' task is run, the value of 'Id' is 'null' though for some reason.
Because Id comes from the Create Task of the previous step ..?
SO you define a variable and set it to the Id and use the Id in the Update Task instead
Thanks Mira. I definitely plan to use that as a workaround, but why is the Id not being passed down the 'No' branch? Since the task is being created successfully and the 'Update' task is being run, the Id should have been passed down as well. Is this a bug?
I definitely would have tried your approach if the 'No' branch terminated and the 'Update' task wasn't executed.
I believe you need to add the update task details under both branches and make sure you pass the planner Id from the relevant create task , it works for yes because you are passing the ID of the Create Task in the Yes Branch.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2