Hi All
Hope everyone ok during this difficult time!
Ok i have an issue that i can't resolve
i have a flow that updates a sharepoint list with using the office365 user connector.
i then do a second get item to gather a text string from a field populated by the O365 user connector where i need to split the text string which would look like this
one two three - red
I am using a compose expression to split the string here is my code
Solved! Go to Solution.
ohhh @gazzo1967 from your output just do this first(split(YOUR OUTPUT COMPOSE,'-')) to get Landiwood fire station or last(split(YOUR OUTPUT COMPOSE,'-')) to get red
Proud to be a Flownaut!
hi @gazzo1967 I recomend you to add a compose with the value of person location and then another to split the output compose, try this.
Proud to be a Flownaut!
Thank you for replying
i am using a Compose
but it not 'seeing' the field.
So i cant understand why not working
Gary
could you share a complete screanshot @gazzo1967 ?
Proud to be a Flownaut!
@gazzo1967 what I'll do is use parse json to get all the data in Get Item, and then use compose to see if I have someting in the value parsered into a compose.
See an example of how can you can use parse json.
Proud to be a Flownaut!
Again thank you for your help :0)
I have tested my first compose and that works now adding the Json
What do i add to the parse Json Schema?
Hi @gazzo1967
Make sure you have some data in that field. If no data in that field that means ODATA don't show the schema name.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blog@ChristianAbata
Sorry i think i communicated that wrong 😞
I don't know what to put into the Parse Json Schema
Thanks for the Kudos but not deserved
@gazzo1967 firs you need to get the output from getItem an then copy that output and create ParseJson, and in create Generate schema paste the GetItemOutput
Proud to be a Flownaut!
ohhh @gazzo1967 from your output just do this first(split(YOUR OUTPUT COMPOSE,'-')) to get Landiwood fire station or last(split(YOUR OUTPUT COMPOSE,'-')) to get red
Proud to be a Flownaut!
Im sorry.
i found my mistake!
the expression should be
last(split(outputs('location'),'-'))
Thank you for your help 🙂
Gary
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
26 | |
25 | |
24 | |
22 | |
18 |
User | Count |
---|---|
58 | |
41 | |
36 | |
30 | |
30 |