cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Highlighted
Helper I
Helper I

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

@Anonymous,

 

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
Anonymous
Not applicable

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 Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (5,627)