cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jakson
Resolver I
Resolver I

Take Forms response data and send to To-Do as new To-Do task

I need some advice in addition to some advisory statements about what to do the right way.

 

I have a Form that collects data from coworkers at my agency. We're gonna use it almost daily and one of the little straggling features my boss really wants is for our employees to be able to add To-Do items directly from the Form. They sit down, crack out some data, then they realize they need to remember a task for later in the week. Rather than manually entering the task in To-Do or their Outlook client, it'd be great for them to just type out the To-Do item and then have it magically appear in their Do-List later.

 

My boss specified one condition that must be met is for our employees to be able to enter several To-Do items simultaneously. To achieve this from Forms we've designated the semicolon ";" as a special character to delimit a new item. I've found that PA offers connectivity to To-Do and even allows you to pluck out strings that your user has input into a Forms response.

 

I'm stuck navigating my way through a raw unbroken string containing several special characters and converting it to several individual delimited strings ending with ";".

 

In effect, go from "Get Signatures for Doc; Write Application notes; Get coffee;..."

to "Get signatures for Doc" - "Write Application notes" - "Get coffee"...

 

My first assumption was to attempt to split the string on the delimiter character but I couldn't find a string split method. LOL.

 

Guidance is much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
fchopo
Super User
Super User

Hello @Jakson 

You could use the split function to create an array, and for each item, add it to the to-do list:

survey-to-do.png

 

Where (outputs('Get_response_details')?['body/r625d496d372b4e1495ef5c9e62b29a1c') is the survey forms field you're getting information from.

Hope it helps!
Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

3 REPLIES 3
fchopo
Super User
Super User

Hello @Jakson 

You could use the split function to create an array, and for each item, add it to the to-do list:

survey-to-do.png

 

Where (outputs('Get_response_details')?['body/r625d496d372b4e1495ef5c9e62b29a1c') is the survey forms field you're getting information from.

Hope it helps!
Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Exquisite!

 

Thank you thank you!!

 

I'll give this a whirl and see what I end up with!

Hey, @fchopo 

 

It appears your flow design works!

 

Unfortunately, Power Automate is currently lacking my desired means of pushing these To-Do tasks to a separate user's Task List. Arg!

 

Thank you tremendously for your assistance regardless!

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 (2,952)