web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Please help with a flow.
Power Automate
Answered

Please help with a flow.

(2) ShareShare
ReportReport
Posted on by 34
I have a form and planner plan connected to a flow in power automate. All fields on the form are mandatory but and the end of the form users can decide if they want to assign a corrective action to somebody through planner. Most of the time they only answer the mandatory questions without adding any corrective actions (Where they need to add a specific action, due date an email, so it can be assigned on planner) so my flow fails all the time.  This hasn't really been an issue until my flow got disabled today due to so many consecutive failures of the flow. My question to you guys is, how do I make these three planner tasks optional on my flow, so if user does not enter any of those, or submits form with blank fields there my flow doesn't crash of gets disable overtime. Please add screenshots, I am new on this, and I may need a lot of clarification to get this fixed.  Thanks a lot!

Action 'Create_a_task_1' failed: The 'inputs.parameters' of workflow operation 'Create_a_task_1' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'body/dueDateTime' is required to be of type 'String/date-time'. The runtime value '""' to be converted doesn't have the expected format 'String/date-time'.
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,978 Moderator on at
    Hi,
     
    What I am not clear on is, do you have 3 separate fields and each one represents whether they create Task, Create Task 1 or Create Task 2?
     
    Can they do all 3? or just 1 or just 2?
     
    I have to guess here which I hate as there are no details and should be.
     
    I would do this and let me explain.
    • Let's assume you have 3 different fields in the Form and depending on if its blank or not, you create Task 1 , 2 and/or 3 as I assume they can do all 3.
    Steps:
    0. Click OFF the new UI, in the Top right corner. The slider, turn it off.
    After you do that
     
    You have a nice set or Parallel Actions you are super close as to what to do.
    But what you are missing, is a Condition action to check if your property is blank or not, which tells you whether you SHOULD run your
    create task and update task details actions.
     
    you are super close
     
    Option A or B for first step.
     
    1a. Above each Create Task action, I want you to Add a Condition. Because we are going to run them all in parallel just like you do.
     
    1b IF the + sign to add an action is NOT available above your current 3 Create Task XX actions, then instead, add the Condition between
    the Create Task and Update Task Details of each parallel path you have
     
    Either way, drag the Corresponding Create Task Action INTO the Yes side of the Condition
    Then drag the Update Task details into the Yes side of each Condition, but below the Create Task.
     
    Now that you have that we need to verify IF you should even do it
     
    So we need each Condition to check if the respective Data is in the Answer. You said you have 3 possible tasks, so you must have 3
    fields that they can fill in and depending on which they fill in you create the task.
     
    So in each Condition do this
    --Click in the left side box of the condition
    --Click on the expression Tab of the popup window
    -----type empty() with no spaces between ( and )
    -----without closing the Popup window I want you to click on the Dynamics Property Tab
    -------now click your mouse between the ( and )
    ----------lastly, scroll down and find the proper Form Answer, that tells if you should create the task or not
    ---------------Remember, that for the left side check if task 1 Form Answer is there, in the middle check if task 2 Form answer is there and then Task 3 form answer
     
    in the middle for ALL of them select is equal to
    in the right side for ALL of them, click in the box, select the Expression Tab again, and type true (just the word true) and click OK
     
    Now you are done.
    If they fill in Task 1 and 3 form answers, you only create 1 and 3 and 2 wont try etc
     
     
     
     
     
     
     
     
     
     
  • JA-01101545-0 Profile Picture
    34 on at
    Thanks!!!!!!!! You did a great job explaining this and I was able to get this flow going!
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard