HI all,
I want extract some words from a sentence in a dynamic content. I want the red mark part. How can I write a expression?
Need help!
Thank you!
if(contains(body('Get_response_details')?['rfcba5c96bb8449d08e4113dafeefdec6'],'Yes'),
if(contains(body('Get_response_details')?['r48bcc43dcc07476887bc1b1fa1b0d04d'],'All Jobs'),
concat(
'Please add the user to the following AD Groups:',
'</br>',
'</br>G_OP01_DataSets_V
</br>G_OP02_ProjectManagers_V',
'</br>',
body('Get_response_details')?['r2c401034da3c4bc1ab629df00484cd1e']
),
Concat(
'Please add the user to the following AD Groups:',
'</br>',
'</br>',
'G_OP01_DataSets_V',
'</br>',
'</br>G_OP02_ProjectManagers_V',
'</br>',
'</br>Please configure JDE to allow access to the following job(s):',
'</br>',
body('Get_response_details')?['r508fc54d1c704f2bb3e848d80c1a8b7e'],
'</br>',
'</br>',
body('Get_response_details')?['r2c401034da3c4bc1ab629df00484cd1e']
)
)
, concat(
'Please add the user to the following AD Groups:',
'</br>',
'</br>',
body('Get_response_details')?['r2c401034da3c4bc1ab629df00484cd1e'])
)
Hi,
My goal is to extract
G_OP03_Non-OPS Jobs_V
G_OP04_Labour_V
G_OP05_Safety_V
from:
["OP03 - Non-OPS Jobs - Sample job data for training (G_OP03_Non-OPS Jobs_V)","OP04 - Labour - Labour Rates and more detailed labour reporting (G_OP04_Labour_V)","OP05 - Safety - Detailed safety reporting (G_OP05_Safety_V)"]
Do I have to use match expression?
Thank you!
@Anonymous
Is your data coming from Forms?
Is the data that you want to extract hard-coded into the question?
Generally speaking, it is easier to use a split() expression.
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional