I have a Flow that's linked to a Power App, that's linked to a SPO list. When a user submits a form to this SPO list, it creates a task in planner. The planner task creation works pretty well, but I'm trying to avoid creating multiple levels of conditional controls that would allow me to select the planner bucket (five of them) based on the user's submission.
So what i did was to grab the IDs of each bucket from MS Graph and added them to variables
then I tried creating an expression in the Bucket ID field of the "Planner Create Task" control, this si a small test I attempted with two possible options
if(triggerOutputs()?['body/FeedbackType/Value']="Communications",variables('Communications Bucket'),if(triggerOutputs()?['body/FeedbackChannel/Value']="Programs",variables('Programs Bucket')))
when i try to submit this is just says expression is invalid.
Hello @kilaj1 ,
you must use equals(A, B) expression instead of = character.
if(equals(triggerOutputs()?['body/FeedbackType/Value'], 'Communications'),variables('Communications Bucket'),if(equals(triggerOutputs()?['body/FeedbackChannel/Value'], 'Programs'), variables('Programs Bucket'), '...'))
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492