cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CMHants
Level: Powered On

HTML Body to String for use in search for users

Hi All,

 

So I'm triggering  flow using a HTTP push request made by a chatbot. the chatbot uses flow to send an email to the users manager letting them know they are off sick. Flow seemed to be a simpler solution than having to code chatbot dialogue. 

 

The issue i have is that when I hit the flow from the BOT I pass in the user principle name but I get all of the UTF8 characters, which dont work with seach for users. Is there a kooky bit of workflow definition that I could use to remove the UTF8 , only leaving the user ID to pass to search for users

 

the flow is this with the issue shown below  - many thanks for any advice you could offer

FLOW - ENDPOINT PRE RUN.PNGFLOW FAILED.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
CMHants
Level: Powered On

Re: HTML Body to String for use in search for users

Hi All

 

I've solved this one myself. I used variables and then parsed these  into an array, after that just added further variables and the array  position to extract the required info from the request body 

View solution in original post

2 REPLIES 2
dougallen
Level: Powered On

Re: HTML Body to String for use in search for users

@CMHants,

 

Are you saying that the text ITCSCJ is the actual username?  I would think you could use a combination or one of the string functions to get the data you want (REPLACE, SUBSTRING, etc).  Can you paste the whole output?  

Highlighted
CMHants
Level: Powered On

Re: HTML Body to String for use in search for users

Hi All

 

I've solved this one myself. I used variables and then parsed these  into an array, after that just added further variables and the array  position to extract the required info from the request body 

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 423 members 5,471 guests
Please welcome our newest community members: