cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dltran7
New Member

MS Forms with branching. Getting responses from the form and creating list items in SPO. Date field branching issue!!

The branching part is the issue. When it doesn't need to branch out, the date field is set via initializing and setting the variable. This works great but when branches out and leaves the date/time column blank, I get this error: 

Unable to process template language expressions in action 'Set_DateDeath_variable' inputs at line '0' and column '0': 'In function 'formatDateTime', the value provided for date time string '' was not valid. The datetime string must match ISO 8601 format.'.

 

I have a condition setup like this: 

If date field is equal to null

Dltran7_0-1644517610127.png

If Yes, it will use this expression from a Compose data operator with expression below:

if(empty(outputs('Compose')),null,outputs('Compose'))

If No, it doesn't branch out and displays the date field. 

 

I am stuck here. Any help is greatly appreciated. Thank you!!

0 REPLIES 0

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,292)