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

Planner completion date is null

My tasks are dependent on each other i.e. the completion date of a task will be start date of new task. But, the completion date is null, hence my flow fails. Can anybody help me with this issue?

 

Error message: Unable to process template language expressions in action 'Create_task_for_Accounting_-_Generate_Invoice' inputs at line '1' and column '2868': 'The template language function 'formatDateTime' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#formatdatetime for usage details.'. 

1 ACCEPTED SOLUTION

Accepted Solutions

 

Hi @Adi1607 ,

 

If so, you need to use Condition to check if the completed time is empty. Configure Create task action in If yes/if no branch, if the completed time is empty, then Start Date Time in Create task action in IF yes branch The field is set to blank.

 

Because we could not fill null or '' in Start Date Time field. This is the workaround I can provide currently.

 

Best Regards,

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

View solution in original post

5 REPLIES 5
ScottShearer
Super User
Super User

@Adi1607 

Can you post a screen shot of your Flow?  That will make it much easier for those who would like to assist.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
v-bacao-msft
Community Support
Community Support

 

Hi @Adi1607 ,

 

Maybe you could use Filter array to exclude the tasks that the Completed time is null.

94.PNG

 

Best Regards,

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

Adi1607_0-1592842296388.png

 

Please see the above screenshot for your reference.

 

Hi 

 

 

Hi @Adi1607 ,

 

If so, you need to use Condition to check if the completed time is empty. Configure Create task action in If yes/if no branch, if the completed time is empty, then Start Date Time in Create task action in IF yes branch The field is set to blank.

 

Because we could not fill null or '' in Start Date Time field. This is the workaround I can provide currently.

 

Best Regards,

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

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.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (5,824)