Hi, I am trying to concat two lookup field values(Group number + dosimeter type) in name field, how should I do that, please advise.
Hi @Anonymous
Check the run history of the flow after retrieving the record. See below here I am getting Get a rows by Id. Then look the run history to see the text something similar Display.V1.FormattedValue.
outputs('Get_a_row_by_ID')?['body/_yourcolumnsnamehere_value@OData.Community.Display.V1.FormattedValue']
Add a compose and add the above as an expression. Do the same for the other column as well.
Finally you can use the output of both to use the concat() expression to get the text you want.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogIn the Dynamic content look for the lookup field reference ending with Value. For example for Country lookup to the Countries list, you should look for 'Country Value'. So in your case there should be a Dynamic Content reference for 'Group Value' and 'Dosimeter Type Value'.
Hi @JPMHuls & @Anonymous
My answer was based on D365 lookup not SharePoint.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @abm,
I tried to add two Composes for each field using your below format and return a flow checker.
outputs('Get_a_row_by_ID')?['body/_yourcolumnsnamehere_value@OData.Community.Display.V1.FormattedValue']
Hi @uypham
Looks like you copied my expression. Here your trigger step you need to reference. You need to reference
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @abm ,
There is no error after changing two compose to @triggerOutputs()?
For the final step, I add an "Update a row" action and concat two compose field, but nothing is showing on the Name field.
Hi @uypham
Could you post a screenshot of your compose mapping expressions?
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @abm
Below is the compose expression:
- Event: triggerOutputs()?['body/_new_event_eventrole_value@OData.Community.Display.V1.FormattedValue']
- Role: triggerOutputs()?['body/_new_eventrole_role_value@OData.Community.Display.V1.FormattedValue']
Name: concat(outputs('Event'),outputs('Role'))
Hi @uypham
Thanks for the screenshot. Did you checked the run history? Check each steps? Also check your email? I have sent you a request earlier.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogUser | Count |
---|---|
88 | |
37 | |
26 | |
13 | |
13 |
User | Count |
---|---|
127 | |
54 | |
38 | |
24 | |
21 |