cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CDabruck
Frequent Visitor

Planner - Can't copy categories

Hello everyone,

 

I have a simple task -> copy the categories from one Planner Task to another.


But I can't get it to run. The item , for example items('Auf_alle_anwenden_2')?['appliedCategories/category6'] should contain true or false but PA is giving me true or blank which seems to send my flow into timeout.

 

I normally would do it like this:

CDabruck_0-1649347559293.png

 

But it just timeouts. I can't even use the elements in expressions. For example empty(items('Auf_alle_anwenden_2')?['appliedCategories/category6']) would work (but gives me true when I need false) but if(empty(items('Auf_alle_anwenden_2')?['appliedCategories/category6']), true, 'false', 'true') wouldn't. 

 

I can't even use those expressions to debug as it timeouts:

CDabruck_1-1649347854056.png

 

I would really appreciate some help, thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
CDabruck
Frequent Visitor

I made it work using Coalesce:

 

Coalesce(items('Auf_alle_anwenden_2')?['appliedCategories/category18'], 'false')

View solution in original post

1 REPLY 1
CDabruck
Frequent Visitor

I made it work using Coalesce:

 

Coalesce(items('Auf_alle_anwenden_2')?['appliedCategories/category18'], 'false')

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (2,728)